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