diff --git a/changelog b/changelog deleted file mode 100644 index 729e037..0000000 --- a/changelog +++ /dev/null @@ -1,62 +0,0 @@ -* Sat Jan 21 2023 Fedora Release Engineering - 0.3.0-19.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 0.3.0-18.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 0.3.0-17.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.3.0-16.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jan 28 2021 Fedora Release Engineering - 0.3.0-15.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 0.3.0-14.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.3.0-13.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 0.3.0-12.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Jul 05 2019 Filipe Rosset - 0.3.0-11.20140302git -- Fix FTBFS rhbz#1606760 and rhbz#1676252 - -* Sun Feb 03 2019 Fedora Release Engineering - 0.3.0-10.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 0.3.0-9.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-8.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Aug 03 2017 Fedora Release Engineering - 0.3.0-7.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-6.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 0.3.0-5.20140302git -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Jan 06 2016 Martin Ueding 0.3.0-4.20140302git -- Own `zsh` directory - -* Tue Jan 05 2016 Martin Ueding 0.3.0-3.20140302git -- Include full commit has -- Let RPM find library dependencies automatically - -* Mon Jan 04 2016 Martin Ueding 0.3.0-2.20140302git -- Use downloading and renaming support from `%%setup -qn` and `spectool -g` -- Replace `%%define` with `%%global` -- Own shell completion directory as this package does not explicitly depend on - the shells -- Add a wildcard to catch all manual page compression formats -- Add a `Url` tag - -* Sat Jan 02 2016 Martin Ueding 0.3.0-1 -- Initial RPM diff --git a/xss-lock.spec b/xss-lock.spec index 99ffa06..e63d1b7 100644 --- a/xss-lock.spec +++ b/xss-lock.spec @@ -1,26 +1,31 @@ +# Copyright © 2016 Martin Ueding +# Licensed under the MIT license as the packaged software itself. + # Rationale for choosing a post release: # # The version that I use from git is a couple commits *after* 0.3.0 and there -# is no more recent tag in the upstream repository. +# is no more recent tag in the upstream repository. Previously I have used +# xss-lock 0.3.0 on Ubuntu 15.04 and had a bug with it, it would not exit when +# I logged out of the graphics session. Then it would hammer one CPU core. The +# repository contains commits which suggest that this bug has been addressed +# but not yet released. +%global checkout 20140302git %global commit0 1e158fb20108058dbd62bd51d8e8c003c0a48717 %global shortcommit0 %(c=%{commit0}; echo ${c:0:12}) Name: xss-lock -Version: 0.3.0^20140302git1e158fb20108 -Release: %autorelease +Version: 0.3.0 +Release: 8.%{checkout}%{?dist} Summary: Use external locker as X screen saver +#Group: License: MIT Url: https://bitbucket.org/raymonad/xss-lock Source0: https://bitbucket.org/raymonad/%{name}/get/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz -BuildRequires: cmake -BuildRequires: gcc -BuildRequires: glib2-devel -BuildRequires: libxcb-devel -BuildRequires: python3-docutils -BuildRequires: xcb-util-devel +BuildRequires: xcb-util-devel libxcb-devel glib2-devel +BuildRequires: cmake python-docutils Requires: xcb-util # Description is a verbatim copy of the manual formatted to Markdown. @@ -48,24 +53,54 @@ login manager can take action (such as suspending the system) after a preconfigured delay. %prep -%autosetup -n raymonad-%{name}-%{shortcommit0} +%setup -qn raymonad-%{name}-%{shortcommit0} %build -# TODO: Please submit an issue to upstream (rhbz#2381644) -export CMAKE_POLICY_VERSION_MINIMUM=3.5 -%cmake -%cmake_build +%cmake . +make %{?_smp_mflags} %install -%cmake_install +make install DESTDIR=%{buildroot} %files -%license LICENSE -%doc NEWS doc/dim-screen.sh doc/transfer-sleep-lock-generic-delay.sh doc/transfer-sleep-lock-i3lock.sh doc/xdg-screensaver.patch %{_bindir}/xss-lock %{_datadir}/bash-completion/completions/ %{_datadir}/zsh/ %{_mandir}/man1/xss-lock.1* +%doc NEWS +%doc doc/dim-screen.sh +%doc doc/transfer-sleep-lock-generic-delay.sh +%doc doc/transfer-sleep-lock-i3lock.sh +%doc doc/xdg-screensaver.patch +%license LICENSE %changelog -%autochangelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-8.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.3.0-7.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-6.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.3.0-5.20140302git +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 06 2016 Martin Ueding 0.3.0-4.20140302git +- Own `zsh` directory + +* Tue Jan 05 2016 Martin Ueding 0.3.0-3.20140302git +- Include full commit has +- Let RPM find library dependencies automatically + +* Mon Jan 04 2016 Martin Ueding 0.3.0-2.20140302git +- Use downloading and renaming support from `%%setup -qn` and `spectool -g` +- Replace `%%define` with `%%global` +- Own shell completion directory as this package does not explicitly depend on + the shells +- Add a wildcard to catch all manual page compression formats +- Add a `Url` tag + +* Sat Jan 02 2016 Martin Ueding 0.3.0-1 +- Initial RPM