package created using the webbuild interface [release 5.9.0-1mamba;Thu May 07 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 01:43:26 +01:00
parent 2106da7e1d
commit dac1c760f2
2 changed files with 86 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# kidletime
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.

84
kidletime.spec Normal file
View File

@ -0,0 +1,84 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: kidletime
Version: 5.9.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.*
%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
* Thu May 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-1mamba
- package created using the webbuild interface