0201546
#global _internal_version      4f741eb
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
7ede728
Version: 2.2.4
04a6792
Release: 2%{?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
a038463
Source0: http://leigh123linux.fedorapeople.org/pub/cinnamon-screensaver/source/%{name}-%{version}.tar.gz
d904a98
d904a98
Patch0:  cinnamon-screensaver-2.20.0-selinux-permit.patch
04a6792
Patch1:  revert_58a522e.patch
d904a98
921e26e
BuildRequires: pkgconfig(dbus-glib-1) >= %{dbus_glib_version}
921e26e
BuildRequires: pkgconfig(cinnamon-desktop)
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
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
d904a98
Conflicts: xscreensaver < 1:5.00-19
d904a98
d904a98
d904a98
%description
d904a98
cinnamon-screensaver is a screen saver and locker.
d904a98
d904a98
%prep
a038463
%setup -q
d904a98
%patch0 -p1
04a6792
%patch1 -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
0201546
%{_libexecdir}/cinnamon-screensaver-dialog
0201546
%config %{_sysconfdir}/pam.d/cinnamon-screensaver
0201546
%{_mandir}/man1/cinnamon-screensaver*.1.*
d904a98
d904a98
%changelog
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