- Update to 0.19
This commit is contained in:
parent
de79793429
commit
c3db303051
@ -1 +1 @@
|
|||||||
shared-mime-info-0.18.tar.gz
|
shared-mime-info-0.19.tar.gz
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Shared MIME information database
|
Summary: Shared MIME information database
|
||||||
Name: shared-mime-info
|
Name: shared-mime-info
|
||||||
Version: 0.18
|
Version: 0.19
|
||||||
Release: 2
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://freedesktop.org/Software/shared-mime-info
|
URL: http://freedesktop.org/Software/shared-mime-info
|
||||||
@ -9,8 +9,6 @@ Source0: %{name}-%{version}.tar.gz
|
|||||||
Source1: defaults.list
|
Source1: defaults.list
|
||||||
|
|
||||||
Patch0: shared-mime-info-0.16-cisco-vpn.patch
|
Patch0: shared-mime-info-0.16-cisco-vpn.patch
|
||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=4675
|
|
||||||
Patch1: shared-mime-info-0.16-fonts.patch
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
@ -30,27 +28,26 @@ and looking up the correct MIME type in a database.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p0 -b .cisco-vpn
|
%patch0 -p0 -b .cisco-vpn
|
||||||
%patch1 -p1 -b .fonts
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%configure --disable-update-mimedb
|
%configure --disable-update-mimedb
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
|
%{__mkdir_p} $RPM_BUILD_ROOT/%{_datadir}/applications
|
||||||
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
|
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/defaults.list
|
||||||
|
|
||||||
## remove these bogus files
|
## remove these bogus files
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
|
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/locale/*
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -63,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 25 2006 Christopher Aillon <caillon@redhat.com> - 0.19-1
|
||||||
|
- Update to 0.19
|
||||||
|
|
||||||
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 0.18-2
|
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 0.18-2
|
||||||
- add an inode/directory entry to defaults.list (#187021)
|
- add an inode/directory entry to defaults.list (#187021)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user