114 lines
3.8 KiB
RPMSpec
114 lines
3.8 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
Name: kidletime
|
|
Version: 5.18.0
|
|
Release: 1mamba
|
|
Summary: Reporting of idle time of user and system
|
|
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}/kidletime-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXScrnSaver-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libxcb-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
KIdleTime is a singleton reporting information on idle time. It is useful not only for finding out about the current idle time of the PC, but also for getting notified upon idle time events, such as custom timeouts, or user activity.
|
|
|
|
%package -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Reporting of idle time of user and system
|
|
|
|
%description -n lib%{name}
|
|
KIdleTime is a singleton reporting information on idle time. It is useful not only for finding out about the current idle time of the PC, but also for getting notified upon idle time events, such as custom timeouts, or user activity.
|
|
|
|
%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
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libKF5IdleTime.so.*
|
|
%dir %{_libdir}/qt5/plugins/kf5/org.kde.kidletime.platforms
|
|
%{_libdir}/qt5/plugins/kf5/org.kde.kidletime.platforms/*.so
|
|
%doc COPYING COPYING.LIB
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_kde5_includedir}/KIdleTime
|
|
%{_kde5_includedir}/KIdleTime/*
|
|
%{_kde5_includedir}/kidletime_version.h
|
|
%dir %{_libdir}/cmake/KF5IdleTime
|
|
%{_libdir}/cmake/KF5IdleTime/KF5IdleTime*.cmake
|
|
%{_libdir}/libKF5IdleTime.so
|
|
%{_libdir}/qt5/mkspecs/modules/qt_KIdleTime.pri
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Fri Jan 15 2016 Automatic Build System <autodist@mambasoft.it> 5.18.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 16 2015 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Nov 21 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Oct 20 2015 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Sep 24 2015 Automatic Build System <autodist@mambasoft.it> 5.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 23 2015 Automatic Build System <autodist@mambasoft.it> 5.13.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Jul 13 2015 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jun 18 2015 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon May 11 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu May 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-1mamba
|
|
- package created using the webbuild interface
|