source: projects/specs/trunk/g/gnome-volume-manager/gnome-volume-manager-vl.spec @ 3534

Revision 3534, 8.6 KB checked in by owa, 13 years ago (diff)

rebuit

Line 
1Summary: The GNOME Volume Manager
2Summary(ja): GNOME ボリュームマネージャ
3Name: gnome-volume-manager
4Version: 2.24.1
5Release: 2%{?_dist_release}
6License: GPL
7Group: Applications/System
8
9Source0: gnome-volume-manager-%{version}.tar.bz2
10Source1: magicdev-wrapper
11Source2: gthumb-import
12Source3: gnome-cdda-handler
13Source4: cdda-url-handler.schemas
14
15Patch2: gnome-volume-manager-2.17.0-add-console-user-check.patch
16Patch3: gnome-volume-manager-2.15.0-check-screensaver.patch
17
18# vine default
19Patch10: gnome-volume-manager-1.5.14-vine.patch
20
21BuildRoot: %{_tmppath}/%{name}-%{version}-root
22BuildRequires: libgnomeui-devel, libglade2-devel
23BuildRequires: hal-devel >= 0.5
24BuildRequires: dbus-devel >= 0.60
25BuildRequires: dbus-glib-devel >= 0.60
26BuildRequires: libnotify-devel
27BuildRequires: desktop-file-utils
28BuildRequires: libSM-devel
29Requires: gnome-mime-data
30Requires: control-center >= 2.0
31Requires: dbus >= 0.60
32Requires: hal
33Requires: gthumb
34Requires: gnome-media
35Requires(post,pre,preun): GConf2
36
37Obsoletes: magicdev
38Provides: magicdev
39Obsoletes: murasaki-usb-mount
40
41%description
42The GNOME Volume Manager monitors volume-related events and responds with
43user-specified policy.  The GNOME Volume Manager can automount hot-plugged
44drives, automount inserted removable media, autorun programs, automatically
45play audio CDs and video DVDs, and automatically import photos from a digital
46camera.  The GNOME Volume Manager does this entirely in user-space and without
47polling.
48
49The GNOME Voume Manager sits at the top end of a larger picture that aims to
50integrate the Linux system from the kernel on up through the desktop and its
51applications.
52
53%prep
54%setup -q
55%patch2 -p1 -b .add-console-user-check
56#patch3 -p0 -b .screensaver
57#%patch10 -p1 -b .vine
58
59%build
60%configure
61make %{?_smp_mflags}
62
63%install
64rm -rf $RPM_BUILD_ROOT
65export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
66%makeinstall
67unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
68
69desktop-file-install --delete-original --vendor=gnome  \
70  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
71  --add-category=HardwareSettings               \
72  $RPM_BUILD_ROOT%{_datadir}/applications/gnome-volume-properties.desktop
73
74mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart
75
76install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/magicdev
77install -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/gthumb-import
78install -d $RPM_BUILD_ROOT%{_libexecdir}/
79install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_libexecdir}/gnome-cdda-handler
80install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/cdda-url-handler.schemas
81
82%find_lang %name
83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%post
88export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
89SCHEMAS="gnome-volume-manager.schemas cdda-url-handler.schemas"
90for S in $SCHEMAS; do
91  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
92done
93
94%pre
95if [ "$1" -gt 1 ]; then
96  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
97  SCHEMAS="gnome-volume-manager.schemas cdda-url-handler.schemas"
98  for S in $SCHEMAS; do
99    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
100  done
101fi
102
103%preun
104if [ "$1" -eq 0 ]; then
105  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
106  SCHEMAS="gnome-volume-manager.schemas cdda-url-handler.schemas"
107  for S in $SCHEMAS; do
108    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
109  done
110fi
111
112%files -f %{name}.lang
113%defattr(-,root,root)
114%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
115%{_bindir}/*
116%{_datadir}/applications/gnome-volume-properties.desktop
117%{_datadir}/gnome-volume-manager
118#{_datadir}/gnome/autostart/gnome-volume-manager.desktop
119%{_sysconfdir}/gconf/schemas/*.schemas
120%{_sysconfdir}/xdg/autostart/gnome-volume-manager.desktop
121%{_libexecdir}/gnome-cdda-handler
122%{_libexecdir}/gnome-volume-manager
123
124%changelog
125* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.24.1-2
126- rebuilt with rpm-4.8.1-3
127
128* Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.1-1
129- new upstream release
130- add BuildRequires: libSM-devel
131- drop Patch10
132
133* Fri Sep 26 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
134- new upstream release
135
136* Thu Jul 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.5-1vl5
137- new upstream release
138
139* Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
140- new upstream release
141- added %%pre and %%preun section
142
143* Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-0vl1
144- new upstream release
145
146* Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.17.0-0vl1
147- new upstream release
148
149* Sat Oct 21 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.15-0vl3
150- update Patch0 to add "--unique" to gnome-cd option (<BTS:294>)
151
152* Wed Oct 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.15-0vl2
153- update Patch10 to fix audio cd settings. (<BTS:236>)
154
155* Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.15-0vl1
156- new upstream release
157
158* Fri Mar 10 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.14-0vl2
159- add Patch10 to change default settings for Vine Linux
160
161* Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.14-0vl1
162- new upstream release
163
164* Thu Oct 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.2-0vl1
165- new upstream release
166
167* Wed Jul 13 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl2
168- Obosletes murasaki-usb-mount
169
170* Mon Jul 11 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.2-0vl1
171- new upstream release
172
173* Thu Mar 24 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1
174- initial build for Vine Linux based on FC package.
175- new upstream release
176- drop all fc patches
177
178* Mon Mar 07 2005 John (J5) Palmieri <johnp@redhat.com> - 1.1.3-3
179- Fixed up hal-api patch
180
181* Fri Feb 25 2005 John (J5) Palmieri <johnp@redhat.com> - 1.1.3-2
182- Reenable BuildPrereq for hal-devel
183
184* Wed Feb 23 2005 John (J5) Palmieri <johnp@redhat.com> - 1.1.3-1
185- Update to upstream version
186- add patch to update to the new hal-0.5.0 API
187- took out locking patch as it was added upstream
188- took out policy-after-explicit-mount-only patch as it was added
189  upstream
190- removed %{_datadir}/control-center-2.0/capplets/* glob
191- added %{_datadir}/applications/gnome-volume-properties.desktop
192
193* Mon Oct 18 2004 John (J5) Palmieri <johnp@redhat.com> - 1.1.0-5
194- Merged the photo-defaults patch with a new rh-defaults patch
195- Shut off autorun by default as it is a security concern and we
196  currently don't have any use for it
197- Added policy-after-explicit-mount-only patch which fixes problems
198  such as a user mounting a removable drive from the command line
199  and a Nautilus window pops up, and two Nautilus windows popping
200  up in browser mode when a device is mounted through Nautilus.
201
202* Fri Oct 08 2004 John (J5) Palmieri <johnp@redhat.com> - 1.1.0-4
203- exclude building on s390 and s390x
204
205* Wed Oct 06 2004 John (J5) Palmieri <johnp@redhat.com> - 1.1.0-3
206- Added gnome-cdda-handler and associated schema to cause the
207  cdda url handler to use the values in g-v-m's gconf key for
208  audio cd's.  This causes the g-v-m selected application for
209  audio cd's to launch when double clicking on an audio cd icon
210  in Nautilus.
211
212* Thu Sep 30 2004 John (J5) Palmieri <johnp@redhat.com>
213- Added patch to add the dbus-glib-lowlevel.h header
214
215* Mon Sep 20 2004 David Zeuthen <davidz@redhat.com>
216- Update to upstream version 1.1.0
217- Fix requirement for gnome-cd to be the gnome-media package
218
219* Mon Sep 20 2004 David Zeuthen <davidz@redhat.com>
220- Add locking patch
221
222* Fri Sep 17 2004 John (J5) Palmieri <johnp@redhat.com>
223- Update to upstream 1.0.2
224- Readd patches I took out by accident
225- Add a requirement for gthumb and gnome-cd
226
227* Mon Sep 13 2004 John (J5) Palmieri <johnp@redhat.com>
228- Update to upstream 1.0
229
230* Fri Sep 03 2004 John (J5) Palmieri <johnp@redhat.com>
231- gthumb-import now checks to see if there is a DCIM directory
232  and open up to that directory if so
233
234* Wed Sep 01 2004 Davidz Zeuthen <davidz@redhat.com>
235- Fix a few issues to keep up with hal
236
237* Tue Aug 31 2004 John (J5) Palmieri <johnp@redhat.com>
238- Update to upstream release 0.9.10
239- Add gthumb-import wrapper to import photos correctly
240- Add patch to set gthumb-import as the default photo importer
241- Add patch to put desktop file in the X-Red-Hat-Base Catagory
242- Fixes RH Bug 130866
243
244* Fri Aug 20 2004 John (J5) Palmieri <johnp@redhat.com>
245- Added Provides: magicdev to fix conflict
246
247* Tue Aug 17 2004 David Zeuthen <davidz@redhat.com>
248- Update to upstream release 0.9.9
249- Apply mount-unmount patch
250
251* Mon Jul 26 2004 Ray Strode <rstrode@redhat.com>
252- Add magicdev compatibility wrapper script and obsolete magicdev.
253
254* Thu May 27 2004 John (J5) Palmieri <johnp@redhat.com>
255- Upstream CVS
256
257* Wed May 05 2004 John (J5) Palmieri <johnp@redhat.com>
258- Made sure GConf Schemas are installed
259
260* Tue Apr 20 2004 John (J5) Palmieri <johnp@redhat.com>
261- initial packaging of 0.9.2
262
Note: See TracBrowser for help on using the repository browser.