packages: libcmis/libcmis.spec -=?UTF-8?Q?=20?=-devel does not require pkgconfig - ghost ...

glen glen at pld-linux.org
Sat Feb 11 19:19:59 CET 2012


Author: glen                         Date: Sat Feb 11 18:19:59 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- -devel does not require pkgconfig
- ghost soname symlinks
- no packaging of common licenses

---- Files affected:
packages/libcmis:
   libcmis.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/libcmis/libcmis.spec
diff -u packages/libcmis/libcmis.spec:1.1 packages/libcmis/libcmis.spec:1.2
--- packages/libcmis/libcmis.spec:1.1	Sat Feb 11 18:54:38 2012
+++ packages/libcmis/libcmis.spec	Sat Feb 11 19:19:54 2012
@@ -11,6 +11,7 @@
 BuildRequires:	boost-devel
 BuildRequires:	curl-devel
 BuildRequires:	libxml2-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 LibCMIS is a C++ client library for the CMIS interface. This allows
@@ -21,7 +22,6 @@
 Summary:	Development files for %{name}
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	pkgconfig
 
 %description devel
 The %{name}-devel package contains libraries and header files for
@@ -53,23 +53,24 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING.* README
-%attr(755,root,root) %{_libdir}/%{name}-0.2.so.*
+%doc AUTHORS README
+%attr(755,root,root) %{_libdir}/%{name}-0.2.so.*.*.*
+%ghost %{_libdir}/libcmis-0.2.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}-0.2.so
+%{_includedir}/%{name}
 %{_pkgconfigdir}/%{name}-0.2.pc
 
 %files tools
@@ -82,6 +83,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/02/11 18:19:54  glen
+- -devel does not require pkgconfig
+- ghost soname symlinks
+- no packaging of common licenses
+
 Revision 1.1  2012/02/11 17:54:38  arekm
 - new; half raw
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libcmis/libcmis.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list