123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- %define _dbus_ver 1.6.4
- %define _gtk_ver 3.6.0
- %define _glib_ver 2.34.0
- %define _libgnomekbd_ver 3.4.0
- %define _libglade_ver 2.6.0
- %define _libgnome_menu_ver 3.2.0
- %define _gnome_desktop_ver 3.2.0
- %define _libexif_ver 0.6.12
- %define xscreensaverdir %{_datadir}/control-center/screensavers
- Summary: GNOME Screensaver
- Summary(ja): GNOME スクリーンセーバー
- Name: gnome-screensaver
- Version: 3.6.1
- Release: 5%{?_dist_release}
- License: GPL
- Group: User Interface/Desktops
- URL: http://live.gnome.org/GnomeScreensaver/
- Source0: ftp://ftp.gnome.org/pub/gnome/sources/gnome-screensaver/3.6/gnome-screensaver-%{version}.tar.xz
- Source1: gnome-screensaver-hide-xscreensaver.menu
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: Takemikaduchi
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gtk3-devel >= %{_gtk_ver}
- BuildRequires: glib2-devel >= %{_glib_ver}
- BuildRequires: dbus-devel >= %{_dbus_ver}
- BuildRequires: libgnomekbd-devel >= %{_libgnomekbd_ver}
- BuildRequires: libglade2-devel >= %{_libglade_ver}
- BuildRequires: gnome-menus-devel >= %{_libgnome_menu_ver}
- BuildRequires: gnome-desktop3-devel >= %{_gnome_desktop_ver}
- BuildRequires: libexif-devel >= %{_libexif_ver}
- BuildRequires: pam-devel
- BuildRequires: libX11-devel, libXScrnSaver-devel, libXext-devel
- BuildRequires: libXinerama-devel libXmu-devel
- BuildRequires: libnotify-devel
- BuildRequires: xorg-x11-proto-devel
- BuildRequires: libXxf86misc-devel
- BuildRequires: libXxf86vm-devel
- BuildRequires: gettext
- BuildRequires: perl(XML::Parser)
- BuildRequires: nss-devel
- BuildRequires: automake, autoconf, libtool, intltool
- BuildRequires: desktop-file-utils
- Requires(post): glib2
- Requires(preun): glib2
- %description
- gnome-screensaver is a screen saver and locker that aims to have
- simple, sane, secure defaults and be well integrated with the desktop.
- It is designed to support:
- * the ability to lock down configuration settings
- * translation into many languages
- * user switching
- %prep
- %setup -q
- %build
- %configure \
- --enable-locking \
- --without-systemd
- %__make
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- #desktop-file-install --vendor gnome --delete-original \
- # --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- # --add-only-show-in GNOME \
- # $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
- %find_lang %{name}
- # hide xscreensaver from the menus
- install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/preferences-post-merged/gnome-screensaver-hide-xscreensaver.menu
- %postun
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- %posttrans
- glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
- %clean
- %__rm -rf %{buildroot}
- %files -f %{name}.lang
- %defattr(-,root,root)
- %doc AUTHORS COPYING ChangeLog NEWS README
- %{_sysconfdir}/pam.d/*
- %{_sysconfdir}/xdg/menus/preferences-post-merged/*
- %{_sysconfdir}/xdg/autostart/gnome-screensaver.desktop
- %{_bindir}/gnome-screensaver
- %{_bindir}/gnome-screensaver-command
- %{_libexecdir}/gnome-screensaver-dialog
- %{_mandir}/man1/*.1*
- %changelog
- * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-5
- - rebuild with GNOME 3.12.0 environment
- * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-4
- - rebuild with VineSeed environment
- * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-3
- - rebuild with GNOME 3.10.1 environment
- * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-2
- - rebuild with GNOME 3.8.1 environment
- * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
- - new upstream release
- * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
- - new upstream release
- * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1
- - new upstream release
- * Sun Jul 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
- - new upstream release
- * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
- - new upstream release
- * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
- - new upstream release
- * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
- - new upstream release
- * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
- - new upstream release
- * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
- - new upstream release
- * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
- - new upstream release
- * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
- - new upstream release
- - remove BuildRequires: gnome-vfs2-devel, libgnomeui-devel
- - fix %files
- * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2
- - rebuild with rpm-4.8.1 for pkg-config file
- * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
- - new upstream release
- * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1
- - new upstream release
- - add BuildRequires: desktop-file-utils
- * Mon Nov 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.0-1
- - new upstream release
- - update BR with gnome-2.28
- * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
- - new upstream release
- * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
- - new upstream release
- - add BR: gnome-desktop-devel
- - update BR with gnome-2.26
- * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
- - new upstream release
- * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.2-1
- - new upstream release
- * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.3-0vl1
- - new upstream release
- * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl3
- - do not migrate at %%post
- * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl2
- - migrate xscreensaver's screensavers like FC et al.
- * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl1
- - initial build
|