186
|
1 |
Name: gnome-mime-data
|
|
2 |
License: LGPL
|
|
3 |
Group: System/GUI/GNOME
|
|
4 |
BuildArchitectures: noarch
|
1867
|
5 |
Version: 2.4.1
|
2571
|
6 |
Release: 10
|
1867
|
7 |
Distribution: Cinnabar
|
575
|
8 |
Vendor: Sun Microsystems, Inc.
|
186
|
9 |
Summary: MIME Type and Application Database for the GNOME Desktop
|
1208
|
10 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-mime-data/2.4/%{name}-%{version}.tar.bz2
|
2350
|
11 |
Source1: gnome-mime-data-l10n-po-1.0.tar.bz2
|
1432
|
12 |
Source2: gnome-vfs.mime.4.gz
|
|
13 |
Source3: gnome-vfs-mime-magic.4.gz
|
|
14 |
Source4: gnome-vfs.applications.4.gz
|
|
15 |
Source5: gnome-vfs.keys.4.gz
|
839
|
16 |
Patch1: gnome-mime-data-01-view-as-audio-component.diff
|
1432
|
17 |
Patch2: gnome-mime-data-02-make-jmplay-default-player.diff
|
2571
|
18 |
Patch3: gnome-mime-data-03-set-mozilla-default.diff
|
1304
|
19 |
Patch4: gnome-mime-data-04-text-plain-handler.diff
|
1432
|
20 |
Patch5: gnome-mime-data-05-always-use-app.diff
|
1867
|
21 |
Patch6: gnome-mime-data-06-swf-handler.diff
|
|
22 |
Patch7: gnome-mime-data-07-jar-handler.diff
|
2273
|
23 |
Patch8: gnome-mime-data-08-g11n-keys.diff
|
186
|
24 |
URL: http://www.gnome.org
|
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
26 |
Docdir: %{_defaultdocdir}/%{name}
|
|
27 |
Autoreqprov: on
|
|
28 |
|
1208
|
29 |
%define gnome_common_version 2.4.0
|
186
|
30 |
|
|
31 |
BuildRequires: gnome-common >= %{gnome_common_version}
|
1552
|
32 |
BuildRequires: intltool
|
27
|
33 |
|
|
34 |
%description
|
152
|
35 |
MIME Type and Application Database for the GNOME Desktop that allows the
|
|
36 |
GNOME Virtual Filesystem to associate data files with their icon and
|
|
37 |
description, and to launch them with suitable applications.
|
27
|
38 |
|
|
39 |
%prep
|
1432
|
40 |
%setup -q
|
|
41 |
%patch1 -p1
|
1882
|
42 |
%patch2 -p1
|
1273
|
43 |
%patch3 -p1
|
1304
|
44 |
%patch4 -p1
|
1432
|
45 |
%patch5 -p1
|
1867
|
46 |
%patch6 -p1
|
|
47 |
%patch7 -p1
|
2273
|
48 |
%patch8 -p1
|
27
|
49 |
|
1522
|
50 |
bzcat %SOURCE1 | tar xvf -
|
27
|
51 |
%build
|
1551
|
52 |
libtoolize --force
|
|
53 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros
|
|
54 |
automake -a -c -f
|
|
55 |
autoconf
|
186
|
56 |
./configure --prefix=%{_prefix} \
|
|
57 |
--sysconfdir=%{_sysconfdir} \
|
|
58 |
--mandir=%{_mandir}
|
152
|
59 |
make
|
27
|
60 |
|
|
61 |
%install
|
152
|
62 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1432
|
63 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1522
|
64 |
install -d $RPM_BUILD_ROOT%{_mandir}/man4
|
|
65 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man4
|
|
66 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man4
|
|
67 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man4
|
|
68 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man4
|
1432
|
69 |
#Copy zh_HK from zh_TW
|
|
70 |
#Fixes bug 4930405
|
1522
|
71 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
72 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
1432
|
73 |
|
27
|
74 |
%clean
|
|
75 |
rm -rf $RPM_BUILD_ROOT
|
|
76 |
|
|
77 |
%files
|
|
78 |
%defattr(-,root,root)
|
186
|
79 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
152
|
80 |
%{_sysconfdir}/gnome-vfs-mime-magic
|
186
|
81 |
%{_datadir}/mime-info/*
|
|
82 |
%{_datadir}/application-registry/*
|
1432
|
83 |
%{_mandir}/man4/*
|
152
|
84 |
# This package is so small, it's not worth doing a -devel package
|
|
85 |
# just for the pkgconfig file.
|
186
|
86 |
%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
|
27
|
87 |
|
|
88 |
%changelog
|
2571
|
89 |
* Tue Apr 27 2004 - [email protected]
|
|
90 |
- Set mozilla as the default browser for text/html mime type.
|
|
91 |
|
2350
|
92 |
* Mon Mar 29 2004 - [email protected]
|
|
93 |
- Updated l10n content to gnome-mime-data-l10n-po-1.0.tar.bz2
|
|
94 |
|
2273
|
95 |
* Mon Mar 22 2004 - <[email protected]>
|
|
96 |
- Replaced gnome-mime-data-08-i18n-keys.diff with
|
|
97 |
gnome-mime-data-08-g11n-keys.diff
|
|
98 |
|
1882
|
99 |
* Mon Feb 23 2004 <[email protected]>
|
|
100 |
- Repatched gnome-mime-data-02-make-jmplay-default-player.diff for
|
|
101 |
cinnabar.
|
|
102 |
|
1867
|
103 |
* Mon Feb 23 2004 - <[email protected]>
|
|
104 |
- New tarball 2.4.1, ported patches, still two patches to do
|
|
105 |
|
1552
|
106 |
* Thu Jan 29 2004 - <[email protected]>
|
|
107 |
- Add dependency on intltool
|
|
108 |
|
1432
|
109 |
* Mon Dec 15 2003 - <[email protected]
|
|
110 |
- Add back the man pages, and some patches.
|
|
111 |
|
1304
|
112 |
* Mon Oct 20 2003 - <[email protected]
|
|
113 |
- Added patch gnome-mime-data-04-text-plain-handler.diff which was in
|
|
114 |
Mercury so that gedit is lauched instead of text viewer for nautilus
|
|
115 |
on a text/*.
|
|
116 |
|
1271
|
117 |
* Wed Oct 15 2003 - <[email protected]> 2.4.0-2
|
|
118 |
- Re-add the view-as-webpage diff.
|
1274
|
119 |
|
1208
|
120 |
* Tue Oct 07 2003 - [email protected]
|
|
121 |
- Updated to use GNOME 2.4 for Quicksilver. Deleted one patch and
|
|
122 |
renumbered the other one.
|
|
123 |
|
1109
|
124 |
* Thu Aug 21 2003 - [email protected]
|
|
125 |
- Updated gnome-vfs.applications to include all the real formats
|
|
126 |
that realplay itself understand since the current definitions is
|
|
127 |
rather limiting. simply updated the Patch3.
|
|
128 |
|
1097
|
129 |
* Wed Aug 20 2003 - [email protected]
|
|
130 |
- updated gnome-vfs.applications, gnome-vfs.keys.in and gnome-vfs.mime
|
|
131 |
to include some of the more obscure mime types that jmplay can
|
|
132 |
handle including x-gsm, rmf, ogg, mvr, x-jmx.
|
|
133 |
|
1070
|
134 |
* Mon Aug 18 2003 - [email protected]
|
|
135 |
- created a patch to add jmplay as default media player.
|
|
136 |
|
1032
|
137 |
* Mon Aug 11 2003 - <[email protected]>
|
|
138 |
- new tarball, reset release
|
|
139 |
|
839
|
140 |
* Mon Jul 28 2003 - <[email protected]>
|
|
141 |
- Make pdfs get opened in the gpdf component by default
|
|
142 |
|
510
|
143 |
* Wed Jul 09 2003 - <[email protected]>
|
|
144 |
- add in sun po files
|
|
145 |
|
839
|
146 |
* Mon Jul 07 2003 - <[email protected]>
|
459
|
147 |
- added patch to shortlist nautilus_audio_view for viewing directory contents.
|
839
|
148 |
|
27
|
149 |
* Thu May 13 2003 - [email protected]
|
|
150 |
- Created new spec file for gnome-mime-data
|