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