author | kaushal |
Tue, 27 Apr 2004 10:58:19 +0000 | |
changeset 2568 | 6529271b99a7 |
parent 2494 | 6b1189c3cc84 |
child 2619 | a032fc86f08a |
permissions | -rw-r--r-- |
79 | 1 |
Name: gnome-media |
216 | 2 |
Summary: GNOME Multimedia |
3 |
Group: System/GUI/GNOME |
|
2311 | 4 |
Version: 2.6.0 |
2568 | 5 |
Release: 9 |
1627 | 6 |
Distribution: Cinnabar |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
79 | 8 |
License: GPL |
2311 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-media/2.6/gnome-media-%{version}.tar.bz2 |
2350 | 10 |
Source1: gnome-media-l10n-po-1.0.tar.bz2 |
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
11 |
Source2: gnome-media_docs-0.3.tar.bz2 |
2311 | 12 |
Source3: cddb-slave2-properties.1.gz |
13 |
Source4: gnome-cd.1.gz |
|
14 |
Source5: gnome-sound-recorder.1.gz |
|
15 |
Source6: gnome-media-l10n-online-help-qs.tar.bz2 |
|
16 |
Patch1: gnome-media-01-g11n-potfiles.diff |
|
1364 | 17 |
Patch2: gnome-media-02-window-title.diff |
18 |
Patch3: gnome-media-03-menu-entry.diff |
|
2346 | 19 |
Patch4: gnome-media-04-add-gst-cflags-ldflags.diff |
2568 | 20 |
Patch5: gnome-media-05-cddb-help-filename-update.diff |
79 | 21 |
URL: http://www.gnome.org |
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
23 |
Docdir: %{_docdir} |
|
24 |
Autoreqprov: on |
|
1080 | 25 |
Prereq: /sbin/ldconfig |
26 |
Prereq: scrollkeeper |
|
79 | 27 |
|
1251 | 28 |
%define gstreamer_version 0.6.3 |
29 |
%define gstreamer_devel_version 0.6.3 |
|
30 |
%define gstreamer_plugins_version 0.6.3 |
|
31 |
%define gstreamer_plugins_devel_version 0.6.3 |
|
32 |
%define scrollkeeper_version 0.3.12 |
|
2121 | 33 |
%define libgnomeui_version 2.5.4 |
274 | 34 |
|
35 |
Requires: gstreamer >= %{gstreamer_version} |
|
36 |
Requires: gstreamer-plugins >= %{gstreamer_plugins_version} |
|
995 | 37 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
2121 | 38 |
Requires: libgnomeui >= %{libgnomeui_version} |
274 | 39 |
BuildRequires: gstreamer-devel >= %{gstreamer_devel_version} |
40 |
BuildRequires: gstreamer-plugins-devel => %{gstreamer_plugins_devel_version} |
|
1072 | 41 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
2402 | 42 |
BuildRequires: javahelp-convert |
2121 | 43 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
274 | 44 |
|
79 | 45 |
%description |
46 |
This package contains some multimedia programs for GNOME. |
|
47 |
||
48 |
%prep |
|
49 |
%setup -q |
|
1364 | 50 |
%patch1 -p1 |
569
b63182ee420f
updating the POTFILES.in so intltool-update can be run.
mick
parents:
552
diff
changeset
|
51 |
%patch2 -p1 |
721 | 52 |
%patch3 -p1 |
2346 | 53 |
%patch4 -p1 |
2568 | 54 |
%patch5 -p1 |
79 | 55 |
|
1522 | 56 |
bzcat %SOURCE1 | tar xvf - |
2311 | 57 |
bzcat %SOURCE2 | tar xvf - |
58 |
bzcat %SOURCE6 | tar xvf - |
|
1169 | 59 |
|
79 | 60 |
%build |
416 | 61 |
libtoolize --force |
2160 | 62 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
416 | 63 |
automake -a -c -f |
64 |
autoconf |
|
65 |
||
216 | 66 |
CFLAGS="$RPM_OPT_FLAGS" \ |
67 |
./configure --prefix=%{_prefix} \ |
|
68 |
--libexecdir=%{_libexecdir} \ |
|
69 |
--sysconfdir=%{_sysconfdir} |
|
416 | 70 |
# workaround gnome-cd/.deps/$(CDROM_HOST)-cdrom.Po |
71 |
case "`uname -s`" in |
|
72 |
*FreeBSD*) |
|
73 |
CDROM_HOST=freebsd |
|
74 |
;; |
|
75 |
*Linux*) |
|
76 |
CDROM_HOST=linux |
|
77 |
;; |
|
78 |
*SunOS*) |
|
79 |
CDROM_HOST=solaris |
|
80 |
;; |
|
81 |
esac |
|
82 |
echo '# dummy' > ./gnome-cd/.deps/$CDROM_HOST-cdrom.Po |
|
83 |
||
79 | 84 |
make |
85 |
||
86 |
%install |
|
87 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
216 | 88 |
make DESTDIR=$RPM_BUILD_ROOT install |
79 | 89 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
1522 | 90 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
2311 | 91 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
1522 | 92 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
2311 | 93 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 |
79 | 94 |
|
1488 | 95 |
#Copy zh_HK from zh_TW |
96 |
#Fixes bug 4930405 |
|
1522 | 97 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
98 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
99 |
|
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
100 |
javahelp-convert-install $RPM_BUILD_ROOT gnome-cd gnome-cd.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
101 |
javahelp-convert-install $RPM_BUILD_ROOT gnome-sound-recorder gnome-sound-recorder.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
102 |
javahelp-convert-install $RPM_BUILD_ROOT gnome-volume-control gnome-volume-control.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
103 |
javahelp-convert-install $RPM_BUILD_ROOT gstreamer-properties gstreamer-properties.xml |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
104 |
|
79 | 105 |
%clean |
106 |
rm -rf $RPM_BUILD_ROOT |
|
107 |
||
108 |
%post |
|
216 | 109 |
/sbin/ldconfig |
79 | 110 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
1627 | 111 |
SCHEMAS="CDDB-Slave2.schemas gnome-cd.schemas gnome-audio-profiles.schemas gnome-sound-recorder.schemas" |
79 | 112 |
for S in $SCHEMAS; do |
113 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
114 |
done |
|
529 | 115 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
116 |
langtag=$i |
|
117 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
118 |
for j in gnome-cd grecord ; do |
|
119 |
[ -e %{_datadir}/omf/gnome-media/$j-$langtag.omf ] && \ |
|
120 |
env LANG=$i LC_ALL=$i scrollkeeper-install -q %{_datadir}/omf/gnome-media/$j-$langtag.omf |
|
121 |
done |
|
122 |
done |
|
413 | 123 |
scrollkeeper-update -q |
79 | 124 |
|
216 | 125 |
%postun |
126 |
/sbin/ldconfig |
|
529 | 127 |
for i in zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
128 |
langtag=$i |
|
129 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
130 |
for j in gnome-cd grecord ; do |
|
131 |
[ -e %{_datadir}/omf/gnome-media/$j-$langtag.omf ] && \ |
|
132 |
env LANG=$i LC_ALL=$i scrollkeeper-uninstall -q %{_datadir}/omf/gnome-media/$j-$langtag.omf |
|
133 |
done |
|
134 |
done |
|
413 | 135 |
scrollkeeper-update -q |
79 | 136 |
|
137 |
%files |
|
138 |
%defattr (-, root, root) |
|
139 |
%{_bindir}/* |
|
757 | 140 |
%{_libexecdir}/* |
79 | 141 |
%{_libdir}/*.so.* |
142 |
%{_libdir}/bonobo/servers/* |
|
1627 | 143 |
%{_libdir}/pkgconfig/* |
144 |
%{_libdir}/libglade/* |
|
79 | 145 |
%{_includedir}/* |
146 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
147 |
%{_datadir}/control-center-2.0/capplets/* |
|
148 |
%{_datadir}/omf/gnome-media/* |
|
149 |
%{_datadir}/gnome/help/* |
|
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
150 |
%{_datadir}/gnome/javahelp/* |
79 | 151 |
%{_datadir}/idl/* |
152 |
%{_datadir}/pixmaps/* |
|
153 |
%{_sysconfdir}/gconf/schemas/*.schemas |
|
2311 | 154 |
%{_datadir}/applications/gnome-cd.desktop |
155 |
%{_datadir}/applications/gnome-sound-recorder.desktop |
|
156 |
%{_datadir}/applications/gnome-volume-control.desktop |
|
1627 | 157 |
%{_datadir}/gnome-media/* |
158 |
%{_datadir}/gnome-sound-recorder/* |
|
159 |
%{_datadir}/gstreamer-properties/* |
|
1488 | 160 |
%{_mandir}/man1/* |
79 | 161 |
|
216 | 162 |
%changelog |
2568 | 163 |
* Tue Apr 27 2004 - [email protected] |
164 |
- Added gnome-media-05-cddb-help-filename-update.diff to fix the help |
|
165 |
for cddb-slave2-properties dialog. |
|
166 |
||
2485 | 167 |
* Sun Apr 18 2004 - [email protected] |
168 |
- enable javahelp conversion on Solaris |
|
169 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
170 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
171 |
- javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
172 |
|
2350 | 173 |
* Mon Mar 29 2004 - [email protected] |
174 |
- Updated l10n content to gnome-media-l10n-po-1.0.tar.bz2 |
|
175 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2350
diff
changeset
|
176 |
|
2311 | 177 |
* Wed Mar 24 2004 - <[email protected]> |
178 |
- Bump to 2.6.0, and remove record scheduler, |
|
179 |
grecord configure, audio schemas, gnome volume |
|
180 |
desktop, gst mixer array and grecord prompt |
|
181 |
overwrite [needs to be rewritten] patches. |
|
182 |
||
2160 | 183 |
* Fri Mar 05 2004 - <[email protected]> |
184 |
- pass in ACLOCAL_FLAGS to aclocal |
|
185 |
||
2121 | 186 |
* Wed Mar 03 2004 - <[email protected]> |
187 |
- Add libgnomeui dependency |
|
188 |
||
1663 | 189 |
* Fri Feb 13 2004 - <[email protected]> |
1703 | 190 |
- Patch 08, patch 09 |
1663 | 191 |
|
1627 | 192 |
* Wed Feb 11 2004 - <[email protected]> |
193 |
- Bump to 2.5.2, l10n to 0.7, docs 0.2 |
|
194 |
Re-apply patchs 01->05 |
|
195 |
Remove original patch 06 |
|
196 |
Add new patch 06 to build gnome-sound-recorder |
|
197 |
||
1488 | 198 |
* Wed Dec 17 2003 - <[email protected]> |
199 |
- Bump to 2.5.1 |
|
200 |
||
1364 | 201 |
* Fri Oct 31 2003 - <[email protected]> |
202 |
- Remove and rename patches to remove the Sun Settings |
|
203 |
desktop keyword, since we're killing Extras menu. |
|
204 |
||
1301 | 205 |
* Mon Oct 20 2003 - <[email protected]> |
206 |
- Forward port fix to #4880305 from wipro for QS. |
|
207 |
patch: gnome-media-07-fix-saving-zero-bytes-data.diff |
|
208 |
||
1251 | 209 |
* Mon Oct 13 2003 - <[email protected]> |
210 |
- updated to version 2.4.0 |
|
211 |
- Removed gnome-media-01-window-icon.diff, |
|
212 |
gnome-media-07-gnome-cd-notification.diff, |
|
213 |
gnome-media-08-recorder-gst-state.diff - all merged upstream |
|
214 |
||
1169 | 215 |
* Fri Sep 26 2003 - <[email protected]> |
216 |
- integrate Sun docs |
|
217 |
||
1161 | 218 |
* Tue Sep 23 2003 - <[email protected]> |
1164 | 219 |
- add patch from [email protected]. |
220 |
Fixes BT# 4882371. gnome-media-08-recorder-gst-state.diff |
|
221 |
||
222 |
* Fri Sep 19 2003 - <[email protected]> |
|
1160 | 223 |
- add patch from [email protected]. Fixes BT#4913405 |
224 |
gnome-media-07-gnome-cd-notification.diff |
|
225 |
||
1155 | 226 |
- add patch nautilus-media-06-record-scheduler.diff. |
227 |
Fixes BT# 4904323 |
|
228 |
||
1058 | 229 |
* Thu Aug 14 2003 - <[email protected]> |
230 |
- remove lib*.so, *.a, *.la |
|
231 |
||
995 | 232 |
* Thu Aug 07 2003 - <[email protected]> |
233 |
- post install uses scrollkeeper so make it a dependency |
|
234 |
||
990 | 235 |
* Wed Aug 06 2003 - <[email protected]> |
236 |
- Prompt before you overwrite a filename. |
|
237 |
||
964 | 238 |
* Tue Aug 05 2003 - <[email protected]> |
239 |
- New tarball, bump version, reset release. |
|
240 |
||
888 | 241 |
* Fri Aug 01 2003 - <[email protected]> |
242 |
- Add supported menu categories |
|
243 |
||
708 | 244 |
* Tue Jul 21 2003 - <[email protected]> |
245 |
- New mixer icon |
|
246 |
||
510 | 247 |
* Wed Jul 09 2003 - <[email protected]> |
248 |
- add in sun po files |
|
249 |
||
79 | 250 |
* Wed May 14 2003 - [email protected] |
251 |
- Initial Sun Release |