[6890] | 1 | %define _dbus_ver 1.6.4 |
---|
| 2 | %define _gtk_ver 3.6.0 |
---|
| 3 | %define _glib_ver 2.34.0 |
---|
[6011] | 4 | %define _libgnomekbd_ver 3.4.0 |
---|
[521] | 5 | %define _libglade_ver 2.6.0 |
---|
[4850] | 6 | %define _libgnome_menu_ver 3.2.0 |
---|
| 7 | %define _gnome_desktop_ver 3.2.0 |
---|
[521] | 8 | %define _libexif_ver 0.6.12 |
---|
| 9 | |
---|
| 10 | %define xscreensaverdir %{_datadir}/control-center/screensavers |
---|
| 11 | |
---|
| 12 | Summary: GNOME Screensaver |
---|
| 13 | Summary(ja): GNOME スクリーンセーバー |
---|
| 14 | Name: gnome-screensaver |
---|
[6951] | 15 | Version: 3.6.1 |
---|
[8353] | 16 | Release: 5%{?_dist_release} |
---|
[521] | 17 | License: GPL |
---|
| 18 | Group: User Interface/Desktops |
---|
| 19 | URL: http://live.gnome.org/GnomeScreensaver/ |
---|
| 20 | |
---|
[6890] | 21 | Source0: ftp://ftp.gnome.org/pub/gnome/sources/gnome-screensaver/3.6/gnome-screensaver-%{version}.tar.xz |
---|
[521] | 22 | Source1: gnome-screensaver-hide-xscreensaver.menu |
---|
| 23 | |
---|
| 24 | Vendor: Project Vine |
---|
| 25 | Distribution: Vine Linux |
---|
[8119] | 26 | Packager: Takemikaduchi |
---|
[521] | 27 | |
---|
| 28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[4616] | 29 | BuildRequires: gtk3-devel >= %{_gtk_ver} |
---|
[521] | 30 | BuildRequires: glib2-devel >= %{_glib_ver} |
---|
| 31 | BuildRequires: dbus-devel >= %{_dbus_ver} |
---|
| 32 | BuildRequires: libgnomekbd-devel >= %{_libgnomekbd_ver} |
---|
| 33 | BuildRequires: libglade2-devel >= %{_libglade_ver} |
---|
| 34 | BuildRequires: gnome-menus-devel >= %{_libgnome_menu_ver} |
---|
[4616] | 35 | BuildRequires: gnome-desktop3-devel >= %{_gnome_desktop_ver} |
---|
[521] | 36 | BuildRequires: libexif-devel >= %{_libexif_ver} |
---|
| 37 | BuildRequires: pam-devel |
---|
[566] | 38 | BuildRequires: libX11-devel, libXScrnSaver-devel, libXext-devel |
---|
| 39 | BuildRequires: libXinerama-devel libXmu-devel |
---|
| 40 | BuildRequires: libnotify-devel |
---|
| 41 | BuildRequires: xorg-x11-proto-devel |
---|
| 42 | BuildRequires: libXxf86misc-devel |
---|
| 43 | BuildRequires: libXxf86vm-devel |
---|
| 44 | BuildRequires: gettext |
---|
| 45 | BuildRequires: perl(XML::Parser) |
---|
| 46 | BuildRequires: nss-devel |
---|
| 47 | BuildRequires: automake, autoconf, libtool, intltool |
---|
| 48 | BuildRequires: desktop-file-utils |
---|
[521] | 49 | |
---|
[6537] | 50 | Requires(post): glib2 |
---|
| 51 | Requires(preun): glib2 |
---|
[521] | 52 | |
---|
| 53 | %description |
---|
| 54 | gnome-screensaver is a screen saver and locker that aims to have |
---|
| 55 | simple, sane, secure defaults and be well integrated with the desktop. |
---|
| 56 | It is designed to support: |
---|
| 57 | |
---|
| 58 | * the ability to lock down configuration settings |
---|
| 59 | * translation into many languages |
---|
| 60 | * user switching |
---|
| 61 | |
---|
| 62 | %prep |
---|
| 63 | %setup -q |
---|
| 64 | |
---|
| 65 | %build |
---|
| 66 | %configure \ |
---|
[5651] | 67 | --enable-locking \ |
---|
| 68 | --without-systemd |
---|
[521] | 69 | %__make |
---|
| 70 | |
---|
| 71 | %install |
---|
| 72 | rm -rf $RPM_BUILD_ROOT |
---|
| 73 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 74 | |
---|
[4616] | 75 | #desktop-file-install --vendor gnome --delete-original \ |
---|
| 76 | # --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 77 | # --add-only-show-in GNOME \ |
---|
| 78 | # $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop |
---|
[521] | 79 | |
---|
| 80 | %find_lang %{name} |
---|
| 81 | |
---|
| 82 | # hide xscreensaver from the menus |
---|
| 83 | install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/preferences-post-merged/gnome-screensaver-hide-xscreensaver.menu |
---|
| 84 | |
---|
| 85 | |
---|
[4616] | 86 | %postun |
---|
| 87 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 88 | |
---|
[4616] | 89 | %posttrans |
---|
| 90 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 91 | |
---|
[4616] | 92 | |
---|
[521] | 93 | %clean |
---|
| 94 | %__rm -rf %{buildroot} |
---|
| 95 | |
---|
| 96 | %files -f %{name}.lang |
---|
| 97 | %defattr(-,root,root) |
---|
[4812] | 98 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
[521] | 99 | %{_sysconfdir}/pam.d/* |
---|
| 100 | %{_sysconfdir}/xdg/menus/preferences-post-merged/* |
---|
| 101 | %{_sysconfdir}/xdg/autostart/gnome-screensaver.desktop |
---|
[4616] | 102 | %{_bindir}/gnome-screensaver |
---|
| 103 | %{_bindir}/gnome-screensaver-command |
---|
| 104 | %{_libexecdir}/gnome-screensaver-dialog |
---|
[521] | 105 | %{_mandir}/man1/*.1* |
---|
| 106 | |
---|
| 107 | %changelog |
---|
[8353] | 108 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-5 |
---|
| 109 | - rebuild with GNOME 3.12.0 environment |
---|
| 110 | |
---|
[8119] | 111 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-4 |
---|
| 112 | - rebuild with VineSeed environment |
---|
| 113 | |
---|
[7938] | 114 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-3 |
---|
| 115 | - rebuild with GNOME 3.10.1 environment |
---|
| 116 | |
---|
[7633] | 117 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-2 |
---|
| 118 | - rebuild with GNOME 3.8.1 environment |
---|
| 119 | |
---|
[6951] | 120 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[6890] | 123 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[6619] | 126 | * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[6537] | 129 | * Sun Jul 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
| 130 | - new upstream release |
---|
| 131 | |
---|
[6078] | 132 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
[6011] | 133 | - new upstream release |
---|
| 134 | |
---|
[5651] | 135 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
[4850] | 138 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 139 | - new upstream release |
---|
| 140 | |
---|
[4812] | 141 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
[4650] | 144 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
[4616] | 147 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
[2041] | 150 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - remove BuildRequires: gnome-vfs2-devel, libgnomeui-devel |
---|
| 153 | - fix %files |
---|
| 154 | |
---|
[1897] | 155 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2 |
---|
| 156 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 157 | |
---|
[805] | 158 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 159 | - new upstream release |
---|
| 160 | |
---|
[566] | 161 | * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1 |
---|
| 162 | - new upstream release |
---|
| 163 | - add BuildRequires: desktop-file-utils |
---|
| 164 | |
---|
[521] | 165 | * Mon Nov 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.0-1 |
---|
| 166 | - new upstream release |
---|
| 167 | - update BR with gnome-2.28 |
---|
| 168 | |
---|
| 169 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
| 170 | - new upstream release |
---|
| 171 | |
---|
| 172 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 173 | - new upstream release |
---|
| 174 | - add BR: gnome-desktop-devel |
---|
| 175 | - update BR with gnome-2.26 |
---|
| 176 | |
---|
| 177 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 178 | - new upstream release |
---|
| 179 | |
---|
| 180 | * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.2-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
| 183 | * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.3-0vl1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
| 186 | * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl3 |
---|
| 187 | - do not migrate at %%post |
---|
| 188 | |
---|
| 189 | * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl2 |
---|
| 190 | - migrate xscreensaver's screensavers like FC et al. |
---|
| 191 | |
---|
| 192 | * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl1 |
---|
| 193 | - initial build |
---|