author | mattman |
Wed, 18 Feb 2009 15:07:13 +0000 | |
changeset 15143 | d2d90ead6862 |
parent 15103 | c7930d8a4ba6 |
permissions | -rw-r--r-- |
9397 | 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 |
# |
|
15143
d2d90ead6862
* SUNWtgnome-tsoljdsdevmgr.spec : Update Owner format string
mattman
parents:
15103
diff
changeset
|
8 |
# Owner: stephen |
14402 | 9 |
%include l10n.inc |
9397 | 10 |
Name: gnome-volume-manager |
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
15103 | 13 |
Version: 2.24.1 |
9397 | 14 |
Release: 2 |
15 |
Distribution: Java Desktop System |
|
16 |
Vendor: Sun Microsystems, Inc. |
|
17 |
Summary: A Volume Manager for GNOME |
|
14561 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-volume-manager/2.24/gnome-volume-manager-%{version}.tar.bz2 |
12031 | 19 |
%if %build_l10n |
14402 | 20 |
Source1: l10n-configure.sh |
21 |
Source2: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
|
12031 | 22 |
%endif |
13820 | 23 |
#owner:jedy date:2008-09-01 type:branding |
24 |
Patch1: gnome-volume-manager-01-no-totem.diff |
|
9397 | 25 |
# This patch sets the default programs that get run when various media |
13167
81a07f1f63aa
* base-specs/gnome-volume-manager.spec: Remove 05-hal-crash.diff. Add a
jyu_mit
parents:
12809
diff
changeset
|
26 |
# types are inserted. The community used another way, ConsoleKit, to |
81a07f1f63aa
* base-specs/gnome-volume-manager.spec: Remove 05-hal-crash.diff. Add a
jyu_mit
parents:
12809
diff
changeset
|
27 |
# fix the problem. However, Consolekit hasn't been integrated into Solairs, |
81a07f1f63aa
* base-specs/gnome-volume-manager.spec: Remove 05-hal-crash.diff. Add a
jyu_mit
parents:
12809
diff
changeset
|
28 |
# so this patch is still maintained as an internal patch at the present. |
9397 | 29 |
#owner:yippi date:2006-09-19 type:bug bugzilla:400500 |
12237 | 30 |
Patch2: gnome-volume-manager-02-fixlocaluser.diff |
9397 | 31 |
#owner:gman date:2006-10-30 type:bug bugzilla:400502 |
12237 | 32 |
Patch3: gnome-volume-manager-03-no-linux-msg.diff |
10700 | 33 |
#owner:stephen date 2007-10-24 type:feature |
12237 | 34 |
Patch4: gnome-volume-manager-04-trusted-extensions.diff |
12809 | 35 |
#owner:jedy date:2008-07-14 type:branding |
13250 | 36 |
Patch5: gnome-volume-manager-05-menu-entry.diff |
9397 | 37 |
URL: www.gnome.org |
38 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
39 |
Docdir: %{_defaultdocdir} |
|
40 |
Autoreqprov: on |
|
41 |
Prereq: /usr/sbin/groupadd |
|
42 |
Prereq: /usr/sbin/useradd |
|
43 |
Prereq: /sbin/nologin |
|
44 |
Prereq: sed |
|
45 |
Prereq: coreutils |
|
46 |
||
47 |
%description |
|
48 |
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. |
|
49 |
||
50 |
%prep |
|
51 |
%setup -q |
|
14402 | 52 |
%if %build_l10n |
53 |
bzcat %SOURCE2 | tar xf - |
|
54 |
cd po-sun; make; cd .. |
|
55 |
%endif |
|
56 |
||
9397 | 57 |
%patch1 -p1 |
58 |
%patch2 -p1 |
|
59 |
%patch3 -p1 |
|
60 |
%patch4 -p1 |
|
61 |
%patch5 -p1 |
|
62 |
||
63 |
%build |
|
64 |
%ifos linux |
|
65 |
if [ -x /usr/bin/getconf ]; then |
|
66 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
67 |
fi |
|
68 |
%else |
|
69 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
70 |
%endif |
|
71 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
72 |
CPUS=1 |
|
73 |
fi |
|
74 |
||
75 |
export CFLAGS="$RPM_OPT_FLAGS" |
|
76 |
autoheader |
|
77 |
autoconf |
|
78 |
libtoolize --force |
|
79 |
glib-gettextize -c -f |
|
80 |
intltoolize --copy --force --automake |
|
12031 | 81 |
|
82 |
%if %build_l10n |
|
83 |
bash -x %SOURCE1 --enable-copyright |
|
84 |
%endif |
|
85 |
||
9397 | 86 |
aclocal $ACLOCAL_FLAGS |
87 |
autoconf |
|
88 |
autoheader |
|
89 |
automake -a -c -f |
|
90 |
%ifos solaris |
|
91 |
ENABLE_MULTIUSER=--enable-multiuser=no |
|
92 |
%else |
|
93 |
ENABLE_MULTIUSER=--enable-multiuser=yes |
|
94 |
%endif |
|
95 |
||
96 |
./configure \ |
|
97 |
--prefix=%{_prefix} \ |
|
98 |
--sysconfdir=%{_sysconfdir} \ |
|
99 |
--localstatedir=/var/lib \ |
|
100 |
--mandir=%{_mandir} \ |
|
101 |
--libexecdir=%{_libexecdir} $ENABLE_MULTIUSER |
|
102 |
make -j $CPUS |
|
103 |
||
104 |
%install |
|
105 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
106 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
107 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
108 |
||
109 |
%clean |
|
110 |
rm -rf $RPM_BUILD_ROOT |
|
111 |
||
112 |
%post |
|
113 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
114 |
SCHEMAS="gnome-volume-manager.schemas" |
|
115 |
for S in $SCHEMAS; do |
|
116 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
117 |
done |
|
118 |
||
119 |
%files |
|
120 |
%config %attr(-,gdm,gdm) %{_sysconfdir}/X11/gdm |
|
121 |
%config %attr(-,root,root) %{_sysconfdir}/X11/dm |
|
122 |
%{_datadir}/locale/*/LC_MESSAGES/gdm*.mo |
|
123 |
%{_sbindir}/* |
|
124 |
%{_bindir}/* |
|
125 |
%{_libdir}/gtk-2.0/modules/*.so |
|
126 |
%{_libexecdir}/* |
|
127 |
%{_datadir}/gdm |
|
128 |
%{_datadir}/applications/* |
|
129 |
%{_datadir}/pixmaps/*.png |
|
130 |
%{_datadir}/pixmaps/faces/*.jpg |
|
131 |
%{_datadir}/pixmaps/faces/*.png |
|
132 |
%{_datadir}/icons |
|
133 |
%{_datadir}/gnome/help/* |
|
134 |
%{_datadir}/xsessions/* |
|
135 |
%{_mandir}/man1/* |
|
136 |
%{_datadir}/omf/* |
|
137 |
%attr(-,gdm,gdm) /var/lib/gdm |
|
138 |
%config /etc/pam.d/* |
|
139 |
%config /etc/security/* |
|
140 |
||
141 |
%changelog |
|
15103 | 142 |
* Mon Feb 16 2009 - [email protected] |
143 |
- Bump to 2.24.1 |
|
14561 | 144 |
* Wed Nov 05 2008 - [email protected] |
145 |
- Fix broken download link. |
|
14402 | 146 |
* Wed Oct 01 2008 - [email protected] |
147 |
- Add l10n tarball. |
|
13820 | 148 |
* Mon Sep 29 2008 - [email protected] |
149 |
- Bump to 2.24.0. |
|
150 |
- Remove gnome-volume-manager-01-fixcompile.diff, fixed upstream. |
|
151 |
- Rename gnome-volume-manager-06-no-totem.diff to |
|
152 |
gnome-volume-manager-01-no-totem.diff |
|
13427
a4204af8cb97
* base-specs/gnome-volume-manager.spec: Remove --enable-automout option.
jyu_mit
parents:
13333
diff
changeset
|
153 |
* Fri Sep 05 2008 - [email protected] |
a4204af8cb97
* base-specs/gnome-volume-manager.spec: Remove --enable-automout option.
jyu_mit
parents:
13333
diff
changeset
|
154 |
- Remove --enalbe-automount option at configuring. |
13333 | 155 |
* Mon Sep 01 2008 - [email protected] |
156 |
- Add 06-no-totem.diff. |
|
13250 | 157 |
* Fri Aug 22 2008 - [email protected] |
158 |
- rename desktop.diff to menu-entry.diff. |
|
13167
81a07f1f63aa
* base-specs/gnome-volume-manager.spec: Remove 05-hal-crash.diff. Add a
jyu_mit
parents:
12809
diff
changeset
|
159 |
* Tue Aug 19 2008 - [email protected] |
81a07f1f63aa
* base-specs/gnome-volume-manager.spec: Remove 05-hal-crash.diff. Add a
jyu_mit
parents:
12809
diff
changeset
|
160 |
- Remove 05-hal-crash.diff. Add a comment for patch 02. |
81a07f1f63aa
* base-specs/gnome-volume-manager.spec: Remove 05-hal-crash.diff. Add a
jyu_mit
parents:
12809
diff
changeset
|
161 |
Move 06-desktop.diff to 05-desktop.diff. Rework 01-fixcompile.diff |
12809 | 162 |
* Mon Jul 14 2008 - [email protected] |
163 |
- Add 06-desktop.diff. |
|
12237 | 164 |
* Wed Apr 30 2008 - [email protected] |
165 |
- Bump to to 2.22.5. Remove upstream patches, 02-autoplay, 03-libexec, |
|
166 |
05-claimbranch. Renumber remainder. |
|
11242 | 167 |
* Mon Nov 26 2006 - [email protected] |
168 |
- Add 08-hal-crash to fix bugster 6633468 |
|
9397 | 169 |
* Wed Nov 22 2006 - [email protected] |
170 |
- Bump to 2.17.0. |
|
171 |
* Wed Nov 01 2006 - [email protected] |
|
172 |
- merge 02-autoplay.diff and 06-autoplay.diff to |
|
173 |
02-autoplay.diff, move 07-no-linux-msg.diff to |
|
174 |
06-no-linux-msg.diff |
|
175 |
* Mon Oct 30 2006 - [email protected] |
|
176 |
- No linux msg, it only makes things embarassing to everyone. |
|
177 |
Filed as part of bugzilla #340485. |
|
178 |
* Thu Oct 19 2006 - [email protected] |
|
179 |
- Add patch gnome-volume-manager-06-autoplay.diff to change |
|
180 |
default gconf setting so that totem will not automatically |
|
181 |
startup offering to play a VCD/DVD when one is inserted. |
|
182 |
* Sun Sep 24 2006 - [email protected] |
|
183 |
- Add a call to "ClaimBranch" HAL method to avoid conflicts |
|
184 |
with rmvolmgr, the non-gui volume manager. |
|
185 |
* Tue Sep 19 2006 - [email protected] |
|
186 |
- Fix problem that was causing gnome-volume-manager to just |
|
187 |
exit on startup. |
|
188 |
* Tue Aug 01 2006 - [email protected] |
|
189 |
- Bump to 2.15.0. |
|
190 |
* Tue Jul 25 2006 - <[email protected]> |
|
191 |
- Move gnome-volume-manager to libexec. |
|
192 |
* Fri Jul 14 2006 - <[email protected]> |
|
193 |
- Add patch to use sound-juicer as autoplay for CD's. |
|
194 |
* Tue May 02 2006 - <[email protected]> |
|
195 |
- Fix gconf stuff. |
|
196 |
* Mon May 01 2006 - <[email protected]> |
|
197 |
- Created |
|
198 |