author | dermotm |
Mon, 18 Oct 2004 09:30:38 +0000 | |
changeset 4276 | 2a2c7f354601 |
parent 4265 | 9c26d9ef4f72 |
child 4357 | 2474a25f2946 |
permissions | -rw-r--r-- |
81 | 1 |
Name: nautilus-media |
2408 | 2 |
Version: 0.8.0 |
4276 | 3 |
Release: 25 |
1669 | 4 |
Distribution: Cinnabar |
587 | 5 |
Vendor: Sun Microsystems, Inc. |
81 | 6 |
Summary: A Nautilus media package with views and thumbnailers. |
968 | 7 |
Group: System/GUI/GNOME |
8 |
License: GPL |
|
81 | 9 |
URL: http://www.gnome.org/ |
968 | 10 |
Source: http://ftp.gnome.org/pub/gnome/sources/nautilus-media/0.3/%{name}-%{version}.tar.bz2 |
4265 | 11 |
Source1: nautilus-media-l10n-po-1.6.tar.bz2 |
3347 | 12 |
Patch1: nautilus-media-01-solaris.diff |
81 | 13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
1080 | 14 |
Autoreqprov: on |
15 |
Prereq: /sbin/ldconfig |
|
81 | 16 |
|
2691 | 17 |
%define gstreamer_version 0.8.0 |
1526 | 18 |
%define gconf_version 2.4.0.1 |
19 |
%define nautilus_version 2.5.4 |
|
81 | 20 |
|
1526 | 21 |
Requires: gstreamer >= %{gstreamer_version} |
22 |
Requires: gstreamer-plugins >= %{gstreamer_version} |
|
23 |
Requires: GConf >= %{gconf_version} |
|
81 | 24 |
|
1526 | 25 |
BuildRequires: gstreamer-devel >= %{gstreamer_version} |
26 |
BuildRequires: gstreamer-plugins-devel >= %{gstreamer_version} |
|
27 |
BuildRequires: nautilus-devel >= %{nautilus_version} |
|
81 | 28 |
|
29 |
%description |
|
30 |
This package contains a Nautilus view for audio using GStreamer. |
|
31 |
||
32 |
%prep |
|
33 |
%setup -n %{name}-%{version} |
|
3347 | 34 |
%patch1 -p1 |
2355 | 35 |
/usr/bin/bzcat -dc %SOURCE1|tar xf - |
36 |
||
81 | 37 |
%build |
968 | 38 |
CFLAGS="$RPM_OPT_FLAGS" \ |
39 |
./configure \ |
|
40 |
--prefix=%{_prefix} \ |
|
41 |
--sysconfdir=%{_sysconfdir} \ |
|
42 |
--libexecdir=%{_libexecdir} \ |
|
43 |
--mandir=%{_mandir} |
|
44 |
||
81 | 45 |
%install |
46 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
968 | 47 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
81 | 48 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
49 |
||
50 |
# clean up unpackaged files |
|
51 |
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|
52 |
rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la |
|
53 |
rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.a |
|
3733 | 54 |
rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/Nautilus_View_audio.server |
55 |
rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/Nautilus_View_audio_properties.server |
|
81 | 56 |
|
57 |
%clean |
|
3788 | 58 |
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
81 | 59 |
|
60 |
%post |
|
1080 | 61 |
/sbin/ldconfig |
81 | 62 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
63 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gst-thumbnail.schemas > /dev/null |
|
64 |
||
1080 | 65 |
%postun |
66 |
/sbin/ldconfig |
|
67 |
||
81 | 68 |
%files |
69 |
%defattr(-, root, root) |
|
70 |
%{_bindir}/gst-thumbnail |
|
1556 | 71 |
#%{_libdir}/bonobo/servers/* |
81 | 72 |
%{_libdir}/bonobo/libnautilus-audio-properties-view.so |
73 |
%{_libexecdir}/nautilus-audio-view |
|
74 |
%{_datadir}/pixmaps/%{name} |
|
75 |
%{_datadir}/nautilus/glade/audio-properties-view.glade |
|
76 |
%{_datadir}/gnome-2.0/ui/nautilus-audio-view-ui.xml |
|
77 |
%{_datadir}/locale/*/LC_MESSAGES/nautilus-media.mo |
|
78 |
%{_sysconfdir}/gconf/schemas/gst-thumbnail.schemas |
|
79 |
||
80 |
%changelog |
|
3733 | 81 |
* Fri Aug 20 2004 - [email protected] |
82 |
- Remove server files by name rather than using *.server because when building |
|
83 |
on Solaris we build multiple packages together and this is also deleting |
|
84 |
server files installed by gnome-media, which is not desired. |
|
85 |
||
3347 | 86 |
* Thu Jul 15 2004 - [email protected] |
87 |
- Added patch 01 to support nautilus-media working on Solaris. |
|
88 |
||
3628 | 89 |
* Tue Jul 12 2004 - [email protected] |
90 |
- remove %{_libdir}/bonobo/servers/* from installed files |
|
91 |
rpm4 does not like it when stuff is just commented out |
|
92 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3224
diff
changeset
|
93 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3224
diff
changeset
|
94 |
- Updated l10n content to nautilus-media-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3224
diff
changeset
|
95 |
|
2691 | 96 |
* Mon May 10 2004 - [email protected] |
97 |
- up required gstreamer version |
|
98 |
||
2408 | 99 |
* Tue Apr 06 2004 - [email protected] |
100 |
- pump up to 0.8.0 version which is released in 2.6 |
|
101 |
||
2355 | 102 |
* Wed Mar 31 2004 - [email protected] |
103 |
- replace tar jxf with the more solaris friendly |
|
104 |
bzcat piped through tar |
|
105 |
||
2350 | 106 |
* Mon Mar 29 2004 - [email protected] |
107 |
- Adding nautilus-media-l10n-po-1.0.tar.bz2 l10n content |
|
108 |
||
1556 | 109 |
* Mon Feb 02 2004 <[email protected]> |
1669 | 110 |
- Bump to 0.5.3, because of gstreamer update |
111 |
||
112 |
* Mon Feb 02 2004 <[email protected]> |
|
1556 | 113 |
- comment out %{_libdir}/bonobo/servers/* from %files |
114 |
||
1528 | 115 |
* Mon Jan 12 2004 Niall Power <[email protected]> |
1526 | 116 |
- new version: 0.5.2 |
117 |
- clean up dependencies |
|
118 |
||
1261 | 119 |
* Tue Oct 14 2003 Niall Power <[email protected]> |
120 |
- update to version 0.3.3 |
|
121 |
- removed patches nautilus-media-01-file-info.diff and |
|
122 |
nautilus-media-02-dnd-mp3-crash.diff: merged upstream. |
|
123 |
||
124 |
* Tue Sep 23 2003 Niall Power <[email protected]> |
|
1162 | 125 |
- added nautilus-media-02-dnd-mp3-crash.diff. Patch from |
126 |
[email protected] fixes BT# 4891138 |
|
127 |
||
1141 | 128 |
* Thu Sep 18 2003 Niall Power <[email protected]> |
129 |
- added nautilus-media-01-file-info.diff patch from Kaushal |
|
130 |
- Fixes BT# 4903315 |
|
81 | 131 |
* Wed May 14 2003 Niall Power <[email protected]> |
132 |
- initial spec file |