4fb84dd
Summary: Cinnamon Screensaver
4fb84dd
Name:    cinnamon-screensaver
4fb84dd
Version: 3.6.1
228eb8e
Release: 4%{?dist}
4fb84dd
License: GPLv2+ and LGPLv2+
4fb84dd
URL:     https://github.com/linuxmint/%{name}
4fb84dd
Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
4fb84dd
4fb84dd
BuildRequires: autoconf
4fb84dd
BuildRequires: automake
4fb84dd
BuildRequires: intltool
4fb84dd
BuildRequires: autoconf-archive
4fb84dd
BuildRequires: glib2-devel
4fb84dd
BuildRequires: libtool
4fb84dd
BuildRequires: gobject-introspection-devel
4fb84dd
BuildRequires: pam-devel
4fb84dd
BuildRequires: python%{python3_pkgversion}-devel
4fb84dd
BuildRequires: gtk3-devel
4fb84dd
BuildRequires: libXext-devel
4fb84dd
BuildRequires: desktop-file-utils
4fb84dd
4fb84dd
Requires: cinnamon-desktop%{?_isa} >= 3.6.0
4fb84dd
Requires: cinnamon-translations >= 3.6.0
4fb84dd
Requires: accountsservice-libs%{?_isa}
4fb84dd
Requires: libgnomekbd%{?_isa}
4fb84dd
Requires: python%{python3_pkgversion}-gobject%{?_isa}
4fb84dd
Requires: python%{python3_pkgversion}-setproctitle%{?_isa}
4fb84dd
Requires: python%{python3_pkgversion}-xapp
4fb84dd
Requires: python%{python3_pkgversion}-xapps-overrides%{?_isa}
4fb84dd
Requires: xapps%{?_isa}
4fb84dd
4fb84dd
# since we use it, and pam spams the log if a module is missing
4fb84dd
Requires: gnome-keyring-pam%{?_isa}
4fb84dd
4fb84dd
%description
4fb84dd
cinnamon-screensaver is a screen saver and locker.
4fb84dd
4fb84dd
4fb84dd
%package unsupported
4fb84dd
Summary:   Additional unsupported screensavers
4fb84dd
BuildArch: noarch
4fb84dd
Conflicts: xscreensaver < 1:5.00-19
4fb84dd
Requires:  %{name} = %{version}-%{release}
4fb84dd
Requires: webkitgtk4
4fb84dd
Requires: xscreensaver-extras
4fb84dd
Requires: xscreensaver-gl-extras
4fb84dd
4fb84dd
%description unsupported
4fb84dd
This package provides additional unsupported screensavers.
4fb84dd
They are unsupported in fedora due to issues with suspend,
4fb84dd
you may need to use the Esc key to get the unlock screen.
4fb84dd
4fb84dd
4fb84dd
%prep
4fb84dd
%autosetup -p1
4fb84dd
NOCONFIGURE=1 ./autogen.sh
4fb84dd
4fb84dd
4fb84dd
%build
4fb84dd
%configure
4fb84dd
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
4fb84dd
%make_build V=1
4fb84dd
4fb84dd
4fb84dd
%install
4fb84dd
%make_install
4fb84dd
4fb84dd
desktop-file-install                                     \
4fb84dd
  --delete-original                                      \
4fb84dd
  --remove-only-show-in=Xfce                             \
4fb84dd
  --dir %{buildroot}%{_datadir}/applications             \
4fb84dd
  %{buildroot}%{_datadir}/applications/cinnamon-screensaver.desktop
