From dac1c760f20986c866b6dd771ca14e0e003abdef Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:43:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.9.0-1mamba;Thu May 07 2015] --- README.md | 2 ++ kidletime.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 kidletime.spec diff --git a/README.md b/README.md index bd328c5..c4b0cbd 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/kidletime.spec b/kidletime.spec new file mode 100644 index 0000000..e21f3ad --- /dev/null +++ b/kidletime.spec @@ -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 +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 5.9.0-1mamba +- package created using the webbuild interface