]> git.pld-linux.org Git - packages/attica.git/blame - attica.spec
- don't fuck up BRs!
[packages/attica.git] / attica.spec
CommitLineData
af9e6043 1#
2# Conditional build:
3#
4%define qt_ver 4.6.0
88b4062d 5%define snap svn1060455
af9e6043 6
88b4062d
BZ
7Summary: Attica Library - implementation of Open Collaboration Services API for Qt
8Summary(pl.UTF-8): Attica Library - implementacja API Serwisów Otwartej Współpracy dla Qt
af9e6043 9Name: attica
88b4062d 10Version: 0.1.1
627dee44 11Release: 0.%{snap}.1
af9e6043 12License: GPL
13Group: X11/Libraries
88b4062d 14# svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/attica/
af9e6043 15Source0: %{name}-%{version}-%{snap}.tar.bz2
88b4062d 16# Source0-md5: 8fe27e64e20ce1b9e5dde57911d72d45
af9e6043 17URL: http://kde.org
af9e6043 18BuildRequires: QtCore-devel >= %{qt_ver}
d0eaef13 19BuildRequires: QtGui-devel >= %{qt_ver}
83dc1ca8 20BuildRequires: QtNetwork-devel >= %{qt_ver}
af9e6043 21BuildRequires: QtXml-devel >= %{qt_ver}
22BuildRequires: automoc4 >= 0.9.84
23BuildRequires: cmake >= 2.6.1-2
24BuildRequires: qt4-build >= %{qt_ver}
25BuildRequires: qt4-qmake >= %{qt_ver}
26BuildRequires: rpmbuild(macros) >= 1.293
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
88b4062d
BZ
30Attica is a Qt library that implements the Open Collaboration Services API.
31It grants easy access to the services such as querying information about persons and contents.
af9e6043 32
33%description -l pl.UTF-8
88b4062d
BZ
34Attica jest biblioteką Qt, która implementuje API Serwisów Otwartej Współpracy.
35Pozwala na łatwy dostęp do serwisów takich jak zapytania o informacje o osobach i treściach.
af9e6043 36
37%package devel
38Summary: Header files for attica library
39Summary(pl.UTF-8): Pliki nagłówkowe biblioteki attica
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
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
50%setup -q -n %{name}-%{version}-%{snap}
51
52%build
53install -d build
54cd build
55%cmake .. \
56 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
57 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
58%if "%{_lib}" == "lib64"
59 -DLIB_SUFFIX=64
60%endif
61
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67%{__make} -C build install \
68 DESTDIR=$RPM_BUILD_ROOT
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
4ffb37e0 73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
af9e6043 76%files
77%defattr(644,root,root,755)
88b4062d
BZ
78%attr(755,root,root) %ghost %{_libdir}/libattica.so.?
79%attr(755,root,root) %{_libdir}/libattica.so.*.*.*
af9e6043 80
81%files devel
82%defattr(644,root,root,755)
83%attr(755,root,root) %{_libdir}/libattica.so
84%{_includedir}/attica
85%{_libdir}/pkgconfig/libattica.pc
This page took 0.103997 seconds and 4 git commands to generate.