source: projects/specs/trunk/s/shared-mime-info/shared-mime-info-vl.spec @ 9833

Revision 9833, 4.4 KB checked in by kudoh, 8 years ago (diff)

new upstream

Line 
1Summary: Shared MIME information database
2Summary(ja): 共有 MIME 情報データベース
3Name: shared-mime-info
4Version: 1.5
5Release: 1%{?_dist_release}
6License: GPL
7Group: User Interface/Desktops
8URL: http://freedesktop.org/wiki/Software/shared-mime-info
9Source0: %{name}-%{version}.tar.xz
10Source1: defaults.list
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  gawk
14BuildRequires:  libxml2-devel
15BuildRequires:  glib2-devel >= 2.6.0
16BuildRequires:  gettext
17# For intltool:
18BuildRequires: perl-XML-Parser >= 2.31-16
19Requires: libxml2
20Requires: glib2 >= 2.6.0
21
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26This is the freedesktop.org shared MIME info database.
27
28Many programs and desktops use the MIME system to represent the types of
29files. Frequently, it is necessary to work out the correct MIME type for
30a file. This is generally done by examining the file's name or contents,
31and looking up the correct MIME type in a database.
32
33%prep
34%setup -q
35
36%build
37%configure --disable-update-mimedb
38make
39
40%install
41rm -rf $RPM_BUILD_ROOT
42%makeinstall
43
44mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
45install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
46
47## remove these bogus files
48rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
49
50%post
51%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(-,root,root,-)
58%doc README NEWS shared-mime-info-spec.xml
59%{_bindir}/*
60%dir %{_datadir}/mime/
61%{_datadir}/mime/packages
62%{_datadir}/applications/defaults.list
63%{_datadir}/pkgconfig/*.pc
64%{_mandir}/man*/*
65
66%changelog
67* Sat Nov 28 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.5-1
68- new upstream release
69
70* Sat Sep 06 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3-1
71- new upstream release
72
73* Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-2
74- rebuild with VineSeed environment
75
76* Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
77- new upstream release
78
79* Sun Mar 03 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1-1
80- new upstream release
81- changed source archive bz2 to xz
82
83* Wed Oct 06 2010 Shu KONNO <owa@bg.wakwak.com> 0.71-2
84- rebuilt with rpm-4.8.1 for pkg-config
85
86* Sat May 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.71-1
87- new upstream release
88
89* Mon Aug 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.51-1
90- new upstream release
91- sepc in UTF-8
92
93* Fri May 16 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.30-1
94- new upstream release
95- updated Source1
96
97* Thu Mar 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-1vl5
98- new upstream release
99
100* Sun Aug 19 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.22-0vl1
101- new upstream release
102- changed Group to User Interface/Desktops
103
104* Wed Feb  7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.20-0vl1
105- new upstream release
106- changed pkgconfig dir
107
108* Sun Nov 26 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.19-0vl1
109- new upstream release
110
111* Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.16-0vl1
112- new upstream release
113
114* Mon Nov 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-10vl1
115- initial build for Vine Linux based on fedora package.
116
117* Mon Oct 18 2004 Alexander Larsson <alexl@redhat.com> - 0.15-10
118- Fix for mime sniffing on big-endian
119
120* Thu Oct 14 2004 Colin Walters <walters@redhat.com> - 0.15-9
121- Handle renaming of hxplay.desktop to realplay.desktop
122
123* Wed Oct 13 2004 Matthias Clasen <mclasen@redhat.com> - 0.15-8
124- Handle XUL files. #134122
125
126* Wed Oct 13 2004 Colin Walters <walters@redhat.com> - 0.15-7
127- Make helix default for ogg and mp3, will switch wav/flac too
128  when support is added
129
130* Wed Oct  6 2004 Alexander Larsson <alexl@redhat.com> - 0.15-6
131- Change default pdf viewer to ggv
132
133* Tue Sep  7 2004 Alexander Larsson <alexl@redhat.com> - 0.15-4
134- Fixed evo desktop file reference in defaults.list
135
136* Mon Sep  6 2004 Caolan McNamara <caolanm@redhat.com> - 0.15-3
137- wpd can be opened in abiword, but not in openoffice.org (#114907)
138
139* Fri Sep  3 2004 Alexander Larsson <alexl@redhat.com> - 0.15-2
140- Add list of default apps (#131643)
141
142* Mon Aug 30 2004 Jonathan Blandford <jrb@redhat.com> 0.15-1
143- bump version
144
145* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
146- rebuilt
147
148* Mon Mar 22 2004 Alex Larsson <alexl@redhat.com> 0.14-1
149- update to 0.14
150
151* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
152- rebuilt
153
154* Mon Jan 26 2004 Alexander Larsson <alexl@redhat.com> 0.13-1
155- 0.13
156
157* Fri Jan 16 2004 Alexander Larsson <alexl@redhat.com> mime-info
158- Initial build.
Note: See TracBrowser for help on using the repository browser.