d904a98
Summary: Cinnamon Screensaver
d904a98
Name:    cinnamon-screensaver
bbb10de
Version: 3.6.0
3430930
Release: 1%{?dist}
d904a98
License: GPLv2+ and LGPLv2+
7abab3a
URL:     https://github.com/linuxmint/
7abab3a
Source0: %url/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
d904a98
c912d12
BuildRequires: autoconf
c912d12
BuildRequires: automake
921e26e
BuildRequires: intltool
c912d12
BuildRequires: autoconf-archive
c912d12
BuildRequires: glib2-devel
c912d12
BuildRequires: libtool
c912d12
BuildRequires: gobject-introspection-devel
d0831b4
BuildRequires: pam-devel
7a8eb88
%if 0%{?fedora} || 0%{?rhel} >= 8
c912d12
BuildRequires: python3
7a8eb88
%else  # 0%%{?fedora} || 0%%{?rhel} >= 8
232b699
BuildRequires: python34
7a8eb88
%endif # 0%%{?fedora} || 0%%{?rhel} >= 8
c912d12
BuildRequires: gtk3-devel
c912d12
BuildRequires: libXext-devel
c912d12
BuildRequires: desktop-file-utils
c912d12
d904a98
bbb10de
Requires: cinnamon-desktop >= 3.6.0
c5a1b01
Requires: cinnamon-translations >= 3.6.0
c912d12
Requires: xapps
c912d12
Requires: accountsservice-libs
c912d12
Requires: libgnomekbd
7a8eb88
%if 0%{?fedora} || 0%{?rhel} >= 8
4217836
Requires: python3-gobject
7801fa6
Requires: python3-setproctitle
1d1dc0b
Requires: python3-xapp
7a8eb88
%else  # 0%%{?fedora} || 0%%{?rhel} >= 8
232b699
Requires: python34-gobject
232b699
Requires: python34-setproctitle
232b699
Requires: python34-xapp
7a8eb88
%endif # 0%%{?fedora} || 0%%{?rhel} >= 8
d904a98
# since we use it, and pam spams the log if a module is missing
d904a98
Requires: gnome-keyring-pam
c912d12
d904a98
d904a98
%description
d904a98
cinnamon-screensaver is a screen saver and locker.
d904a98
c2b6e2d
%package unsupported
c912d12
Summary:   Additional unsupported screensavers
900f857
BuildArch: noarch
c912d12
Conflicts: xscreensaver < 1:5.00-19
c912d12
Requires:  %{name} = %{version}-%{release}
0ce17ea
Requires: webkitgtk4
c2b6e2d
Requires: xscreensaver-extras
c2b6e2d
Requires: xscreensaver-gl-extras
c2b6e2d
c2b6e2d
%description unsupported
c2b6e2d
This package provides additional unsupported screensavers.
c2b6e2d
They are unsupported in fedora due to issues with suspend,
c2b6e2d
you may need to use the Esc key to get the unlock screen.
c2b6e2d
d904a98
%prep
7abab3a
%autosetup -p1
d904a98
NOCONFIGURE=1 ./autogen.sh
d904a98
d904a98
%build
c912d12
%configure
7076fdd
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
c912d12
%make_build V=1
d904a98
d904a98
%install
c912d12
%make_install
d904a98
172c9c8
desktop-file-install                                     \
172c9c8
  --delete-original                                      \
172c9c8
  --remove-only-show-in=Xfce                             \
94f6638
  --dir %{buildroot}%{_datadir}/applications          \
94f6638
  %{buildroot}%{_datadir}/applications/cinnamon-screensaver.desktop
