]> git.pld-linux.org Git - packages/attica.git/blame - attica.spec
- proper rel
[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}
83dc1ca8 19BuildRequires: QtNetwork-devel >= %{qt_ver}
af9e6043 20BuildRequires: QtXml-devel >= %{qt_ver}
21BuildRequires: automoc4 >= 0.9.84
22BuildRequires: cmake >= 2.6.1-2
23BuildRequires: qt4-build >= %{qt_ver}
24BuildRequires: qt4-qmake >= %{qt_ver}
25BuildRequires: rpmbuild(macros) >= 1.293
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
88b4062d
BZ
29Attica is a Qt library that implements the Open Collaboration Services API.
30It grants easy access to the services such as querying information about persons and contents.
af9e6043 31
32%description -l pl.UTF-8
88b4062d
BZ
33Attica jest biblioteką Qt, która implementuje API Serwisów Otwartej Współpracy.
34Pozwala na łatwy dostęp do serwisów takich jak zapytania o informacje o osobach i treściach.
af9e6043 35
36%package devel
37Summary: Header files for attica library
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki attica
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for attica library.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe biblioteki attica.
47
48%prep
49%setup -q -n %{name}-%{version}-%{snap}
50
51%build
52install -d build
53cd build
54%cmake .. \
55 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
56 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
57%if "%{_lib}" == "lib64"
58 -DLIB_SUFFIX=64
59%endif
60
61%{__make}
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
66%{__make} -C build install \
67 DESTDIR=$RPM_BUILD_ROOT
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
4ffb37e0 72%post -p /sbin/ldconfig
73%postun -p /sbin/ldconfig
74
af9e6043 75%files
76%defattr(644,root,root,755)
88b4062d
BZ
77%attr(755,root,root) %ghost %{_libdir}/libattica.so.?
78%attr(755,root,root) %{_libdir}/libattica.so.*.*.*
af9e6043 79
80%files devel
81%defattr(644,root,root,755)
82%attr(755,root,root) %{_libdir}/libattica.so
83%{_includedir}/attica
84%{_libdir}/pkgconfig/libattica.pc
This page took 0.05038 seconds and 4 git commands to generate.