7ef9e77
%global _internal_version      6ea738d
05b5db2
d904a98
%global dbus_glib_version      0.74
d904a98
%global redhat_menus_version   5.0.1
d904a98
%global libgnomekbd_version    2.91.1
d904a98
d904a98
Summary: Cinnamon Screensaver
d904a98
Name:    cinnamon-screensaver
7ef9e77
Version: 2.5.0
7ef9e77
Release: 0.1.git%{_internal_version}%{?dist}
d904a98
License: GPLv2+ and LGPLv2+
d904a98
URL:     http://cinnamon.linuxmint.com
d904a98
d904a98
#Because linuxmint upstream refuses to host pristine upstream tarballs
05b5db2
#wget https://github.com/linuxmint/cinnamon-screensaver/archive/%{version}.tar.gz -O cinnamon-screensaver-%{version}.tar.gz
05b5db2
# for git
05b5db2
# wget https://github.com/linuxmint/cinnamon-screensaver/tarball/%%{_internal_version} -O cinnamon-screensaver-%%{version}.git%%{_internal_version}.tar.gz
7ef9e77
Source0: http://leigh123linux.fedorapeople.org/pub/cinnamon-screensaver/source/cinnamon-screensaver-%{version}.git%{_internal_version}.tar.gz
7ef9e77
#Source0: http://leigh123linux.fedorapeople.org/pub/cinnamon-screensaver/source/%%{name}-%%{version}.tar.gz
d904a98
d904a98
Patch0:  cinnamon-screensaver-2.20.0-selinux-permit.patch
d904a98
921e26e
BuildRequires: pkgconfig(dbus-glib-1) >= %{dbus_glib_version}
7ef9e77
BuildRequires: pkgconfig(cinnamon-desktop) >= 2.5.0
921e26e
BuildRequires: pkgconfig(nss)
921e26e
BuildRequires: pkgconfig(xscrnsaver)
921e26e
BuildRequires: pkgconfig(xmu)
921e26e
BuildRequires: pkgconfig(libgnomekbd) >= %{libgnomekbd_version}
921e26e
BuildRequires: pkgconfig(libsystemd-login)
d904a98
# this is here because the configure tests look for protocol headers
921e26e
BuildRequires: pkgconfig(libxklavier)
921e26e
BuildRequires: pkgconfig(xxf86misc)
921e26e
BuildRequires: pkgconfig(xxf86vm)
921e26e
BuildRequires: pkgconfig(xtst)
d904a98
BuildRequires: desktop-file-utils
921e26e
BuildRequires: gnome-common
921e26e
BuildRequires: intltool
921e26e
BuildRequires: pam-devel
7ef9e77
BuildRequires: webkitgtk4-devel
d904a98
30597b7
Requires: cinnamon-translations
d904a98
Requires: redhat-menus >= %{redhat_menus_version}
d904a98
# since we use it, and pam spams the log if a module is missing
d904a98
Requires: gnome-keyring-pam
7ef9e77
Requires: xscreensaver-extras
7ef9e77
Requires: xscreensaver-gl-extras
d904a98
Conflicts: xscreensaver < 1:5.00-19
d904a98
d904a98
d904a98
%description
d904a98
cinnamon-screensaver is a screen saver and locker.
d904a98
d904a98
%prep
7ef9e77
%setup -q -n linuxmint-%{name}-%{_internal_version}
d904a98
%patch0 -p1
124e42a
echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
4d4e117
echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.ac
4d4e117
d904a98
NOCONFIGURE=1 ./autogen.sh
d904a98
d904a98
%build
dc283d4
%configure --with-mit-ext=no --without-console-kit
d904a98
make V=1 %{?_smp_mflags}
d904a98
d904a98
%install
e2075c5
%{make_install}
d904a98
172c9c8
desktop-file-install                                     \
172c9c8
  --delete-original                                      \
172c9c8
  --remove-only-show-in=Xfce                             \
0201546
  --dir $RPM_BUILD_ROOT%{_datadir}/applications          \
0201546
  $RPM_BUILD_ROOT%{_datadir}/applications/cinnamon-screensaver.desktop
172c9c8
d904a98
30597b7
%files
d904a98
%doc AUTHORS NEWS README COPYING
d904a98
%{_bindir}/cinnamon-screensaver*
0201546
%{_datadir}/applications/cinnamon-screensaver.desktop
d904a98
%{_datadir}/dbus-1/services/org.cinnamon.ScreenSaver.service
7ef9e77
%{_datadir}/cinnamon-screensaver/
0201546
%{_libexecdir}/cinnamon-screensaver-dialog
0201546
%config %{_sysconfdir}/pam.d/cinnamon-screensaver
0201546
%{_mandir}/man1/cinnamon-screensaver*.1.*
d904a98
d904a98
%changelog
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
d904a98