4fb84dd
4fb84dd
# Fix rpmlint errors
4fb84dd
for file in %{buildroot}%{_datadir}/cinnamon-screensaver/{dbusdepot,util,widgets}/*.py; do
4fb84dd
chmod a+x $file
4fb84dd
done
4fb84dd
for file in %{buildroot}%{_datadir}/cinnamon-screensaver/*.py; do
4fb84dd
chmod a+x $file
4fb84dd
done
4fb84dd
chmod a-x %{buildroot}%{_datadir}/cinnamon-screensaver/{dbusdepot,util,widgets}/__init__.py
4fb84dd
chmod a-x %{buildroot}%{_datadir}/cinnamon-screensaver/{__init__,config}.py
4fb84dd
chmod a+x %{buildroot}%{_datadir}/cinnamon-screensaver/pamhelper/authClient.py
4fb84dd
4fb84dd
# Delete development files
4fb84dd
rm %{buildroot}%{_libdir}/libcscreensaver.la
4fb84dd
rm %{buildroot}%{_libdir}/libcscreensaver.so
4fb84dd
rm %{buildroot}%{_libdir}/pkgconfig/cscreensaver.pc
4fb84dd
rm %{buildroot}%{_datadir}/gir-1.0/CScreensaver-1.0.gir
4fb84dd
rm %{buildroot}%{_includedir}/cinnamon-screensaver/libcscreensaver/*.h
4fb84dd
4fb84dd
4fb84dd
%post
4fb84dd
/sbin/ldconfig
4fb84dd
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
4fb84dd
4fb84dd
%postun
4fb84dd
/sbin/ldconfig
4fb84dd
if [ $1 -eq 0 ] ; then
4fb84dd
 /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
4fb84dd
 /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
4fb84dd
fi
4fb84dd
4fb84dd
%posttrans
4fb84dd
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
4fb84dd
4fb84dd
4fb84dd
%files
4fb84dd
%doc AUTHORS NEWS README.md
4fb84dd
%license COPYING COPYING.LIB
4fb84dd
%config(noreplace) %{_sysconfdir}/pam.d/cinnamon-screensaver
4fb84dd
%{_bindir}/cinnamon-screensaver*
4fb84dd
%{_datadir}/applications/cinnamon-screensaver.desktop
4fb84dd
%{_datadir}/cinnamon-screensaver/
4fb84dd
%exclude %{_datadir}/cinnamon-screensaver/screensavers/
4fb84dd
%{_datadir}/dbus-1/services/org.cinnamon.ScreenSaver.service
4fb84dd
%{_datadir}/icons/hicolor/scalable/*/*
4fb84dd
%{_libexecdir}/cinnamon-screensaver-pam-helper
4fb84dd
%{_libdir}/libcscreensaver.so.*
4fb84dd
%{_libdir}/girepository-1.0/CScreensaver-1.0.typelib
4fb84dd
4fb84dd
%files unsupported
4fb84dd
%{_datadir}/cinnamon-screensaver/screensavers/
4fb84dd
4fb84dd
4fb84dd
%changelog
228eb8e
* Thu Mar 07 2019 Troy Dawson <tdawson@redhat.com> - 3.6.1-4
228eb8e
- Rebuilt to change main python from 3.4 to 3.6
228eb8e
4fb84dd
* Thu Nov 29 2018 Pat Riehecky <riehecky@fnal.gov> - 3.6.1-3
4fb84dd
- Return to EPEL7
4fb84dd
4fb84dd
* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 3.6.1-2
4fb84dd
- Adaptions for EPEL7
4fb84dd
4fb84dd
* Mon Nov 13 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.6.1-1
4fb84dd
- update to 3.6.1 release
4fb84dd
4fb84dd
* Wed Oct 25 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.6.0-2
4fb84dd
- bump translations requires
4fb84dd
4fb84dd
* Mon Oct 23 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.6.0-1
4fb84dd
- update to 3.6.0 release
4fb84dd
4fb84dd
* Thu Oct 12 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.3-1
4fb84dd
- update to 3.4.3 release
4fb84dd
4fb84dd
* Fri Sep 01 2017 Björn Esser <besser82@fedoraproject.org> - 3.4.2-3
4fb84dd
- Some more changes for EPEL
4fb84dd
4fb84dd
* Wed Aug 30 2017 Björn Esser <besser82@fedoraproject.org> - 3.4.2-2
4fb84dd
- Adjustments for EPEL
4fb84dd
4fb84dd
* Wed Aug 09 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.2-1
4fb84dd
- update to 3.4.2 release
4fb84dd
4fb84dd
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-4
4fb84dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4fb84dd
4fb84dd
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
4fb84dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4fb84dd
4fb84dd
* Sat Jun 24 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.1-2
4fb84dd
- add missing python3-xapp requires
4fb84dd
4fb84dd
* Wed Jun 21 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.1-1
4fb84dd
- update to 3.4.1 release
4fb84dd
4fb84dd
* Thu May 04 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.0-1
4fb84dd
- update to 3.4.0 release
4fb84dd
4fb84dd
* Fri Apr 21 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.0-0.1.20170421git358369e
4fb84dd
- update to latest git snapshot
4fb84dd
4fb84dd
* Thu Mar 09 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.14-0.4.20170308git39da3f0
4fb84dd
- update to latest git snapshot
4fb84dd
4fb84dd
* Wed Mar 08 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.14-0.3.20170308git55a26c2
4fb84dd
- update to latest git snapshot
4fb84dd
4fb84dd
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.14-0.2.20170124git5561f3c
4fb84dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4fb84dd
4fb84dd
* Tue Jan 24 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.14-0.1.20170124git5561f3c
4fb84dd
- update to git snapshot
4fb84dd
4fb84dd
* Tue Jan 10 2017 leigh scott <leigh123linux@googlemail.com> - 3.2.13-2
4fb84dd
- add some upstream commits (fixes rhbz 1399731)
4fb84dd
4fb84dd
* Sun Jan 08 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.13-1
4fb84dd
- update to 3.2.13 release
4fb84dd
4fb84dd
* Sat Dec 24 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.12-1
4fb84dd
- update to 3.2.12 release
4fb84dd
- patch to hide message strings
4fb84dd
4fb84dd
* Thu Dec 22 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.11-1
4fb84dd
- update to 3.2.11 release
4fb84dd
4fb84dd
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.2.9-3
4fb84dd
- Rebuild for Python 3.6
4fb84dd
4fb84dd
* Thu Dec 15 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.9-2
4fb84dd
- patch to fix cinnamon-screensaver-pam-helper rpmlint error
4fb84dd
4fb84dd
* Mon Dec 12 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.9-1
4fb84dd
- update to 3.2.9 release
4fb84dd
4fb84dd
* Sun Dec 11 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.7-2
4fb84dd
- add missing requires python3-setproctitle
4fb84dd
4fb84dd
* Sat Dec 10 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.7-1
4fb84dd
- update to 3.2.7 release
4fb84dd
4fb84dd
* Thu Nov 24 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.6-1
4fb84dd
- update to 3.2.6 release
4fb84dd
4fb84dd
* Thu Nov 17 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.3-1
4fb84dd
- update to 3.2.3 release
4fb84dd
4fb84dd
* Wed Nov 09 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.0-2
4fb84dd
- Fix python gi requires
4fb84dd
4fb84dd
* Mon Nov 07 2016 Leigh Scott <leigh123linux@googlemail.com> - 3.2.0-1
4fb84dd
- update to 3.2.0 release
4fb84dd
4fb84dd
* Mon May 30 2016 Leigh Scott <leigh123linux@googlemail.com> - 3.0.1-1
4fb84dd
- update to 3.0.1 release
4fb84dd
4fb84dd
* Sat Apr 23 2016 Leigh Scott <leigh123linux@googlemail.com> - 3.0.0-1
4fb84dd
- update to 3.0.0 release
4fb84dd
4fb84dd
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-5
4fb84dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4fb84dd
4fb84dd
* Fri Nov 27 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-4
4fb84dd
- remove unsupported sub-package for epel as there is no xscreensaver
4fb84dd
4fb84dd
* Fri Nov 27 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-3
4fb84dd
- fix epel conditional
4fb84dd
4fb84dd
* Mon Nov 09 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-2
4fb84dd
- rebuilt
4fb84dd
4fb84dd
* Fri Oct 16 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-1
4fb84dd
- update to 2.8.0 release
4fb84dd
4fb84dd
* Mon Aug 24 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-4
4fb84dd
- Try upstream commits to fix bz 1234998
4fb84dd
4fb84dd
* Sat Aug 01 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-3
4fb84dd
- revert upstream commit as it kills the real process (bz 1234998)
4fb84dd
4fb84dd
* Mon Jun 29 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-2
4fb84dd
- add missing requires to unsupported sub-package
4fb84dd
4fb84dd
* Fri Jun 26 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-1
4fb84dd
- update to 2.6.4 release
4fb84dd
4fb84dd
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.3-3
4fb84dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4fb84dd
4fb84dd
* Wed Jun 03 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.3-2
4fb84dd
- make sub-package noarch
4fb84dd
4fb84dd
* Wed Jun 03 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.3-1
4fb84dd
- update to 2.6.3 release
4fb84dd
- split webkit and xscreensaver into an unsupported sub-package
4fb84dd
4fb84dd
* Mon May 25 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.1-1
4fb84dd
- update to 2.6.1 release
4fb84dd
4fb84dd
* Wed May 20 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.0-2
4fb84dd
- add conditional for f20 webkit br
4fb84dd
4fb84dd
* Wed May 20 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.0-1
4fb84dd
- update to 2.6.0 release
4fb84dd
4fb84dd
* Fri May 15 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.5.0-0.3.git024e5fd
4fb84dd
- update to git snapshot
4fb84dd
4fb84dd
* Wed May 06 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.5.0-0.2.gitc4820fd
4fb84dd
- update to git snapshot
4fb84dd
4fb84dd
* Tue May 05 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.5.0-0.1.git6ea738d
4fb84dd
- update to git snapshot
4fb84dd
4fb84dd
* Tue Mar 31 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.2-1
4fb84dd
- update to 2.4.2
4fb84dd
4fb84dd
* Sun Mar 29 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.1-3
4fb84dd
- fix bz 1206907
4fb84dd
4fb84dd
* Wed Mar 18 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.1-2
4fb84dd
- drop patch and use the upstream fix instead
4fb84dd
4fb84dd
* Sat Feb 21 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.1-1
4fb84dd
- update to 2.4.1
4fb84dd
4fb84dd
* Fri Oct 31 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-1
4fb84dd
- update to 2.4.0
4fb84dd
4fb84dd
* Fri Oct 03 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-0.3.git8de7ff0
4fb84dd
- readd revert 58a522e commit
4fb84dd
4fb84dd
* Wed Oct 01 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-0.2.git8de7ff0
4fb84dd
- update to latest git
4fb84dd
4fb84dd
* Tue Sep 30 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-0.1.gitaf298bc
4fb84dd
- update to latest git
4fb84dd
4fb84dd
* Mon Aug 25 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-5
4fb84dd
- apply upstream fix for CVE-2014-1949 (bz 1064695)
4fb84dd
4fb84dd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-4
4fb84dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4fb84dd
4fb84dd
* Wed Aug 13 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-3
4fb84dd
- Fix CVE-2014-1949 (bz 1064695)
4fb84dd
4fb84dd
* Tue Aug 05 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-2
4fb84dd
- revert 58a522e commit
4fb84dd
4fb84dd
* Fri Jun 27 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-1
4fb84dd
- update to 2.2.4
4fb84dd
4fb84dd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-2
4fb84dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4fb84dd
4fb84dd
* Sun May 11 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.3-1
4fb84dd
- update to 2.2.3
4fb84dd
4fb84dd
* Fri May 02 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.1-1
4fb84dd
- update to 2.2.1
4fb84dd
4fb84dd
* Thu Apr 24 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-2
4fb84dd
- don't clear the window on every draw, just do it on realized
4fb84dd
4fb84dd
* Sat Apr 12 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-1
4fb84dd
- update to 2.2.0
4fb84dd
4fb84dd
* Wed Oct 30 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.3-1
4fb84dd
- update to 2.0.3
4fb84dd
- add patch to fix suspend locking
4fb84dd
4fb84dd
* Thu Oct 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.2-1
4fb84dd
- update to 2.0.2
4fb84dd
4fb84dd
* Fri Oct 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-1
4fb84dd
- update to 2.0.1
4fb84dd
4fb84dd
* Thu Oct 17 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-2
4fb84dd
- Stop starting in gnome-shell as it pissed off the gnome devs
4fb84dd
4fb84dd
* Wed Oct 02 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-1
4fb84dd
- update to 2.0.0
4fb84dd
4fb84dd
* Mon Sep 30 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.9.1-1
4fb84dd
- 1.9.1
4fb84dd
4fb84dd
* Sun Sep 15 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.1-0.2.git4f741eb
4fb84dd
- update to latest git
4fb84dd
- add requires cinnamon-translations
4fb84dd
4fb84dd
* Sun Aug 25 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.1-0.1.git94ca899
4fb84dd
- update to latest git
4fb84dd
- Change buildrequires to cinnamon-desktop-devel
4fb84dd
- Change requires to cinnamon-desktop
4fb84dd
4fb84dd
* Thu Aug 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-5
4fb84dd
- rebuilt
4fb84dd
4fb84dd
* Sun Jul 28 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-4
4fb84dd
- disable console-kit in configure
4fb84dd
- add systemd patch
4fb84dd
4fb84dd
* Mon Jul 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-3
4fb84dd
- fix prep warnings
4fb84dd
4fb84dd
* Mon Jul 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-2
4fb84dd
- fix prep warnings
4fb84dd
4fb84dd
* Thu Jan 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-1
4fb84dd
- Initial build