attica/attica.spec

98 lines
2.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: attica
Version: 5.14.0
Release: 1mamba
Summary: A Qt library that implements the Open Collaboration Services API
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%_kf5_majver/attica-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: rpm-macros-kde5
BuildRequires: libQt5Core
BuildRequires: libQt5Network
BuildRequires: libQt5Test
# Required for autotests
BuildRequires: libQt5Gui
BuildRequires: libQt5Widgets
Requires: lib%{name}5 = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Attica is a Qt library that implements the Open Collaboration Services API.
%package -n lib%{name}5
Group: System/Libraries
Summary: A Qt library that implements the Open Collaboration Services API
%description -n lib%{name}5
Attica is a Qt library that implements the Open Collaboration Services API.
%package -n lib%{name}5-devel
Group: Development/Libraries
Summary: Development files for lib%{name}5
Requires: lib%{name}5 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}5-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}5 -p /sbin/ldconfig
%postun -n lib%{name}5 -p /sbin/ldconfig
%files -n lib%{name}5
%defattr(-,root,root)
%{_libdir}/libKF5Attica.so.*
%doc AUTHORS COPYING
%files -n lib%{name}5-devel
%defattr(-,root,root)
%{_kde5_includedir}/attica_version.h
%{_kde5_includedir}/Attica/
%{_libdir}/cmake/KF5Attica/
%{_kde5_libdir}/libKF5Attica.so
%{_kde5_libdir}/pkgconfig/libKF5Attica.pc
%{_kde5_mkspecsdir}/qt_Attica.pri
%doc ChangeLog README.md
%changelog
* Sat Oct 03 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.14.0-1mamba
- update to 5.14.0
* Sat Apr 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-1mamba
- update to 5.9.0
* Sun Mar 29 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.8.0-2mamba
- update the source URL
* Sun Mar 29 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.8.0-1mamba
- update to 5.8.0
* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface