packages: libexttextcat/libexttextcat.spec -=?UTF-8?Q?=20?=-devel does not require pkgcon...

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


Author: glen                         Date: Sat Feb 11 18:24:16 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- -devel does not require pkgconfig
- ghost soname symlinks

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

---- Diffs:

================================================================
Index: packages/libexttextcat/libexttextcat.spec
diff -u packages/libexttextcat/libexttextcat.spec:1.1 packages/libexttextcat/libexttextcat.spec:1.2
--- packages/libexttextcat/libexttextcat.spec:1.1	Sat Feb 11 19:09:34 2012
+++ packages/libexttextcat/libexttextcat.spec	Sat Feb 11 19:24:11 2012
@@ -1,5 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
 %bcond_without	tests
+
 Summary:	Text categorization library
 Name:		libexttextcat
 Version:	3.2.0
@@ -9,21 +12,20 @@
 URL:		http://www.freedesktop.org/wiki/Software/libexttextcat
 Source0:	http://dev-www.libreoffice.org/src/libexttextcat/%{name}-%{version}.tar.xz
 # Source0-md5:	941ec532832ffea01e121373a2733a96
-Provides:	libtextcat = %{version}
-Obsoletes:	libtextcat < 3.2.0
+Provides:	libtextcat = %{version}-%{release}
+Obsoletes:	libtextcat < 3.2.0-1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-%{name} is an N-Gram-Based Text Categorization library primarily
+libexttextcat is an N-Gram-Based Text Categorization library primarily
 intended for language guessing.
 
 %package devel
 Summary:	Development files for %{name}
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	pkgconfig
-Provides:	libtextcat-devel = %{version}
-Obsoletes:	libtextcat-devel < 3.2.0
+Provides:	libtextcat-devel = %{version}-%{release}
+Obsoletes:	libtextcat-devel < 3.2.0-1
 
 %description devel
 The %{name}-devel package contains libraries and header files for
@@ -55,27 +57,27 @@
 %{__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 LICENSE README*
-%attr(755,root,root) %{_libdir}/%{name}.so.*
+%attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
+%ghost %{_libdir}/%{name}.so.0
 %{_datadir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}.so
+%{_includedir}/%{name}
 %{_pkgconfigdir}/%{name}.pc
 
-
 %files tools
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/createfp
@@ -86,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2012/02/11 18:24:11  glen
+- -devel does not require pkgconfig
+- ghost soname symlinks
+
 Revision 1.1  2012/02/11 18:09:34  arekm
 - initial; half-raw
-
================================================================

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



More information about the pld-cvs-commit mailing list