source: trunk/third/nautilus-media/nautilus-media.spec @ 21022

Revision 21022, 2.6 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21021, which included commits to RCS files with non-trunk default branches.
Line 
1%define         gst_minver      0.8.0
2%define         gstp_minver     0.8.0
3%define         gstreamer       gstreamer
4
5Name:           nautilus-media
6Version:        0.8.1
7Release:        1
8Summary:        A Nautilus media package with views and thumbnailers.
9
10Group:          Libraries/Multimedia
11License:        LGPL
12URL:            http://www.gnome.org/
13Packager:       Thomas Vander Stichele <thomas at apestaart dot org>
14Source:         %{name}-%{version}.tar.gz
15BuildRoot:      %{_tmppath}/%{name}-root
16
17Requires:       %{gstreamer} >= 0.8.0
18Requires:       %{gstreamer}-plugins >= 0.8.0
19Requires:       GConf2
20
21BuildRequires:  %{gstreamer}-devel >= 0.8.0
22BuildRequires:  %{gstreamer}-plugins-devel >= 0.8.0
23
24BuildRequires:  nautilus2-devel
25BuildRequires:  eel2-devel
26
27%description
28This package contains a Nautilus view for audio using GStreamer, as well
29as an audio property page and a video thumbnailer.
30
31#%package -n nautilus-test-view
32#Summary:       Nautilus test view, only for educational purposes.
33#Group:         Libraries/Multimedia
34#
35#%description -n nautilus-test-view
36#This package contains a Nautilus test view which doesn't do anything useful
37#and is only meant for educational use.
38
39%prep
40%setup -q
41
42%build
43%configure
44
45%install
46rm -rf $RPM_BUILD_ROOT
47export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
48
49%makeinstall
50unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
51
52%find_lang nautilus-media
53
54# clean up unpackaged files
55rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
56rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.la
57rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/*.a
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post
63export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
64gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gst-thumbnail.schemas > /dev/null
65
66%files -f nautilus-media.lang
67%defattr(-, root, root)
68%doc AUTHORS COPYING README ChangeLog
69%{_bindir}/gst-thumbnail
70%{_libdir}/bonobo/servers/*
71%{_libdir}/bonobo/libnautilus-audio-properties-view.so
72%{_libexecdir}/nautilus-audio-view
73%{_datadir}/pixmaps/%{name}
74%{_datadir}/nautilus/glade/audio-properties-view.glade
75%{_datadir}/gnome-2.0/ui/nautilus-audio-view-ui.xml
76%{_sysconfdir}/gconf/schemas/gst-thumbnail.schemas
77
78#%files -n nautilus-test-view
79#%defattr(-, root, root)
80#%{_libexecdir}/nautilus-test-view
81#%{_datadir}/gnome-2.0/ui/nautilus-test-view-ui.xml
82
83%changelog
84* Tue Mar 30 2004 Thomas Vander Stichele <thomas at apestaart dot org>
85- More cleanups
86
87* Sun Feb 29 2004 Christian Schaller <Uraeus@gnome.org>
88- Add versioning variable to build against versioned packages
89
90* Wed Jan 22 2003 Thomas Vander Stichele <thomas at apestaart dot org>
91- conditionalize test view package
92- add gconf stuff for thumbnailers
93
94* Fri Oct 25 2002 Thomas Vander Stichele <thomas@apestaart.org>
95- initial spec file
Note: See TracBrowser for help on using the repository browser.