knewstuff/knewstuff.spec

117 lines
3.7 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: knewstuff
Version: 5.17.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 -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)
%{_libdir}/libKF5NewStuff.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 %{_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 %{_libdir}/cmake/KF5NewStuff
%{_libdir}/cmake/KF5NewStuff/KF5NewStuff*.cmake
%{_libdir}/libKF5NewStuff.so
/usr/mkspecs/modules/qt_KNewStuff.pri
%doc README.md TODO
%changelog
* 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