author | miles |
Fri, 20 May 2005 11:54:25 +0000 | |
changeset 5452 | 19218a29c2bc |
parent 5421 | 819e6a39130c |
child 5460 | 54346da409d4 |
permissions | -rw-r--r-- |
186 | 1 |
Name: gnome-mime-data |
2 |
License: LGPL |
|
3 |
Group: System/GUI/GNOME |
|
4 |
BuildArchitectures: noarch |
|
1867 | 5 |
Version: 2.4.1 |
5421 | 6 |
Release: 46 |
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4860
diff
changeset
|
7 |
Distribution: Java Desktop System, Release 3 |
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 |
5452 | 11 |
Source1: gnome-mime-data-l10n-po-1.15.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 |
|
4455 | 16 |
Source6: l10n-configure.sh |
5306
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
17 |
Source7: gnome-realplay.keys |
839 | 18 |
Patch1: gnome-mime-data-01-view-as-audio-component.diff |
5289 | 19 |
Patch2: gnome-mime-data-02-make-realplayer-default-player.diff |
2571 | 20 |
Patch3: gnome-mime-data-03-set-mozilla-default.diff |
1304 | 21 |
Patch4: gnome-mime-data-04-text-plain-handler.diff |
1432 | 22 |
Patch5: gnome-mime-data-05-always-use-app.diff |
1867 | 23 |
Patch6: gnome-mime-data-06-swf-handler.diff |
24 |
Patch7: gnome-mime-data-07-jar-handler.diff |
|
2273 | 25 |
Patch8: gnome-mime-data-08-g11n-keys.diff |
5289 | 26 |
Patch9: gnome-mime-data-09-add-nfs-mime.diff |
27 |
Patch10: gnome-mime-data-10-pdfviewer.diff |
|
28 |
Patch11: gnome-mime-data-11-shellscript.diff |
|
29 |
Patch12: gnome-mime-data-12-associate-glade-files.diff |
|
30 |
Patch13: gnome-mime-data-13-associate-java-files.diff |
|
5421 | 31 |
Patch14: gnome-mime-data-14-return-path-pattern.diff |
186 | 32 |
URL: http://www.gnome.org |
33 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
34 |
Docdir: %{_defaultdocdir}/%{name} |
|
35 |
Autoreqprov: on |
|
36 |
||
1208 | 37 |
%define gnome_common_version 2.4.0 |
186 | 38 |
|
39 |
BuildRequires: gnome-common >= %{gnome_common_version} |
|
1552 | 40 |
BuildRequires: intltool |
27 | 41 |
|
5307
78025ad8ce01
6241631: gnome-mime-data.spec: add PreReq: RealPlayer
dermotm
parents:
5306
diff
changeset
|
42 |
PreReq: RealPlayer |
78025ad8ce01
6241631: gnome-mime-data.spec: add PreReq: RealPlayer
dermotm
parents:
5306
diff
changeset
|
43 |
|
27 | 44 |
%description |
152 | 45 |
MIME Type and Application Database for the GNOME Desktop that allows the |
46 |
GNOME Virtual Filesystem to associate data files with their icon and |
|
47 |
description, and to launch them with suitable applications. |
|
27 | 48 |
|
49 |
%prep |
|
1432 | 50 |
%setup -q |
51 |
%patch1 -p1 |
|
1882 | 52 |
%patch2 -p1 |
1273 | 53 |
%patch3 -p1 |
1304 | 54 |
%patch4 -p1 |
1432 | 55 |
%patch5 -p1 |
1867 | 56 |
%patch6 -p1 |
57 |
%patch7 -p1 |
|
2273 | 58 |
%patch8 -p1 |
3189 | 59 |
%patch9 -p1 |
3335 | 60 |
%patch10 -p1 |
3933 | 61 |
%patch11 -p1 |
4498 | 62 |
%patch12 -p1 |
5009 | 63 |
%patch13 -p1 |
5421 | 64 |
%patch14 -p1 |
27 | 65 |
|
1522 | 66 |
bzcat %SOURCE1 | tar xvf - |
4455 | 67 |
bash -x %SOURCE6 |
68 |
||
27 | 69 |
%build |
3263 | 70 |
%ifos linux |
71 |
if [ -x /usr/bin/getconf ]; then |
|
72 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
73 |
fi |
|
74 |
%else |
|
3846 | 75 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 76 |
%endif |
77 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
78 |
CPUS=1 |
|
79 |
fi |
|
80 |
||
1551 | 81 |
libtoolize --force |
82 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
83 |
automake -a -c -f |
|
84 |
autoconf |
|
186 | 85 |
./configure --prefix=%{_prefix} \ |
86 |
--sysconfdir=%{_sysconfdir} \ |
|
87 |
--mandir=%{_mandir} |
|
3263 | 88 |
make -j $CPUS |
27 | 89 |
|
90 |
%install |
|
152 | 91 |
make DESTDIR=$RPM_BUILD_ROOT install |
1432 | 92 |
make DESTDIR=$RPM_BUILD_ROOT install |
1522 | 93 |
install -d $RPM_BUILD_ROOT%{_mandir}/man4 |
94 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
95 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
96 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
97 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man4 |
|
1432 | 98 |
#Copy zh_HK from zh_TW |
99 |
#Fixes bug 4930405 |
|
1522 | 100 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
5306
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
101 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo \ |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
102 |
$RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
103 |
install --mode=0644 %SOURCE7 $RPM_BUILD_ROOT%{_datadir}/mime-info |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
104 |
|
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
105 |
|
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
106 |
%post |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
107 |
install -p -m644 "%{_datadir}/mime-info/gnome-realplay.keys" \ |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
108 |
"%{_datadir}/mime-info/realplay.keys" |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
109 |
|
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
110 |
|
27 | 111 |
%clean |
112 |
rm -rf $RPM_BUILD_ROOT |
|
113 |
||
114 |
%files |
|
115 |
%defattr(-,root,root) |
|
186 | 116 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
152 | 117 |
%{_sysconfdir}/gnome-vfs-mime-magic |
186 | 118 |
%{_datadir}/mime-info/* |
119 |
%{_datadir}/application-registry/* |
|
1432 | 120 |
%{_mandir}/man4/* |
152 | 121 |
# This package is so small, it's not worth doing a -devel package |
122 |
# just for the pkgconfig file. |
|
186 | 123 |
%{_libdir}/pkgconfig/gnome-mime-data-2.0.pc |
27 | 124 |
|
125 |
%changelog |
|
5421 | 126 |
* Tue May 10 2005 - [email protected] |
127 |
- Added patch gnome-mime-data-14-return-path-pattern.diff given by |
|
128 |
Antonio Xu <[email protected]> to add pattern "Return-path" |
|
129 |
for message.rfc822. fixes bug #6267137. |
|
130 |
||
5306
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
131 |
* Wed Apr 06 2005 - [email protected] |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
132 |
- 6241631: added gnome-realplay.keys, which overwrites |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
133 |
/usr/share/mime-info/realplay.keys in %post. This sets |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
134 |
RP as the player for most possible media types. |
a09ba4a71ecc
6241631: overwrite RealPlayer's realplay.keys with new version
dermotm
parents:
5289
diff
changeset
|
135 |
|
5289 | 136 |
* Thu Mar 31 2005 - [email protected] |
137 |
- Removed jmplay as default player for many media types in |
|
138 |
preference of realplayer. It still defaults back to some |
|
139 |
though. Remove the realplayer patch since it's now bogus. |
|
140 |
||
5217 | 141 |
* Fri Mar 11 2005 - [email protected] |
142 |
- Added patch gnome-mime-data-14-associate-java-files.diff to |
|
143 |
associate java files with netbeans. |
|
144 |
Fixes bug #6229767. |
|
145 |
||
5009 | 146 |
* Thu Feb 03 2005 - [email protected] |
147 |
- Added patch gnome-mime-data-13-associate-glade-files.diff to |
|
148 |
associate glade files with glade tool. |
|
149 |
Fixes bug #6222813. |
|
150 |
||
4664 | 151 |
* Fri Nov 26 2004 - [email protected] |
152 |
- removed patch 13 |
|
153 |
||
4592 | 154 |
* Thu Nov 18 2004 - [email protected] |
155 |
- added patch gnome-mime-data-13-acroread-mozilla-wrappers.diff |
|
156 |
||
4498 | 157 |
* Wed Nov 10 2004 - [email protected] |
158 |
- Added patch gnome-mime-data-12-shellscript.diff to add flags for |
|
159 |
shell scripts' mime types. |
|
160 |
||
4148 | 161 |
* Tue Oct 05 2004 - [email protected] |
162 |
- Updated gnome-mime-data-02-make-jmplay-default-player.diff to add x-gsm mime |
|
163 |
Fixed 6173640 |
|
164 |
||
3933 | 165 |
* Wed Sep 15 2004 - [email protected] |
166 |
- Added patch gnome-mime-data-11-pdfviewer.diff. |
|
167 |
Fixes bug# 5100997 |
|
168 |
||
3335 | 169 |
* Wed Jul 14 2004 - [email protected] |
170 |
- Added patch gnome-mime-data-10-add-nfs-mime.diff to add entries for |
|
171 |
x-directory/nfs-mount and x-directory/nfs-share mime types to enable |
|
172 |
browsing nfs:// locations. Fixes bugtraq bug#5034725. |
|
173 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
174 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
175 |
- Updated l10n content to gnome-mime-data-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
176 |
|
3263 | 177 |
* Wed Jul 07 2004 - [email protected] |
178 |
- added "-j $CPUS" to make to speed up builds |
|
179 |
||
3189 | 180 |
* Wed Jun 23 2004 - [email protected] |
181 |
- Added patch gnome-mime-data-09-realplayer-command-change.diff to |
|
182 |
fix the problem of mime association for realplayer by correcting |
|
183 |
the command name. Fixes bugtraq bug#5061307 |
|
184 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
185 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
186 |
- Updated l10n content to gnome-mime-data-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
187 |
|
2571 | 188 |
* Tue Apr 27 2004 - [email protected] |
189 |
- Set mozilla as the default browser for text/html mime type. |
|
190 |
||
2350 | 191 |
* Mon Mar 29 2004 - [email protected] |
192 |
- Updated l10n content to gnome-mime-data-l10n-po-1.0.tar.bz2 |
|
193 |
||
2273 | 194 |
* Mon Mar 22 2004 - <[email protected]> |
195 |
- Replaced gnome-mime-data-08-i18n-keys.diff with |
|
196 |
gnome-mime-data-08-g11n-keys.diff |
|
197 |
||
1882 | 198 |
* Mon Feb 23 2004 <[email protected]> |
199 |
- Repatched gnome-mime-data-02-make-jmplay-default-player.diff for |
|
200 |
cinnabar. |
|
201 |
||
1867 | 202 |
* Mon Feb 23 2004 - <[email protected]> |
203 |
- New tarball 2.4.1, ported patches, still two patches to do |
|
204 |
||
1552 | 205 |
* Thu Jan 29 2004 - <[email protected]> |
206 |
- Add dependency on intltool |
|
207 |
||
1432 | 208 |
* Mon Dec 15 2003 - <[email protected] |
209 |
- Add back the man pages, and some patches. |
|
210 |
||
1304 | 211 |
* Mon Oct 20 2003 - <[email protected] |
212 |
- Added patch gnome-mime-data-04-text-plain-handler.diff which was in |
|
213 |
Mercury so that gedit is lauched instead of text viewer for nautilus |
|
214 |
on a text/*. |
|
215 |
||
1271 | 216 |
* Wed Oct 15 2003 - <[email protected]> 2.4.0-2 |
217 |
- Re-add the view-as-webpage diff. |
|
1274 | 218 |
|
1208 | 219 |
* Tue Oct 07 2003 - [email protected] |
220 |
- Updated to use GNOME 2.4 for Quicksilver. Deleted one patch and |
|
221 |
renumbered the other one. |
|
222 |
||
1109 | 223 |
* Thu Aug 21 2003 - [email protected] |
224 |
- Updated gnome-vfs.applications to include all the real formats |
|
225 |
that realplay itself understand since the current definitions is |
|
226 |
rather limiting. simply updated the Patch3. |
|
227 |
||
1097 | 228 |
* Wed Aug 20 2003 - [email protected] |
229 |
- updated gnome-vfs.applications, gnome-vfs.keys.in and gnome-vfs.mime |
|
230 |
to include some of the more obscure mime types that jmplay can |
|
231 |
handle including x-gsm, rmf, ogg, mvr, x-jmx. |
|
232 |
||
1070 | 233 |
* Mon Aug 18 2003 - [email protected] |
234 |
- created a patch to add jmplay as default media player. |
|
235 |
||
1032 | 236 |
* Mon Aug 11 2003 - <[email protected]> |
237 |
- new tarball, reset release |
|
238 |
||
839 | 239 |
* Mon Jul 28 2003 - <[email protected]> |
240 |
- Make pdfs get opened in the gpdf component by default |
|
241 |
||
510 | 242 |
* Wed Jul 09 2003 - <[email protected]> |
243 |
- add in sun po files |
|
244 |
||
839 | 245 |
* Mon Jul 07 2003 - <[email protected]> |
459 | 246 |
- added patch to shortlist nautilus_audio_view for viewing directory contents. |
839 | 247 |
|
27 | 248 |
* Thu May 13 2003 - [email protected] |
249 |
- Created new spec file for gnome-mime-data |