knewstuff/knewstuff.spec

182 lines
6.3 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: knewstuff
Version: 5.47.0
Release: 1mamba
Summary: Framework for downloading and sharing additional application data
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}/knewstuff-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libattica5-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification.
%package -n lib%{name}
Group: System/Libraries
Summary: Framework for downloading and sharing additional application data
%description -n lib%{name}
The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-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
%find_lang knewstuff5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f knewstuff5.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/knewstuff.categories
%{_libdir}/libKF5NewStuff.so.*
%{_kde5_libdir}/libKF5NewStuffCore.so.*
%{_datadir}/kf5/knewstuff/pics/thumb_frame.png
%dir %{_kde5_datadir}/kf5/kmoretools
%dir %{_kde5_datadir}/kf5/kmoretools/presets-kmoretools
%{_kde5_datadir}/kf5/kmoretools/presets-kmoretools/*
%dir %{_libdir}/qt5/qml/org/kde/newstuff
%{_libdir}/qt5/qml/org/kde/newstuff/*
#%dir %{_kde5_datadir}/kf5/kmoretools/unittest-kmoretools
#%{_kde5_datadir}/kf5/kmoretools/unittest-kmoretools/*
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/KF5/KNewStuff3
%dir %{_includedir}/KF5/KNewStuff3/KNS3
%{_includedir}/KF5/KNewStuff3/KNS3/*
%dir %{_includedir}/KF5/KNewStuff3/kns3
%{_includedir}/KF5/KNewStuff3/kns3/*
%{_includedir}/KF5/knewstuff_version.h
%dir %{_kde5_includedir}/KNewStuff3/KNSCore
%{_kde5_includedir}/KNewStuff3/KNSCore/*
%dir %{_kde5_includedir}/KNewStuff3/knscore
%{_kde5_includedir}/KNewStuff3/knscore/*
%{_kde5_includedir}/*.h
%dir %{_libdir}/cmake/KF5NewStuff
%{_libdir}/cmake/KF5NewStuff/KF5NewStuff*.cmake
%{_libdir}/libKF5NewStuff.so
%{_kde5_libdir}/libKF5NewStuffCore.so
%{_kde5_mkspecsdir}/qt_KNewStuff*.pri
%dir %{_kde5_libdir}/cmake/KF5NewStuffCore
%{_kde5_libdir}/cmake/KF5NewStuffCore/KF5NewStuffCore*.cmake
%dir %{_kde5_libdir}/cmake/KF5NewStuffQuick
%{_kde5_libdir}/cmake/KF5NewStuffQuick/KF5NewStuffQuick*.cmake
%doc README.md TODO
%changelog
* Tue Jun 19 2018 Automatic Build System <autodist@mambasoft.it> 5.47.0-1mamba
- automatic version update by autodist
* Thu May 17 2018 Automatic Build System <autodist@mambasoft.it> 5.46.0-1mamba
- automatic version update by autodist
* Thu Apr 19 2018 Automatic Build System <autodist@mambasoft.it> 5.45.0-1mamba
- automatic version update by autodist
* Sun Mar 18 2018 Automatic Build System <autodist@mambasoft.it> 5.44.0-1mamba
- automatic version update by autodist
* Wed Mar 07 2018 Automatic Build System <autodist@mambasoft.it> 5.43.0-1mamba
- automatic version update by autodist
* Mon Jan 22 2018 Automatic Build System <autodist@mambasoft.it> 5.42.0-1mamba
- automatic version update by autodist
* Sat Dec 30 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
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 5.39.0-1mamba
- automatic version update by autodist
* Thu Sep 14 2017 Automatic Build System <autodist@mambasoft.it> 5.38.0-1mamba
- automatic version update by autodist
* Fri Aug 25 2017 Automatic Build System <autodist@mambasoft.it> 5.37.0-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- automatic version update by autodist
* Thu Jan 26 2017 Automatic Build System <autodist@mambasoft.it> 5.30.1-1mamba
- automatic version update by autodist
* Sun Oct 16 2016 Automatic Build System <autodist@mambasoft.it> 5.27.0-1mamba
- automatic version 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 Automatic Build System <autodist@mambasoft.it> 5.22.0-1mamba
- automatic version update by autodist
* Fri May 06 2016 Automatic Build System <autodist@mambasoft.it> 5.21.0-1mamba
- automatic version update by autodist
* Sat Dec 26 2015 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
- automatic version update by autodist
* Sat Apr 25 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Wed Apr 01 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface