96 lines
2.8 KiB
RPMSpec
96 lines
2.8 KiB
RPMSpec
Name: libattica
|
|
Version: 0.4.2
|
|
Release: 1mamba
|
|
Summary: A Qt library to access Open Collaboration Service providers
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: http://www.kde.org
|
|
Source: http://download.kde.org/stable/attica/attica-%{version}.tar.bz2
|
|
Patch0: %{name}-0.2.0-qt_include_prefix.patch
|
|
License: LGPL
|
|
BuildRequires: cmake
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Attica is a Qt library that implements the Open Collaboration Services API version 1.4.
|
|
It grants easy access to the services such as querying information about persons and contents.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
Attica is a Qt library that implements the Open Collaboration Services API version 1.4.
|
|
It grants easy access to the services such as querying information about persons and contents.
|
|
This package contains static libraries and header files needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n attica-%{version}
|
|
%define _default_patch_fuzz 2
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake -d build \
|
|
-DQT4_BUILD=1
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libattica.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/qt4/attica
|
|
%{_includedir}/qt4/attica/*.h
|
|
%{_libdir}/libattica.so
|
|
%{_libdir}/pkgconfig/libattica.pc
|
|
%doc ChangeLog README
|
|
|
|
%changelog
|
|
* Thu Jun 13 2013 Automatic Build System <autodist@mambasoft.it> 0.4.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 20 2012 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 0.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 21 2011 Automatic Build System <autodist@mambasoft.it> 0.2.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 11 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-2mamba
|
|
- install headers under /usr/include/qt4 to fix kdebindings 4.6.1 build
|
|
|
|
* Fri Oct 29 2010 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Jun 05 2010 Automatic Build System <autodist@mambasoft.it> 0.1.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Jan 17 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.1.2-1mamba
|
|
- package created by autospec
|