Author: pawelz Date: Fri Nov 20 17:25:22 2009 GMT Module: packages Tag: HEAD ---- Log message: - headers subpackage containig all header files. It is needed to build external modules for OpenLDAP.
---- Files affected: packages/openldap: openldap.spec (1.322 -> 1.323) ---- Diffs: ================================================================ Index: packages/openldap/openldap.spec diff -u packages/openldap/openldap.spec:1.322 packages/openldap/openldap.spec:1.323 --- packages/openldap/openldap.spec:1.322 Tue Nov 3 15:22:17 2009 +++ packages/openldap/openldap.spec Fri Nov 20 18:25:17 2009 @@ -236,6 +236,18 @@ Статичні бібліотеки, необхідні для розробки програм, що використовують LDAP. +%package headers +Summary: Development files for building OpenLDAP modules +Summary(pl.UTF-8): Pliki służące do budowania modułów OpenLDAP +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description headers +Header files for developing OpenLDAP modules. + +%description headers -l pl.UTF-8 +Pliki nagłówkowe konieczne do rozwoju modułów OpenLDAP. + %package evolution-devel Summary: LDAP NTLM hack for the evolution-exchange Summary(pl.UTF-8): Hack NTLM dla pakietu evolution-exchange @@ -1213,6 +1225,16 @@ find $RPM_BUILD_ROOT -name \*.la | xargs sed -i -e "s|-L${dbdir}/%{_lib}||g" %endif +# files for -headers subpackage +install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/ac +cp -a include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name} +cp -a include/ac/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/ac + +# remove headers, that are provided by -devel package +for I in $RPM_BUILD_ROOT%{_includedir}/*.h; do + rm $RPM_BUILD_ROOT%{_includedir}/%{name}/$(basename $I) +done + %clean rm -rf $RPM_BUILD_ROOT @@ -1540,6 +1562,10 @@ %{_libdir}/libldap_r.a %{_libdir}/libslapi.a +%files headers +%defattr(644,root,root,755) +%{_includedir}/%{name} + %if %{with exchange} %files evolution-devel %defattr(644,root,root,755) @@ -1822,6 +1848,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.323 2009/11/20 17:25:17 pawelz +- headers subpackage containig all header files. It is needed to build + external modules for OpenLDAP. + Revision 1.322 2009/11/03 14:22:17 glen - %if 0 works for sure, just shell commenting may leak to previous %section with content with newlines expanded ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openldap/openldap.spec?r1=1.322&r2=1.323&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit