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