172c9c8
4ae39ae
# Fix rpmlint errors
94f6638
for file in %{buildroot}%{_datadir}/cinnamon-screensaver/{dbusdepot,util,widgets}/*.py; do
e201d02
chmod a+x $file
c912d12
done
94f6638
for file in %{buildroot}%{_datadir}/cinnamon-screensaver/*.py; do
e201d02
chmod a+x $file
c912d12
done
94f6638
chmod a-x %{buildroot}%{_datadir}/cinnamon-screensaver/{dbusdepot,util,widgets}/__init__.py
94f6638
chmod a-x %{buildroot}%{_datadir}/cinnamon-screensaver/{__init__,config}.py
94f6638
chmod a+x %{buildroot}%{_datadir}/cinnamon-screensaver/pamhelper/authClient.py
c912d12
c912d12
# Delete development files
94f6638
rm %{buildroot}%{_libdir}/libcscreensaver.la
94f6638
rm %{buildroot}%{_libdir}/libcscreensaver.so
94f6638
rm %{buildroot}%{_libdir}/pkgconfig/cscreensaver.pc
94f6638
rm %{buildroot}%{_datadir}/gir-1.0/CScreensaver-1.0.gir
94f6638
rm %{buildroot}%{_includedir}/cinnamon-screensaver/libcscreensaver/*.h
c912d12
c912d12
%post
c912d12
/sbin/ldconfig
c912d12
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
c912d12
c912d12
%postun
c912d12
/sbin/ldconfig
c912d12
if [ $1 -eq 0 ] ; then
c912d12
 /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
c912d12
 /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
c912d12
fi
c912d12
c912d12
%posttrans
c912d12
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
c912d12
c912d12
30597b7
%files
c912d12
%doc AUTHORS NEWS README.md
f9b7aae
%license COPYING COPYING.LIB
e21f1a0
%config(noreplace) %{_sysconfdir}/pam.d/cinnamon-screensaver
d904a98
%{_bindir}/cinnamon-screensaver*
0201546
%{_datadir}/applications/cinnamon-screensaver.desktop
c912d12
%{_datadir}/cinnamon-screensaver/
c912d12
%exclude %{_datadir}/cinnamon-screensaver/screensavers/
d904a98
%{_datadir}/dbus-1/services/org.cinnamon.ScreenSaver.service
c912d12
%{_datadir}/icons/hicolor/scalable/*/*
4ae39ae
%{_libexecdir}/cinnamon-screensaver-pam-helper
c912d12
%{_libdir}/libcscreensaver.so.*
c912d12
%{_libdir}/girepository-1.0/CScreensaver-1.0.typelib
d904a98
c2b6e2d
%files unsupported
c912d12
%{_datadir}/cinnamon-screensaver/screensavers/
232b699
c2b6e2d
d904a98
%changelog
bbb10de
* Mon Oct 23 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.6.0-1
bbb10de
- update to 3.6.0 release
bbb10de
3430930
* Thu Oct 12 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.3-1
3430930
- update to 3.4.3 release
3430930
232b699
* Fri Sep 01 2017 Björn Esser <besser82@fedoraproject.org> - 3.4.2-3
232b699
- Some more changes for EPEL
232b699
7a8eb88
* Wed Aug 30 2017 Björn Esser <besser82@fedoraproject.org> - 3.4.2-2
7a8eb88
- Adjustments for EPEL
7a8eb88
e7591a5
* Wed Aug 09 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.2-1
e7591a5
- update to 3.4.2 release
e7591a5
4ce6d75
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-4
4ce6d75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
4ce6d75
0c9c119
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
0c9c119
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0c9c119
1d1dc0b
* Sat Jun 24 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.1-2
1d1dc0b
- add missing python3-xapp requires
1d1dc0b
1258b49
* Wed Jun 21 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.1-1
1258b49
- update to 3.4.1 release
1258b49
7abab3a
* Thu May 04 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.0-1
7abab3a
- update to 3.4.0 release
7abab3a
e201d02
* Fri Apr 21 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.4.0-0.1.20170421git358369e
e201d02
- update to latest git snapshot
e201d02
6565873
* Thu Mar 09 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.14-0.4.20170308git39da3f0
6565873
- update to latest git snapshot
6565873
94f6638
* Wed Mar 08 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.14-0.3.20170308git55a26c2
94f6638
- update to latest git snapshot
94f6638
f787f77
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.14-0.2.20170124git5561f3c
f787f77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f787f77
e2f071a
* Tue Jan 24 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.14-0.1.20170124git5561f3c
e2f071a
- update to git snapshot
e2f071a
c960ded
* Tue Jan 10 2017 leigh scott <leigh123linux@googlemail.com> - 3.2.13-2
c960ded
- add some upstream commits (fixes rhbz 1399731)
c960ded
7a3eda5
* Sun Jan 08 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.2.13-1
7a3eda5
- update to 3.2.13 release
7a3eda5
4cdaf6f
* Sat Dec 24 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.12-1
7a3eda5
- update to 3.2.12 release
4cdaf6f
- patch to hide message strings
4cdaf6f
7191aff
* Thu Dec 22 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.11-1
7191aff
- update to 3.2.11 release
7191aff
f25dc92
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.2.9-3
f25dc92
- Rebuild for Python 3.6
f25dc92
4ae39ae
* Thu Dec 15 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.9-2
4ae39ae
- patch to fix cinnamon-screensaver-pam-helper rpmlint error
4ae39ae
616242b
* Mon Dec 12 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.9-1
616242b
- update to 3.2.9 release
616242b
7801fa6
* Sun Dec 11 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.7-2
7801fa6
- add missing requires python3-setproctitle
7801fa6
e21f1a0
* Sat Dec 10 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.7-1
e21f1a0
- update to 3.2.7 release
e21f1a0
2d5987e
* Thu Nov 24 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.6-1
2d5987e
- update to 3.2.6 release
2d5987e
6e8b216
* Thu Nov 17 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.3-1
6e8b216
- update to 3.2.3 release
6e8b216
4217836
* Wed Nov 09 2016 leigh scott <leigh123linux@googlemail.com> - 3.2.0-2
4217836
- Fix python gi requires
4217836
c912d12
* Mon Nov 07 2016 Leigh Scott <leigh123linux@googlemail.com> - 3.2.0-1
c912d12
- update to 3.2.0 release
c912d12
3ae0ca6
* Mon May 30 2016 Leigh Scott <leigh123linux@googlemail.com> - 3.0.1-1
3ae0ca6
- update to 3.0.1 release
3ae0ca6
c485b2a
* Sat Apr 23 2016 Leigh Scott <leigh123linux@googlemail.com> - 3.0.0-1
c485b2a
- update to 3.0.0 release
c485b2a
405b8cf
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.0-5
405b8cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
405b8cf
69d4925
* Fri Nov 27 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-4
69d4925
- remove unsupported sub-package for epel as there is no xscreensaver
69d4925
d430232
* Fri Nov 27 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-3
d430232
- fix epel conditional
d430232
1d6b9c4
* Mon Nov 09 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-2
1d6b9c4
- rebuilt
1d6b9c4
3d4372a
* Fri Oct 16 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.8.0-1
3d4372a
- update to 2.8.0 release
3d4372a
0021e13
* Mon Aug 24 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-4
0021e13
- Try upstream commits to fix bz 1234998
0021e13
c04169c
* Sat Aug 01 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-3
c04169c
- revert upstream commit as it kills the real process (bz 1234998)
c04169c
0ce17ea
* Mon Jun 29 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-2
0ce17ea
- add missing requires to unsupported sub-package
0ce17ea
1006663
* Fri Jun 26 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.4-1
1006663
- update to 2.6.4 release
1006663
e8efbf8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.3-3
e8efbf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e8efbf8
900f857
* Wed Jun 03 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.3-2
900f857
- make sub-package noarch
900f857
c2b6e2d
* Wed Jun 03 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.3-1
c2b6e2d
- update to 2.6.3 release
c2b6e2d
- split webkit and xscreensaver into an unsupported sub-package
c2b6e2d
22db986
* Mon May 25 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.1-1
22db986
- update to 2.6.1 release
22db986
67e4ea7
* Wed May 20 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.0-2
67e4ea7
- add conditional for f20 webkit br
67e4ea7
3eee510
* Wed May 20 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.6.0-1
3eee510
- update to 2.6.0 release
3eee510
3eee510
* Fri May 15 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.5.0-0.3.git024e5fd
3eee510
- update to git snapshot
3eee510
cb8b3db
* Wed May 06 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.5.0-0.2.gitc4820fd
cb8b3db
- update to git snapshot
cb8b3db
7ef9e77
* Tue May 05 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.5.0-0.1.git6ea738d
7ef9e77
- update to git snapshot
7ef9e77
be3c5a4
* Tue Mar 31 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.2-1
be3c5a4
- update to 2.4.2
be3c5a4
8f0abd7
* Sun Mar 29 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.1-3
8f0abd7
- fix bz 1206907
8f0abd7
be3c27e
* Wed Mar 18 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.1-2
be3c27e
- drop patch and use the upstream fix instead
be3c27e
d8c5317
* Sat Feb 21 2015 Leigh Scott <leigh123linux@googlemail.com> - 2.4.1-1
d8c5317
- update to 2.4.1
d8c5317
05b6a10
* Fri Oct 31 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-1
05b6a10
- update to 2.4.0
05b6a10
028eea3
* Fri Oct 03 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-0.3.git8de7ff0
028eea3
- readd revert 58a522e commit
028eea3
28b3fc5
* Wed Oct 01 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-0.2.git8de7ff0
28b3fc5
- update to latest git
28b3fc5
809be03
* Tue Sep 30 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.4.0-0.1.gitaf298bc
809be03
- update to latest git
809be03
fbaeccc
* Mon Aug 25 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-5
fbaeccc
- apply upstream fix for CVE-2014-1949 (bz 1064695)
fbaeccc
21ebc2a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-4
21ebc2a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
21ebc2a
3edfda9
* Wed Aug 13 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-3
3edfda9
- Fix CVE-2014-1949 (bz 1064695)
3edfda9
04a6792
* Tue Aug 05 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-2
04a6792
- revert 58a522e commit
04a6792
7ede728
* Fri Jun 27 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.4-1
7ede728
- update to 2.2.4
7ede728
9eba7f5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-2
9eba7f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9eba7f5
99cc313
* Sun May 11 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.3-1
99cc313
- update to 2.2.3
99cc313
64ebfe9
* Fri May 02 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.1-1
64ebfe9
- update to 2.2.1
64ebfe9
9ddf6fd
* Thu Apr 24 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-2
9ddf6fd
- don't clear the window on every draw, just do it on realized
9ddf6fd
1713338
* Sat Apr 12 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-1
1713338
- update to 2.2.0
1713338
efced6b
* Wed Oct 30 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.3-1
efced6b
- update to 2.0.3
efced6b
- add patch to fix suspend locking
efced6b
e2075c5
* Thu Oct 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.2-1
e2075c5
- update to 2.0.2
e2075c5
0201546
* Fri Oct 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-1
0201546
- update to 2.0.1
0201546
172c9c8
* Thu Oct 17 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-2
172c9c8
- Stop starting in gnome-shell as it pissed off the gnome devs
172c9c8
d0a7b8d
* Wed Oct 02 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-1
d0a7b8d
- update to 2.0.0
d0a7b8d
a038463
* Mon Sep 30 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.9.1-1
d0a7b8d
- 1.9.1
a038463
30597b7
* Sun Sep 15 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.1-0.2.git4f741eb
30597b7
- update to latest git
30597b7
- add requires cinnamon-translations
30597b7
05b5db2
* Sun Aug 25 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.1-0.1.git94ca899
05b5db2
- update to latest git
05b5db2
- Change buildrequires to cinnamon-desktop-devel
05b5db2
- Change requires to cinnamon-desktop
05b5db2
127f8ef
* Thu Aug 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-5
127f8ef
- rebuilt
127f8ef
dc283d4
* Sun Jul 28 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-4
dc283d4
- disable console-kit in configure
dc283d4
- add systemd patch
dc283d4
124e42a
* Mon Jul 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-3
124e42a
- fix prep warnings
124e42a
4d4e117
* Mon Jul 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-2
4d4e117
- fix prep warnings
4d4e117
d904a98
* Thu Jan 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.0-1
d904a98
- Initial build