From e8aa3bcdb1ae1d579078b2d63d77f15584377c74 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 12:21:08 +0000 Subject: [PATCH] auto-import changelog data from shared-mime-info-0.13-1.src.rpm Mon Jan 26 2004 Alexander Larsson 0.13-1 - 0.13 Fri Jan 16 2004 Alexander Larsson mime-info - Initial build. --- .cvsignore | 1 + shared-mime-info.spec | 65 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+) create mode 100644 shared-mime-info.spec diff --git a/.cvsignore b/.cvsignore index e69de29..8b08587 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +shared-mime-info-0.13.tar.gz diff --git a/shared-mime-info.spec b/shared-mime-info.spec new file mode 100644 index 0000000..690f5b2 --- /dev/null +++ b/shared-mime-info.spec @@ -0,0 +1,65 @@ +Summary: Shared MIME information database +Name: shared-mime-info +Version: 0.13 +Release: 1 +License: GPL +Group: System Environment/Libraries +URL: http://freedesktop.org/Software/shared-mime-info +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRequires: libxml2-devel +BuildRequires: glib2-devel +# For intltool: +BuildRequires: perl-XML-Parser >= 2.31-16 +Requires: libxml2 glib2 + +# Needed until --disable-update-mimedb is added +Patch1: shared-mime-info-0.13-noupdate.patch + +%description +This is the freedesktop.org shared MIME info database. + +Many programs and desktops use the MIME system to represent the types of +files. Frequently, it is necessary to work out the correct MIME type for +a file. This is generally done by examining the file's name or contents, +and looking up the correct MIME type in a database. + +%prep +%setup -q +%patch1 -p1 -b .noupdate + +%build + +#workaround broken perl-XML-Parser on 64bit arches +export PERL5LIB=/usr/lib64/perl5/vendor_perl/5.8.2 perl + +%configure --disable-update-mimedb +make + +%install +rm -rf $RPM_BUILD_ROOT +%makeinstall + +## remove these bogus files +rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/* + +%post +%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README NEWS shared-mime-info-spec.xml +%{_bindir}/* +%dir %{_datadir}/mime/ +%{_datadir}/mime/packages +%{_mandir}/man*/* + +%changelog +* Mon Jan 26 2004 Alexander Larsson 0.13-1 +- 0.13 + +* Fri Jan 16 2004 Alexander Larsson mime-info +- Initial build. diff --git a/sources b/sources index e69de29..3f6f18d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +59827a0de271c30581e923190fb7d3df shared-mime-info-0.13.tar.gz