7182
|
1 |
#
|
|
2 |
# spec file for package gnome-volume-manager
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
8514
|
8 |
# Owner:stephen
|
7182
|
9 |
Name: gnome-volume-manager
|
|
10 |
License: GPL
|
|
11 |
Group: System/GUI/GNOME
|
19077
|
12 |
Version: 2.17.0
|
7182
|
13 |
Release: 2
|
|
14 |
Distribution: Java Desktop System
|
|
15 |
Vendor: Sun Microsystems, Inc.
|
8223
|
16 |
Summary: A Volume Manager for GNOME
|
19077
|
17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-volume-manager/2.17/gnome-volume-manager-%{version}.tar.bz2
|
8514
|
18 |
#owner:yippi date:2006-05-01 type:bug
|
7182
|
19 |
Patch1: gnome-volume-manager-01-fixcompile.diff
|
8514
|
20 |
#owner:Irene date:2006-07-04 type:feature bugster:6849183,6849189,6483288
|
|
21 |
#FIXME: what is Irene's opensolaris id?
|
7647
|
22 |
Patch2: gnome-volume-manager-02-autoplay.diff
|
8514
|
23 |
#owner:yippi date:2006-07-26 type:bug
|
7771
|
24 |
Patch3: gnome-volume-manager-03-libexec.diff
|
8514
|
25 |
#owner:yippi date:2006-09-19 type:bug
|
8166
|
26 |
Patch4: gnome-volume-manager-04-fixlocaluser.diff
|
8514
|
27 |
#owner:yippi date:2006-09-26 type:bug
|
8200
|
28 |
Patch5: gnome-volume-manager-05-claimbranch.diff
|
8514
|
29 |
#owner:gman date:2006-10-30 type:bug bugzilla:340485
|
8461
|
30 |
Patch6: gnome-volume-manager-06-no-linux-msg.diff
|
7182
|
31 |
URL: www.gnome.org
|
|
32 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
33 |
Docdir: %{_defaultdocdir}
|
|
34 |
Autoreqprov: on
|
|
35 |
Prereq: /usr/sbin/groupadd
|
|
36 |
Prereq: /usr/sbin/useradd
|
|
37 |
Prereq: /sbin/nologin
|
|
38 |
Prereq: sed
|
|
39 |
Prereq: coreutils
|
|
40 |
|
|
41 |
%description
|
|
42 |
GNOME daemon that acts as a policy agent on top of the kernel, udev, d-bus, and HAL. It supports automount of new media and hot-plugged devices, autorun, autoplay for CD's and DVD's, and automatic camera management.
|
|
43 |
|
|
44 |
%prep
|
|
45 |
%setup -q
|
|
46 |
%patch1 -p1
|
7647
|
47 |
%patch2 -p1
|
7771
|
48 |
%patch3 -p1
|
8166
|
49 |
%patch4 -p1
|
8200
|
50 |
%patch5 -p1
|
8361
|
51 |
%patch6 -p1
|
7182
|
52 |
|
|
53 |
%build
|
|
54 |
%ifos linux
|
|
55 |
if [ -x /usr/bin/getconf ]; then
|
|
56 |
CPUS=`getconf _NPROCESSORS_ONLN`
|
|
57 |
fi
|
|
58 |
%else
|
|
59 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
60 |
%endif
|
|
61 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
62 |
CPUS=1
|
|
63 |
fi
|
|
64 |
|
|
65 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
66 |
autoheader
|
|
67 |
autoconf
|
|
68 |
libtoolize --force
|
|
69 |
glib-gettextize -c -f
|
|
70 |
intltoolize --copy --force --automake
|
|
71 |
aclocal $ACLOCAL_FLAGS
|
|
72 |
autoconf
|
|
73 |
autoheader
|
|
74 |
automake -a -c -f
|
7183
|
75 |
%ifos solaris
|
|
76 |
ENABLE_MULTIUSER=--enable-multiuser=no
|
|
77 |
%else
|
|
78 |
ENABLE_MULTIUSER=--enable-multiuser=yes
|
|
79 |
%endif
|
|
80 |
|
7182
|
81 |
./configure \
|
|
82 |
--prefix=%{_prefix} \
|
|
83 |
--sysconfdir=%{_sysconfdir} \
|
|
84 |
--localstatedir=/var/lib \
|
|
85 |
--mandir=%{_mandir} \
|
7183
|
86 |
--libexecdir=%{_libexecdir} $ENABLE_MULTIUSER
|
7182
|
87 |
make -j $CPUS
|
|
88 |
|
|
89 |
%install
|
7197
|
90 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
7182
|
91 |
make install DESTDIR=$RPM_BUILD_ROOT
|
7197
|
92 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
7182
|
93 |
|
|
94 |
%clean
|
|
95 |
rm -rf $RPM_BUILD_ROOT
|
|
96 |
|
7197
|
97 |
%post
|
|
98 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
99 |
SCHEMAS="gnome-volume-manager.schemas"
|
|
100 |
for S in $SCHEMAS; do
|
|
101 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
|
|
102 |
done
|
|
103 |
|
7182
|
104 |
%files
|
|
105 |
%config %attr(-,gdm,gdm) %{_sysconfdir}/X11/gdm
|
|
106 |
%config %attr(-,root,root) %{_sysconfdir}/X11/dm
|
|
107 |
%{_datadir}/locale/*/LC_MESSAGES/gdm*.mo
|
|
108 |
%{_sbindir}/*
|
|
109 |
%{_bindir}/*
|
|
110 |
%{_libdir}/gtk-2.0/modules/*.so
|
|
111 |
%{_libexecdir}/*
|
|
112 |
%{_datadir}/gdm
|
|
113 |
%{_datadir}/applications/*
|
|
114 |
%{_datadir}/pixmaps/*.png
|
|
115 |
%{_datadir}/pixmaps/faces/*.jpg
|
|
116 |
%{_datadir}/pixmaps/faces/*.png
|
|
117 |
%{_datadir}/icons
|
|
118 |
%{_datadir}/gnome/help/*
|
|
119 |
%{_datadir}/xsessions/*
|
|
120 |
%{_mandir}/man1/*
|
|
121 |
%{_datadir}/omf/*
|
|
122 |
%attr(-,gdm,gdm) /var/lib/gdm
|
|
123 |
%config /etc/pam.d/*
|
|
124 |
%config /etc/security/*
|
|
125 |
|
|
126 |
%changelog
|
19077
|
127 |
* Wed Nov 22 2006 - [email protected]
|
|
128 |
- Bump to 2.17.0.
|
8461
|
129 |
* Wed Nov 01 2006 - [email protected]
|
|
130 |
- merge 02-autoplay.diff and 06-autoplay.diff to
|
|
131 |
02-autoplay.diff, move 07-no-linux-msg.diff to
|
|
132 |
06-no-linux-msg.diff
|
8445
|
133 |
* Mon Oct 30 2006 - [email protected]
|
|
134 |
- No linux msg, it only makes things embarassing to everyone.
|
|
135 |
Filed as part of bugzilla #340485.
|
8361
|
136 |
* Thu Oct 19 2006 - [email protected]
|
|
137 |
- Add patch gnome-volume-manager-06-autoplay.diff to change
|
8445
|
138 |
default gconf setting so that totem will not automatically
|
|
139 |
startup offering to play a VCD/DVD when one is inserted.
|
8200
|
140 |
* Sun Sep 24 2006 - [email protected]
|
|
141 |
- Add a call to "ClaimBranch" HAL method to avoid conflicts
|
|
142 |
with rmvolmgr, the non-gui volume manager.
|
8166
|
143 |
* Tue Sep 19 2006 - [email protected]
|
|
144 |
- Fix problem that was causing gnome-volume-manager to just
|
|
145 |
exit on startup.
|
7839
|
146 |
* Tue Aug 01 2006 - [email protected]
|
|
147 |
- Bump to 2.15.0.
|
7771
|
148 |
* Tue Jul 25 2006 - <[email protected]>
|
|
149 |
- Move gnome-volume-manager to libexec.
|
7647
|
150 |
* Fri Jul 14 2006 - <[email protected]>
|
|
151 |
- Add patch to use sound-juicer as autoplay for CD's.
|
7197
|
152 |
* Tue May 02 2006 - <[email protected]>
|
|
153 |
- Fix gconf stuff.
|
7182
|
154 |
* Mon May 01 2006 - <[email protected]>
|
|
155 |
- Created
|
8200
|
156 |
|