82 lines
2.3 KiB
RPMSpec
82 lines
2.3 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: kded
|
|
Version: 5.17.0
|
|
Release: 2mamba
|
|
Summary: KDE Frameworks 5 Central daemon of KDE work spaces
|
|
Group: Graphical Desktop/Applications/Environment
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.kde.org
|
|
Source: http://download.kde.org/stable/frameworks/5.17/kded-%{version}.tar.xz
|
|
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libkconfig-devel
|
|
BuildRequires: libkcoreaddons-devel
|
|
BuildRequires: libkcrash-devel
|
|
BuildRequires: libkdbusaddons-devel
|
|
BuildRequires: libkservice-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: rpm-macros-kde5
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
KDE Frameworks 5 Central daemon of KDE work spaces.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description 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 %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}5_qt.lang
|
|
%defattr(-,root,root)
|
|
%{_bindir}/kded5
|
|
%{_libdir}/libkdeinit5_kded5.so
|
|
%{_datadir}/dbus-1/interfaces/org.kde.kded5.xml
|
|
%{_datadir}/dbus-1/services/org.kde.kded5.service
|
|
%{_kde5_servicetypesdir}/kdedmodule.desktop
|
|
%{_mandir}/man8/kded5.8*
|
|
%{_mandir}/*/man8/kded5.8*
|
|
%doc COPYING.LIB
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_libdir}/cmake/KDED
|
|
%{_libdir}/cmake/KDED/KDED*.cmake
|
|
|
|
%changelog
|
|
* Sun Jan 03 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-2mamba
|
|
- remove broken requirement for not existing libkded
|
|
|
|
* Sat Jan 02 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-1mamba
|
|
- package created using the webbuild interface
|