1 | %define _dbus_ver 1.6.4 |
---|
2 | %define _gtk_ver 3.6.0 |
---|
3 | %define _glib_ver 2.34.0 |
---|
4 | %define _libgnomekbd_ver 3.4.0 |
---|
5 | %define _libglade_ver 2.6.0 |
---|
6 | %define _libgnome_menu_ver 3.2.0 |
---|
7 | %define _gnome_desktop_ver 3.2.0 |
---|
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 |
---|
15 | Version: 3.6.1 |
---|
16 | Release: 4%{?_dist_release} |
---|
17 | License: GPL |
---|
18 | Group: User Interface/Desktops |
---|
19 | URL: http://live.gnome.org/GnomeScreensaver/ |
---|
20 | |
---|
21 | Source0: ftp://ftp.gnome.org/pub/gnome/sources/gnome-screensaver/3.6/gnome-screensaver-%{version}.tar.xz |
---|
22 | Source1: gnome-screensaver-hide-xscreensaver.menu |
---|
23 | |
---|
24 | Vendor: Project Vine |
---|
25 | Distribution: Vine Linux |
---|
26 | Packager: Takemikaduchi |
---|
27 | |
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
29 | BuildRequires: gtk3-devel >= %{_gtk_ver} |
---|
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} |
---|
35 | BuildRequires: gnome-desktop3-devel >= %{_gnome_desktop_ver} |
---|
36 | BuildRequires: libexif-devel >= %{_libexif_ver} |
---|
37 | BuildRequires: pam-devel |
---|
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 |
---|
49 | |
---|
50 | Requires(post): glib2 |
---|
51 | Requires(preun): glib2 |
---|
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 \ |
---|
67 | --enable-locking \ |
---|
68 | --without-systemd |
---|
69 | %__make |
---|
70 | |
---|
71 | %install |
---|
72 | rm -rf $RPM_BUILD_ROOT |
---|
73 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
74 | |
---|
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 |
---|
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 | |
---|
86 | %postun |
---|
87 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
88 | |
---|
89 | %posttrans |
---|
90 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
91 | |
---|
92 | |
---|
93 | %clean |
---|
94 | %__rm -rf %{buildroot} |
---|
95 | |
---|
96 | %files -f %{name}.lang |
---|
97 | %defattr(-,root,root) |
---|
98 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
99 | %{_sysconfdir}/pam.d/* |
---|
100 | %{_sysconfdir}/xdg/menus/preferences-post-merged/* |
---|
101 | %{_sysconfdir}/xdg/autostart/gnome-screensaver.desktop |
---|
102 | %{_bindir}/gnome-screensaver |
---|
103 | %{_bindir}/gnome-screensaver-command |
---|
104 | %{_libexecdir}/gnome-screensaver-dialog |
---|
105 | %{_mandir}/man1/*.1* |
---|
106 | |
---|
107 | %changelog |
---|
108 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-4 |
---|
109 | - rebuild with VineSeed environment |
---|
110 | |
---|
111 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-3 |
---|
112 | - rebuild with GNOME 3.10.1 environment |
---|
113 | |
---|
114 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-2 |
---|
115 | - rebuild with GNOME 3.8.1 environment |
---|
116 | |
---|
117 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Sun Jul 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.4-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sun Jul 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
127 | - new upstream release |
---|
128 | |
---|
129 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
142 | - new upstream release |
---|
143 | |
---|
144 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
148 | - new upstream release |
---|
149 | - remove BuildRequires: gnome-vfs2-devel, libgnomeui-devel |
---|
150 | - fix %files |
---|
151 | |
---|
152 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2 |
---|
153 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
154 | |
---|
155 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Sun Mar 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.3-1 |
---|
159 | - new upstream release |
---|
160 | - add BuildRequires: desktop-file-utils |
---|
161 | |
---|
162 | * Mon Nov 2 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.28.0-1 |
---|
163 | - new upstream release |
---|
164 | - update BR with gnome-2.28 |
---|
165 | |
---|
166 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
167 | - new upstream release |
---|
168 | |
---|
169 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
170 | - new upstream release |
---|
171 | - add BR: gnome-desktop-devel |
---|
172 | - update BR with gnome-2.26 |
---|
173 | |
---|
174 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
175 | - new upstream release |
---|
176 | |
---|
177 | * Thu May 22 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.2-1 |
---|
178 | - new upstream release |
---|
179 | |
---|
180 | * Mon Aug 07 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.3-0vl1 |
---|
181 | - new upstream release |
---|
182 | |
---|
183 | * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl3 |
---|
184 | - do not migrate at %%post |
---|
185 | |
---|
186 | * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl2 |
---|
187 | - migrate xscreensaver's screensavers like FC et al. |
---|
188 | |
---|
189 | * Mon Jul 17 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.2-0vl1 |
---|
190 | - initial build |
---|