186
|
1 |
Name: gnome-mime-data
|
|
2 |
License: LGPL
|
|
3 |
Group: System/GUI/GNOME
|
|
4 |
BuildArchitectures: noarch
|
1208
|
5 |
Version: 2.4.0
|
1432
|
6 |
Release: 4
|
186
|
7 |
Distribution: Mercury
|
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
|
1432
|
11 |
Source1: gnome-mime-data-l10n-po-0.6.tar.bz2
|
|
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
|
1271
|
18 |
Patch3: gnome-mime-data-03-view-as-webpage.diff
|
1304
|
19 |
Patch4: gnome-mime-data-04-text-plain-handler.diff
|
1432
|
20 |
Patch5: gnome-mime-data-05-always-use-app.diff
|
186
|
21 |
URL: http://www.gnome.org
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
Docdir: %{_defaultdocdir}/%{name}
|
|
24 |
Autoreqprov: on
|
|
25 |
|
1208
|
26 |
%define gnome_common_version 2.4.0
|
186
|
27 |
|
|
28 |
BuildRequires: gnome-common >= %{gnome_common_version}
|
27
|
29 |
|
|
30 |
%description
|
152
|
31 |
MIME Type and Application Database for the GNOME Desktop that allows the
|
|
32 |
GNOME Virtual Filesystem to associate data files with their icon and
|
|
33 |
description, and to launch them with suitable applications.
|
27
|
34 |
|
|
35 |
%prep
|
1432
|
36 |
%setup -q
|
|
37 |
%patch1 -p1
|
1208
|
38 |
%patch2 -p1
|
1273
|
39 |
%patch3 -p1
|
1304
|
40 |
%patch4 -p1
|
1432
|
41 |
%patch5 -p1
|
27
|
42 |
|
1522
|
43 |
bzcat %SOURCE1 | tar xvf -
|
27
|
44 |
%build
|
186
|
45 |
./configure --prefix=%{_prefix} \
|
|
46 |
--sysconfdir=%{_sysconfdir} \
|
|
47 |
--mandir=%{_mandir}
|
152
|
48 |
make
|
27
|
49 |
|
|
50 |
%install
|
152
|
51 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1432
|
52 |
make DESTDIR=$RPM_BUILD_ROOT install
|
1522
|
53 |
install -d $RPM_BUILD_ROOT%{_mandir}/man4
|
|
54 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man4
|
|
55 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man4
|
|
56 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man4
|
|
57 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man4
|
1432
|
58 |
#Copy zh_HK from zh_TW
|
|
59 |
#Fixes bug 4930405
|
1522
|
60 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
|
|
61 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
|
1432
|
62 |
|
27
|
63 |
%clean
|
|
64 |
rm -rf $RPM_BUILD_ROOT
|
|
65 |
|
|
66 |
%files
|
|
67 |
%defattr(-,root,root)
|
186
|
68 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
152
|
69 |
%{_sysconfdir}/gnome-vfs-mime-magic
|
186
|
70 |
%{_datadir}/mime-info/*
|
|
71 |
%{_datadir}/application-registry/*
|
1432
|
72 |
%{_mandir}/man4/*
|
152
|
73 |
# This package is so small, it's not worth doing a -devel package
|
|
74 |
# just for the pkgconfig file.
|
186
|
75 |
%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc
|
27
|
76 |
|
|
77 |
%changelog
|
1432
|
78 |
* Mon Dec 15 2003 - <[email protected]
|
|
79 |
- Add back the man pages, and some patches.
|
|
80 |
|
1304
|
81 |
* Mon Oct 20 2003 - <[email protected]
|
|
82 |
- Added patch gnome-mime-data-04-text-plain-handler.diff which was in
|
|
83 |
Mercury so that gedit is lauched instead of text viewer for nautilus
|
|
84 |
on a text/*.
|
|
85 |
|
1271
|
86 |
* Wed Oct 15 2003 - <[email protected]> 2.4.0-2
|
|
87 |
- Re-add the view-as-webpage diff.
|
1274
|
88 |
|
1208
|
89 |
* Tue Oct 07 2003 - [email protected]
|
|
90 |
- Updated to use GNOME 2.4 for Quicksilver. Deleted one patch and
|
|
91 |
renumbered the other one.
|
|
92 |
|
1109
|
93 |
* Thu Aug 21 2003 - [email protected]
|
|
94 |
- Updated gnome-vfs.applications to include all the real formats
|
|
95 |
that realplay itself understand since the current definitions is
|
|
96 |
rather limiting. simply updated the Patch3.
|
|
97 |
|
1097
|
98 |
* Wed Aug 20 2003 - [email protected]
|
|
99 |
- updated gnome-vfs.applications, gnome-vfs.keys.in and gnome-vfs.mime
|
|
100 |
to include some of the more obscure mime types that jmplay can
|
|
101 |
handle including x-gsm, rmf, ogg, mvr, x-jmx.
|
|
102 |
|
1070
|
103 |
* Mon Aug 18 2003 - [email protected]
|
|
104 |
- created a patch to add jmplay as default media player.
|
|
105 |
|
1032
|
106 |
* Mon Aug 11 2003 - <[email protected]>
|
|
107 |
- new tarball, reset release
|
|
108 |
|
839
|
109 |
* Mon Jul 28 2003 - <[email protected]>
|
|
110 |
- Make pdfs get opened in the gpdf component by default
|
|
111 |
|
510
|
112 |
* Wed Jul 09 2003 - <[email protected]>
|
|
113 |
- add in sun po files
|
|
114 |
|
839
|
115 |
* Mon Jul 07 2003 - <[email protected]>
|
459
|
116 |
- added patch to shortlist nautilus_audio_view for viewing directory contents.
|
839
|
117 |
|
27
|
118 |
* Thu May 13 2003 - [email protected]
|
|
119 |
- Created new spec file for gnome-mime-data
|