attica/attica.spec

148 lines
4.6 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: attica
Version: 5.44.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/%{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)
%{_sysconfdir}/xdg/attica.categories
%{_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
* Fri Mar 16 2018 Automatic Build System <autodist@mambasoft.it> 5.44.0-1mamba
- automatic version update by autodist
* Tue Feb 27 2018 Automatic Build System <autodist@mambasoft.it> 5.43.0-1mamba
- automatic version update by autodist
* Wed Jan 17 2018 Automatic Build System <autodist@mambasoft.it> 5.42.0-1mamba
- automatic version update by autodist
* Sat Dec 23 2017 Automatic Build System <autodist@mambasoft.it> 5.41.0-1mamba
- automatic version update by autodist
* Tue Nov 14 2017 Automatic Build System <autodist@mambasoft.it> 5.40.0-1mamba
- automatic version update by autodist
* Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 5.39.0-1mamba
- automatic version update by autodist
* Mon Sep 11 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.38.0-1mamba
- update to 5.38.0
* Fri Aug 18 2017 Automatic Build System <autodist@mambasoft.it> 5.37.0-1mamba
- automatic version update by autodist
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- automatic version update by autodist
* Tue Jan 24 2017 Automatic Build System <autodist@mambasoft.it> 5.30.0-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 5.27.0-1mamba
- automatic version update by autodist
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 5.25.0-1mamba
- automatic update by autodist
* Sun Jun 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.23.0-1mamba
- automatic version update by autodist
* Fri Jun 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.22.0-1mamba
- update to 5.22.0
* Fri May 06 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.21.0-1mamba
- update to 5.21.0
* Sat Dec 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-1mamba
- update to 5.17.0
* 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