3d85ea2
# This package depends on automagic byte compilation
3d85ea2
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
3d85ea2
%global _python_bytecompile_extra 1
3d85ea2
d904a98
Summary: Cinnamon Screensaver
d904a98
Name:    cinnamon-screensaver
064a1c2
Version: 4.4.1
592685f
Release: 1%{?dist}
d904a98
License: GPLv2+ and LGPLv2+
b23a06d
URL:     https://github.com/linuxmint/%{name}
4899546
Source0: %{url}/archive/%{version}/%{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
582853f
BuildRequires: python3-devel
c912d12
BuildRequires: gtk3-devel
c912d12
BuildRequires: libXext-devel
c912d12
BuildRequires: desktop-file-utils
c912d12
592685f
Requires: cinnamon-desktop%{?_isa} >= 4.4.0
064a1c2
Requires: cinnamon-translations >= 4.4.0
b23a06d
Requires: accountsservice-libs%{?_isa}
b23a06d
Requires: libgnomekbd%{?_isa}
582853f
Requires: python3-gobject%{?_isa}
582853f
Requires: python3-setproctitle%{?_isa}
582853f
Requires: python3-xapp
582853f
Requires: python3-xapps-overrides%{?_isa}
b23a06d
Requires: xapps%{?_isa}
c912d12
b23a06d
# since we use it, and pam spams the log if a module is missing
b23a06d
Requires: gnome-keyring-pam%{?_isa}
d904a98
fde850f
Obsoletes: cinnamon-screensaver-unsupported < %{version}
fde850f
d904a98
%description
d904a98
cinnamon-screensaver is a screen saver and locker.
d904a98
b23a06d
d904a98
%prep
7abab3a
%autosetup -p1
d904a98
NOCONFIGURE=1 ./autogen.sh
d904a98
b23a06d
d904a98
%build
c912d12
%configure
7076fdd
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
c912d12
%make_build V=1
d904a98
b23a06d
d904a98
%install
c912d12
%make_install
d904a98
172c9c8
desktop-file-install                                     \
172c9c8
  --delete-original                                      \
172c9c8
  --remove-only-show-in=Xfce                             \
b23a06d
  --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
b23a06d
2beebbc
%ldconfig_scriptlets
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/
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
d904a98
%changelog
064a1c2
* Tue Dec 10 2019 Leigh Scott <leigh123linux@googlemail.com> - 4.4.1-1
064a1c2
- Update to 4.4.1 release
064a1c2
592685f
* Sat Nov 16 2019 Leigh Scott <leigh123linux@googlemail.com> - 4.4.0-1
592685f
- Update to 4.4.0 release
592685f
adbeabb
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.0-2
adbeabb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
adbeabb
4899546
* Sun Jun 23 2019 Leigh Scott <leigh123linux@googlemail.com> - 4.2.0-1
4899546
- Update to 4.2.0 release
4899546
98a54e3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.3-2
98a54e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
98a54e3
3bd4923
* Sun Dec 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 4.0.3-1
3bd4923
- Update to 4.0.3 release
3bd4923
6613fe8
* Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 4.0.2-1
6613fe8
- Update to 4.0.2 release
6613fe8
e524a4c
* Mon Nov 12 2018 Leigh Scott <leigh123linux@googlemail.com> - 4.0.1-1
e524a4c
- Update to 4.0.1 release
e524a4c
fde850f
* Sat Nov 03 2018 Leigh Scott <leigh123linux@googlemail.com> - 4.0.0-1
fde850f
- Update to 4.0.0 release
fde850f
- Add Obsoletes cinnamon-screensaver-unsupported
fde850f
582853f
* Sun Oct 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.8.2-4
582853f
- Drop EPEL/RHEL support
582853f
379909e
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-3
379909e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
379909e
bec0a4e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.8.2-2
bec0a4e
- Rebuilt for Python 3.7
bec0a4e
634d75c
* Fri Jun 08 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.8.2-1
634d75c
- Update to 3.8.2 release
634d75c
e5fff6f
* Sun May 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.8.1-1
e5fff6f
- Update to 3.8.1 release
e5fff6f
2beebbc
* Thu Apr 19 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.8.0-1
2beebbc
- Update to 3.8.0 release
2beebbc
c8d559a
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-4
c8d559a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c8d559a
b084e83
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.1-3
b084e83
- Remove obsolete scriptlets
b084e83
b23a06d
* Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 3.6.1-2
b23a06d
- Adaptions for EPEL7
b23a06d
9555cee
* Mon Nov 13 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.6.1-1
9555cee
- update to 3.6.1 release
9555cee
27c1c46
* Wed Oct 25 2017 Leigh Scott <leigh123linux@googlemail.com> - 3.6.0-2
27c1c46
- bump translations requires
27c1c46
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