View | Details | Raw Unified | Return to bug 33118
Collapse All | Expand All

(-)a/samba4.spec (-11 / +43 lines)
Lines 20-26 Link Here
20
%def_without libsmbclient
20
%def_without libsmbclient
21
%def_with libwbclient
21
%def_with libwbclient
22
%def_without libnetapi
22
%def_without libnetapi
23
%def_with docs
23
%def_with doc
24
24
25
%def_with dc
25
%def_with dc
26
%def_without ntvfs
26
%def_without ntvfs
Lines 46-52 Link Here
46
46
47
Name:    samba-DC
47
Name:    samba-DC
48
Version: 4.5.5
48
Version: 4.5.5
49
Release: alt1%ubt
49
Release: alt1.1%ubt
50
50
51
Group:   System/Servers
51
Group:   System/Servers
52
Summary: Samba Active Directory Domain Controller
52
Summary: Samba Active Directory Domain Controller
Lines 117-123 BuildConflicts: setproctitle-devel Link Here
117
BuildRequires: libiniparser-devel
117
BuildRequires: libiniparser-devel
118
BuildRequires: libcups-devel
118
BuildRequires: libcups-devel
119
BuildRequires: gawk libgtk+2-devel libcap-devel libuuid-devel
119
BuildRequires: gawk libgtk+2-devel libcap-devel libuuid-devel
120
BuildRequires: inkscape libxslt xsltproc netpbm dblatex html2text docbook-style-xsl
120
%{?_with_doc:BuildRequires: inkscape libxslt xsltproc netpbm dblatex html2text docbook-style-xsl}
121
%{?_without_talloc:BuildRequires: libtalloc-devel >= 2.1.8 libpytalloc-devel}
121
%{?_without_talloc:BuildRequires: libtalloc-devel >= 2.1.8 libpytalloc-devel}
122
%{?_without_tevent:BuildRequires: libtevent-devel >= 0.9.29 python-module-tevent}
122
%{?_without_tevent:BuildRequires: libtevent-devel >= 0.9.29 python-module-tevent}
123
%{?_without_tdb:BuildRequires: libtdb-devel >= 1.3.10  python-module-tdb}
123
%{?_without_tdb:BuildRequires: libtdb-devel >= 1.3.10  python-module-tdb}
Lines 384-390 temporary data it is very easy to convert that application to be cluster aware Link Here
384
and use CTDB instead.
384
and use CTDB instead.
385
%endif
385
%endif
386
386
387
%if_with docs
387
%if_with doc
388
%package doc
388
%package doc
389
Summary: Documentation for the Samba suite
389
Summary: Documentation for the Samba suite
390
Group: Documentation
390
Group: Documentation
Lines 540-546 libsamba_util private headers. Link Here
540
[ -n "$NPROCS" ] || NPROCS=%__nprocs; export JOBS=$NPROCS
540
[ -n "$NPROCS" ] || NPROCS=%__nprocs; export JOBS=$NPROCS
541
%make_build NPROCS=%__nprocs
541
%make_build NPROCS=%__nprocs
542
542
543
%if_with docs
543
%if_with doc
544
pushd docs-xml
544
pushd docs-xml
545
export XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml"
545
export XML_CATALOG_FILES="file:///etc/xml/catalog file://$(pwd)/build/catalog.xml"
546
%autoreconf
546
%autoreconf
Lines 661-667 rm -rf %buildroot%python_sitelibdir/samba/{tests,external/subunit,external/testt Link Here
661
[ "%_libdir" != "%_samba_libdir" ] && mv %buildroot{%_samba_libdir/pkgconfig,%_libdir}
661
[ "%_libdir" != "%_samba_libdir" ] && mv %buildroot{%_samba_libdir/pkgconfig,%_libdir}
662
662
663
# Install documentation
663
# Install documentation
664
%if_with docs
664
%if_with doc
665
mkdir -p %buildroot%_defaultdocdir/%rname/
665
mkdir -p %buildroot%_defaultdocdir/%rname/
666
cp -a docs-xml/output/htmldocs %buildroot%_defaultdocdir/%rname/
666
cp -a docs-xml/output/htmldocs %buildroot%_defaultdocdir/%rname/
667
%endif
667
%endif
Lines 734-744 TDB_NO_FSYNC=1 %make_build test Link Here
734
%attr(1777,root,root) %dir /var/spool/samba
734
%attr(1777,root,root) %dir /var/spool/samba
735
%_sysconfdir/openldap/schema/samba.schema
735
%_sysconfdir/openldap/schema/samba.schema
736
%_sysconfdir/pam.d/samba
736
%_sysconfdir/pam.d/samba
737
%if_with doc
737
%_man1dir/smbstatus.1*
738
%_man1dir/smbstatus.1*
738
%_man8dir/eventlogadm.8*
739
%_man8dir/eventlogadm.8*
739
%_man8dir/smbd.8*
740
%_man8dir/smbd.8*
740
%_man8dir/nmbd.8*
741
%_man8dir/nmbd.8*
741
%_man8dir/vfs_*.8*
742
%_man8dir/vfs_*.8*
743
%endif
742
744
743
%if_with dc
745
%if_with dc
744
%attr(755,root,root) %_initdir/samba
746
%attr(755,root,root) %_initdir/samba
Lines 751-763 TDB_NO_FSYNC=1 %make_build test Link Here
751
%_sbindir/samba_upgradedns
753
%_sbindir/samba_upgradedns
752
%dir /var/lib/samba/sysvol
754
%dir /var/lib/samba/sysvol
753
%_datadir/samba/setup
755
%_datadir/samba/setup
756
%if_with doc
754
%_man8dir/samba.8*
757
%_man8dir/samba.8*
755
%_man8dir/samba-tool.8*
758
%_man8dir/samba-tool.8*
759
%endif #doc
756
%else
760
%else
757
%doc README.dc
761
%doc README.dc
762
%if_with doc
758
%exclude %_man8dir/samba.8*
763
%exclude %_man8dir/samba.8*
759
%exclude %_man8dir/samba-tool.8*
764
%exclude %_man8dir/samba-tool.8*
760
%endif
765
%endif #doc
766
%endif #dc
767
%if_with doc
761
%if_with libcephfs
768
%if_with libcephfs
762
%exclude %_samba_mod_libdir/vfs/ceph.so
769
%exclude %_samba_mod_libdir/vfs/ceph.so
763
%exclude %_man8dir/vfs_ceph.8*
770
%exclude %_man8dir/vfs_ceph.8*
Lines 766-771 TDB_NO_FSYNC=1 %make_build test Link Here
766
%exclude %_samba_mod_libdir/vfs/glusterfs.so
773
%exclude %_samba_mod_libdir/vfs/glusterfs.so
767
%exclude %_man8dir/vfs_glusterfs.8*
774
%exclude %_man8dir/vfs_glusterfs.8*
768
%endif
775
%endif
776
%endif #doc
769
777
770
%files client
778
%files client
771
%_bindir/cifsdd
779
%_bindir/cifsdd
Lines 792-797 TDB_NO_FSYNC=1 %make_build test Link Here
792
%_bindir/smbtree
800
%_bindir/smbtree
793
%_libexecdir/samba/smbspool_krb5_wrapper
801
%_libexecdir/samba/smbspool_krb5_wrapper
794
%{cups_serverbin}/backend/smb
802
%{cups_serverbin}/backend/smb
803
%if_with doc
795
%_man1dir/dbwrap_tool.1*
804
%_man1dir/dbwrap_tool.1*
796
%_man1dir/nmblookup.1*
805
%_man1dir/nmblookup.1*
797
%_man1dir/oLschema2ldif.1*
806
%_man1dir/oLschema2ldif.1*
Lines 816-843 TDB_NO_FSYNC=1 %make_build test Link Here
816
%_man8dir/smbspool_krb5_wrapper.8*
825
%_man8dir/smbspool_krb5_wrapper.8*
817
#_man8dir/smbta-util.8*
826
#_man8dir/smbta-util.8*
818
%_man8dir/cifsdd.8*
827
%_man8dir/cifsdd.8*
828
%endif
819
829
820
%if_with ntdb
830
%if_with ntdb
821
%_bindir/ntdbbackup
831
%_bindir/ntdbbackup
822
%_bindir/ntdbdump
832
%_bindir/ntdbdump
823
%_bindir/ntdbrestore
833
%_bindir/ntdbrestore
824
%_bindir/ntdbtool
834
%_bindir/ntdbtool
835
%if_with doc
825
%_man3dir/ntdb.3*
836
%_man3dir/ntdb.3*
826
%_man8dir/ntdbbackup.8*
837
%_man8dir/ntdbbackup.8*
827
%_man8dir/ntdbdump.8*
838
%_man8dir/ntdbdump.8*
828
%_man8dir/ntdbrestore.8*
839
%_man8dir/ntdbrestore.8*
829
%_man8dir/ntdbtool.8*
840
%_man8dir/ntdbtool.8*
830
%endif
841
%endif #doc
842
%endif #ntdb
831
%if_with tdb
843
%if_with tdb
832
%_bindir/tdbbackup
844
%_bindir/tdbbackup
833
%_bindir/tdbdump
845
%_bindir/tdbdump
834
%_bindir/tdbrestore
846
%_bindir/tdbrestore
835
%_bindir/tdbtool
847
%_bindir/tdbtool
848
%if_with doc
836
%_man8dir/tdbbackup.8*
849
%_man8dir/tdbbackup.8*
837
%_man8dir/tdbdump.8*
850
%_man8dir/tdbdump.8*
838
%_man8dir/tdbrestore.8*
851
%_man8dir/tdbrestore.8*
839
%_man8dir/tdbtool.8*
852
%_man8dir/tdbtool.8*
840
%endif
853
%endif #doc
854
%endif #tdb
841
855
842
%if_with ldb
856
%if_with ldb
843
%_bindir/ldbadd
857
%_bindir/ldbadd
Lines 846-857 TDB_NO_FSYNC=1 %make_build test Link Here
846
%_bindir/ldbmodify
860
%_bindir/ldbmodify
847
%_bindir/ldbrename
861
%_bindir/ldbrename
848
%_bindir/ldbsearch
862
%_bindir/ldbsearch
863
%if_with doc
849
%_man1dir/ldbadd.1*
864
%_man1dir/ldbadd.1*
850
%_man1dir/ldbdel.1*
865
%_man1dir/ldbdel.1*
851
%_man1dir/ldbedit.1*
866
%_man1dir/ldbedit.1*
852
%_man1dir/ldbmodify.1*
867
%_man1dir/ldbmodify.1*
853
%_man1dir/ldbrename.1*
868
%_man1dir/ldbrename.1*
854
%_man1dir/ldbsearch.1*
869
%_man1dir/ldbsearch.1*
870
%endif
855
%_samba_mod_libdir/libldb-cmdline.so
871
%_samba_mod_libdir/libldb-cmdline.so
856
%endif
872
%endif
857
873
Lines 873-878 TDB_NO_FSYNC=1 %make_build test Link Here
873
%config(noreplace) %_sysconfdir/samba/smb.conf
889
%config(noreplace) %_sysconfdir/samba/smb.conf
874
%config(noreplace) %_sysconfdir/samba/lmhosts
890
%config(noreplace) %_sysconfdir/samba/lmhosts
875
%config(noreplace) %_sysconfdir/sysconfig/samba
891
%config(noreplace) %_sysconfdir/sysconfig/samba
892
%if_with doc
876
%_man1dir/profiles.1*
893
%_man1dir/profiles.1*
877
%_man1dir/smbcontrol.1*
894
%_man1dir/smbcontrol.1*
878
%_man1dir/testparm.1*
895
%_man1dir/testparm.1*
Lines 882-887 TDB_NO_FSYNC=1 %make_build test Link Here
882
%_man7dir/samba.7*
899
%_man7dir/samba.7*
883
%_man8dir/net.8*
900
%_man8dir/net.8*
884
%_man8dir/pdbedit.8*
901
%_man8dir/pdbedit.8*
902
%endif
885
903
886
# common libraries
904
# common libraries
887
%_samba_mod_libdir/libpopt-samba3-samba4.so
905
%_samba_mod_libdir/libpopt-samba3-samba4.so
Lines 1149-1162 TDB_NO_FSYNC=1 %make_build test Link Here
1149
1167
1150
%files pidl
1168
%files pidl
1151
%attr(755,root,root) %_bindir/pidl
1169
%attr(755,root,root) %_bindir/pidl
1170
%if_with doc
1152
%_man1dir/pidl.1.*
1171
%_man1dir/pidl.1.*
1153
%_man3dir/Parse::Pidl::*
1172
%_man3dir/Parse::Pidl::*
1173
%endif
1154
%perl_vendor_privlib/*
1174
%perl_vendor_privlib/*
1155
1175
1156
%files -n python-module-%name
1176
%files -n python-module-%name
1157
%python_sitelibdir/*
1177
%python_sitelibdir/*
1158
1178
1159
%if_with docs
1179
%if_with doc
1160
%files doc
1180
%files doc
1161
%doc %_defaultdocdir/%rname/htmldocs
1181
%doc %_defaultdocdir/%rname/htmldocs
1162
%endif
1182
%endif
Lines 1173-1184 TDB_NO_FSYNC=1 %make_build test Link Here
1173
%else
1193
%else
1174
%_samba_mod_libdir/libdsdb-module-samba4.so
1194
%_samba_mod_libdir/libdsdb-module-samba4.so
1175
%endif
1195
%endif
1196
%if_with doc
1176
%_man1dir/gentest.1*
1197
%_man1dir/gentest.1*
1177
%_man1dir/locktest.1*
1198
%_man1dir/locktest.1*
1178
%_man1dir/masktest.1*
1199
%_man1dir/masktest.1*
1179
%_man1dir/ndrdump.1*
1200
%_man1dir/ndrdump.1*
1180
%_man1dir/smbtorture.1*
1201
%_man1dir/smbtorture.1*
1181
%_man1dir/vfstest.1*
1202
%_man1dir/vfstest.1*
1203
%endif
1182
1204
1183
%if_with testsuite
1205
%if_with testsuite
1184
# files to ignore in testsuite mode
1206
# files to ignore in testsuite mode
Lines 1198-1205 TDB_NO_FSYNC=1 %make_build test Link Here
1198
%_unitdir/winbind.service
1220
%_unitdir/winbind.service
1199
%attr(755,root,root) %_initrddir/winbind
1221
%attr(755,root,root) %_initrddir/winbind
1200
%_sysconfdir/NetworkManager/dispatcher.d/30-winbind
1222
%_sysconfdir/NetworkManager/dispatcher.d/30-winbind
1223
%if_with doc
1201
%_man8dir/winbindd.8*
1224
%_man8dir/winbindd.8*
1202
%_man8dir/idmap_*.8*
1225
%_man8dir/idmap_*.8*
1226
%endif
1203
1227
1204
%files winbind-clients
1228
%files winbind-clients
1205
%_bindir/ntlm_auth
1229
%_bindir/ntlm_auth
Lines 1210-1223 TDB_NO_FSYNC=1 %make_build test Link Here
1210
/%_lib/libnss_wins.so.*
1234
/%_lib/libnss_wins.so.*
1211
/%_lib/security/pam_winbind.so
1235
/%_lib/security/pam_winbind.so
1212
%config(noreplace) %_sysconfdir/security/pam_winbind.conf
1236
%config(noreplace) %_sysconfdir/security/pam_winbind.conf
1237
%if_with doc
1213
%_man1dir/ntlm_auth.1.*
1238
%_man1dir/ntlm_auth.1.*
1214
%_man1dir/wbinfo.1*
1239
%_man1dir/wbinfo.1*
1215
%_man5dir/pam_winbind.conf.5*
1240
%_man5dir/pam_winbind.conf.5*
1216
%_man8dir/pam_winbind.8*
1241
%_man8dir/pam_winbind.8*
1242
%endif
1217
1243
1218
%files winbind-krb5-locator
1244
%files winbind-krb5-locator
1219
%_libdir/krb5/plugins/libkrb5/winbind_krb5_locator.so
1245
%_libdir/krb5/plugins/libkrb5/winbind_krb5_locator.so
1246
%if_with doc
1220
%_man7dir/winbind_krb5_locator.7*
1247
%_man7dir/winbind_krb5_locator.7*
1248
%endif #doc
1221
%endif
1249
%endif
1222
1250
1223
%if_with clustering_support
1251
%if_with clustering_support
Lines 1260-1265 TDB_NO_FSYNC=1 %make_build test Link Here
1260
%_libexecdir/ctdb/ctdb_recovery_helper
1288
%_libexecdir/ctdb/ctdb_recovery_helper
1261
%_libexecdir/ctdb/smnotify
1289
%_libexecdir/ctdb/smnotify
1262
1290
1291
%if_with doc
1263
%_man1dir/ctdb.1*
1292
%_man1dir/ctdb.1*
1264
%_man1dir/ctdbd.1*
1293
%_man1dir/ctdbd.1*
1265
%_man1dir/onnode.1*
1294
%_man1dir/onnode.1*
Lines 1271-1276 TDB_NO_FSYNC=1 %make_build test Link Here
1271
%_man7dir/ctdb.7*
1300
%_man7dir/ctdb.7*
1272
%_man7dir/ctdb-tunables.7*
1301
%_man7dir/ctdb-tunables.7*
1273
%_man7dir/ctdb-statistics.7*
1302
%_man7dir/ctdb-statistics.7*
1303
%endif
1274
1304
1275
%files ctdb-tests
1305
%files ctdb-tests
1276
%_libexecdir/ctdb/tests
1306
%_libexecdir/ctdb/tests
Lines 1285-1290 TDB_NO_FSYNC=1 %make_build test Link Here
1285
%_includedir/samba-4.0/private
1315
%_includedir/samba-4.0/private
1286
1316
1287
%changelog
1317
%changelog
1318
* Wed Feb 15 2017 Michael Shigorin <mike@altlinux.org> 4.5.5-alt1.1%ubt
1319
- BOOTSTRAP: renamed docs knob to doc, made it work on BRs and %%files
1320
1288
* Wed Feb 01 2017 Evgeny Sinelnikov <sin@altlinux.ru> 4.5.5-alt1%ubt
1321
* Wed Feb 01 2017 Evgeny Sinelnikov <sin@altlinux.ru> 4.5.5-alt1%ubt
1289
- Update to winter release
1322
- Update to winter release
1290
- Fix PAM winbind problem with access user to keytab
1323
- Fix PAM winbind problem with access user to keytab
1291
- 

Return to bug 33118