[packages/libkgapi] unify, track SONAME
glen
glen at pld-linux.org
Sun Aug 24 18:48:37 CEST 2014
commit 42b413287622df9e47fa84cccc9bd6f7fb3b506e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Aug 24 19:41:10 2014 +0300
unify, track SONAME
libkgapi.spec | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/libkgapi.spec b/libkgapi.spec
index 279f0df..a8e218d 100644
--- a/libkgapi.spec
+++ b/libkgapi.spec
@@ -4,17 +4,17 @@ Version: 2.2.0
Release: 1
License: GPL v2+
Group: Development/Libraries
-URL: http://www.progdan.cz/2012/05/libkgoogle-libkgapi
Source0: http://download.kde.org/stable/libkgapi/%{version}/src/%{name}-%{version}.tar.bz2
# Source0-md5: f3f2e4e68bb8baf849935f2f2eecf781
+URL: http://www.progdan.cz/2012/05/libkgoogle-libkgapi
BuildRequires: kde4-kdelibs-devel
BuildRequires: kde4-kdepimlibs-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Library to access to Google services, this package is needed by
kdepim-runtime to build akonadi-google resources.
-
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
@@ -25,7 +25,6 @@ Requires: kde4-kdepimlibs-devel
Libraries and header files for developing applications that use
akonadi-google resources.
-
%prep
%setup -q
@@ -33,27 +32,26 @@ akonadi-google resources.
install -d build
cd build
%cmake \
- ../
+ ..
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
%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 README LICENSE
%attr(755,root,root) %{_libdir}/libkgapi2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libkgapi2.so.?
+%attr(755,root,root) %ghost %{_libdir}/libkgapi2.so.1
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libkgapi.git/commitdiff/764180d567c3ec3fc7d11797180911fc9e0ead83
More information about the pld-cvs-commit
mailing list