]>
Commit | Line | Data |
---|---|---|
da616d1b | 1 | %define qt_ver 4.8.3 |
88b4062d BZ |
2 | Summary: Attica Library - implementation of Open Collaboration Services API for Qt |
3 | Summary(pl.UTF-8): Attica Library - implementacja API Serwisów Otwartej Współpracy dla Qt | |
af9e6043 | 4 | Name: attica |
6fbc5c2b | 5 | Version: 0.4.2 |
edc84c86 | 6 | Release: 1 |
af9e6043 | 7 | License: GPL |
8 | Group: X11/Libraries | |
88b4062d | 9 | # svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/attica/ |
c82cda87 | 10 | Source0: ftp://ftp.kde.org/pub/kde/stable/attica/%{name}-%{version}.tar.bz2 |
6fbc5c2b | 11 | # Source0-md5: d62c5c9489a68432e8d990dde7680c24 |
82be1b7a | 12 | URL: http://www.kde.org/ |
7f6d6dc5 | 13 | BuildRequires: QtTest-devel >= %{qt_ver} |
af9e6043 | 14 | BuildRequires: QtCore-devel >= %{qt_ver} |
d0eaef13 | 15 | BuildRequires: QtGui-devel >= %{qt_ver} |
83dc1ca8 | 16 | BuildRequires: QtNetwork-devel >= %{qt_ver} |
af9e6043 | 17 | BuildRequires: QtXml-devel >= %{qt_ver} |
def57ac6 | 18 | BuildRequires: cmake >= 2.8.0 |
7f6d6dc5 | 19 | BuildRequires: pkgconfig |
af9e6043 | 20 | BuildRequires: qt4-build >= %{qt_ver} |
21 | BuildRequires: qt4-qmake >= %{qt_ver} | |
82be1b7a | 22 | BuildRequires: rpmbuild(macros) >= 1.600 |
af9e6043 | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
82be1b7a ER |
26 | Attica is a Qt library that implements the Open Collaboration Services |
27 | API. It grants easy access to the services such as querying | |
28 | information about persons and contents. | |
af9e6043 | 29 | |
30 | %description -l pl.UTF-8 | |
82be1b7a ER |
31 | Attica jest biblioteką Qt, która implementuje API Serwisów Otwartej |
32 | Współpracy. Pozwala na łatwy dostęp do serwisów takich jak zapytania o | |
33 | informacje o osobach i treściach. | |
af9e6043 | 34 | |
35 | %package devel | |
82be1b7a ER |
36 | Summary: Header files for attica library |
37 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki attica | |
38 | Group: Development/Libraries | |
39 | Requires: %{name} = %{version}-%{release} | |
af9e6043 | 40 | |
41 | %description devel | |
42 | Header files for attica library. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Pliki nagłówkowe biblioteki attica. | |
46 | ||
47 | %prep | |
c82cda87 | 48 | %setup -q |
af9e6043 | 49 | |
50 | %build | |
51 | install -d build | |
52 | cd build | |
82be1b7a | 53 | %cmake .. |
af9e6043 | 54 | %{__make} |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
af9e6043 | 58 | %{__make} -C build install \ |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
4ffb37e0 | 64 | %post -p /sbin/ldconfig |
65 | %postun -p /sbin/ldconfig | |
66 | ||
af9e6043 | 67 | %files |
68 | %defattr(644,root,root,755) | |
88b4062d | 69 | %attr(755,root,root) %{_libdir}/libattica.so.*.*.* |
edc84c86 | 70 | %attr(755,root,root) %ghost %{_libdir}/libattica.so.0.4 |
af9e6043 | 71 | |
72 | %files devel | |
73 | %defattr(644,root,root,755) | |
74 | %attr(755,root,root) %{_libdir}/libattica.so | |
75 | %{_includedir}/attica | |
82be1b7a | 76 | %{_pkgconfigdir}/libattica.pc |