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