]> git.pld-linux.org Git - packages/libexttextcat.git/commitdiff
- -devel does not require pkgconfig
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 11 Feb 2012 18:24:11 +0000 (18:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- ghost soname symlinks

Changed files:
    libexttextcat.spec -> 1.2

libexttextcat.spec

index 7501a43dff9fdbf693363adf73e6b22bd102c5e3..a3fd35ccc884fd686ba96847bdc303bf5a37f561 100644 (file)
@@ -1,4 +1,7 @@
+#
+# Conditional build:
 %bcond_without tests
+
 Summary:       Text categorization library
 Name:          libexttextcat
 Version:       3.2.0
@@ -8,21 +11,20 @@ Group:               Libraries
 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
@@ -54,27 +56,27 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
This page took 0.138196 seconds and 4 git commands to generate.