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