]> git.pld-linux.org Git - packages/samba.git/commitdiff
- hacked together samba-devel for building samba-pdbsql
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 25 Jul 2006 09:02:11 +0000 (09:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    samba.spec -> 1.327

samba.spec

index eee0e49f371468fc0ecdadad06a015312d0586d1..c5cc969751783a148ba450580e0e2eb7cd9d4679 100644 (file)
@@ -33,7 +33,7 @@ Summary(uk):  SMB 
 Summary(zh_CN):        Samba ¿Í»§¶ËºÍ·þÎñÆ÷
 Name:          samba
 Version:       3.0.23a
-Release:       0.2
+Release:       0.4
 Epoch:         1
 License:       GPL v2
 Group:         Networking/Daemons
@@ -469,6 +469,13 @@ Static libsmbclient library.
 %description -n libsmbclient-static -l pl
 Statyczna biblioteka libsmbclient.
 
+%package devel
+Summary:       Header files for Samba
+Group:         Development/Libraries
+
+%description devel
+Header files for Samba.
+
 %package -n smbget
 Summary:       A utility for retrieving files using the SMB protocol
 Summary(pl):   Narzêdzie do pobierania plików protoko³em SMB
@@ -1037,6 +1044,13 @@ ln -s libmsrpc.so.0 $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
 
 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
 
+# these are needed to build samba-pdbsql
+install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{smbwrapper,tdb,nsswitch}
+cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a source/smbwrapper/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a source/tdb/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+
 # vscan modules
 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
 install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
@@ -1301,6 +1315,10 @@ fi
 %{_includedir}/libmsrpc.h
 %{_includedir}/libsmbclient.h
 
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+
 %files -n libsmbclient-static
 %defattr(644,root,root,755)
 %{_libdir}/libmsrpc.a
This page took 0.160158 seconds and 4 git commands to generate.