packages: attica/attica.spec - do track soname versions
glen
glen at pld-linux.org
Tue Dec 27 11:34:28 CET 2011
Author: glen Date: Tue Dec 27 10:34:28 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- do track soname versions
---- Files affected:
packages/attica:
attica.spec (1.13 -> 1.14)
---- Diffs:
================================================================
Index: packages/attica/attica.spec
diff -u packages/attica/attica.spec:1.13 packages/attica/attica.spec:1.14
--- packages/attica/attica.spec:1.13 Mon Dec 26 17:21:26 2011
+++ packages/attica/attica.spec Tue Dec 27 11:34:23 2011
@@ -3,20 +3,18 @@
# Conditional build:
#
%define qt_ver 4.8.0
-%define snap svn1060455
Summary: Attica Library - implementation of Open Collaboration Services API for Qt
Summary(pl.UTF-8): Attica Library - implementacja API Serwisów Otwartej Współpracy dla Qt
Name: attica
Version: 0.3.0
-Release: 1
+Release: 2
License: GPL
Group: X11/Libraries
# svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/attica/
-#Source0: %{name}-%{version}-%{snap}.tar.bz2
Source0: ftp://ftp.kde.org/pub/kde/stable/attica/%{name}-%{version}.tar.bz2
# Source0-md5: 5a77f678422e7a52e3a3abb2d7ad0499
-URL: http://kde.org
+URL: http://www.kde.org/
BuildRequires: QtCore-devel >= %{qt_ver}
BuildRequires: QtGui-devel >= %{qt_ver}
BuildRequires: QtNetwork-devel >= %{qt_ver}
@@ -25,22 +23,24 @@
BuildRequires: cmake >= 2.8.0
BuildRequires: qt4-build >= %{qt_ver}
BuildRequires: qt4-qmake >= %{qt_ver}
-BuildRequires: rpmbuild(macros) >= 1.293
+BuildRequires: rpmbuild(macros) >= 1.600
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Attica is a Qt library that implements the Open Collaboration Services API.
-It grants easy access to the services such as querying information about persons and contents.
+Attica is a Qt library that implements the Open Collaboration Services
+API. It grants easy access to the services such as querying
+information about persons and contents.
%description -l pl.UTF-8
-Attica jest biblioteką Qt, która implementuje API Serwisów Otwartej Współpracy.
-Pozwala na łatwy dostęp do serwisów takich jak zapytania o informacje o osobach i treściach.
+Attica jest biblioteką Qt, która implementuje API Serwisów Otwartej
+Współpracy. Pozwala na łatwy dostęp do serwisów takich jak zapytania o
+informacje o osobach i treściach.
%package devel
-Summary: Header files for attica library
-Summary(pl.UTF-8): Pliki nagłówkowe biblioteki attica
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Summary: Header files for attica library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki attica
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
%description devel
Header files for attica library.
@@ -54,18 +54,11 @@
%build
install -d build
cd build
-%cmake .. \
- -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
- -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_lib}" == "lib64"
- -DLIB_SUFFIX=64
-%endif
-
+%cmake ..
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
@@ -77,14 +70,14 @@
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %ghost %{_libdir}/libattica.so.*.?
%attr(755,root,root) %{_libdir}/libattica.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libattica.so.0.3
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libattica.so
%{_includedir}/attica
-%{_libdir}/pkgconfig/libattica.pc
+%{_pkgconfigdir}/libattica.pc
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -92,6 +85,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.14 2011/12/27 10:34:23 glen
+- do track soname versions
+
Revision 1.13 2011/12/26 16:21:26 arekm
- up to 0.3.0
@@ -116,10 +112,10 @@
Revision 1.6 2009/12/11 16:19:49 shadzik
- don't fuck up BRs!
- [shadzik at moana rpm]$ ./qtbrs.sh attica-0.1.1-svn1060455/
-BuildRequires: QtCore-devel >= 4.6.0
-BuildRequires: QtGui-devel >= 4.6.0
-BuildRequires: QtNetwork-devel >= 4.6.0
-BuildRequires: QtXml-devel >= 4.6.0
+ BuildRequires: QtCore-devel >= 4.6.0
+ BuildRequires: QtGui-devel >= 4.6.0
+ BuildRequires: QtNetwork-devel >= 4.6.0
+ BuildRequires: QtXml-devel >= 4.6.0
Revision 1.5 2009/12/11 16:14:31 cactus
- proper rel
@@ -139,4 +135,3 @@
Revision 1.1 2009/12/03 23:50:17 shadzik
- init
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/attica/attica.spec?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list