packages gnome-mime-data.spec
      Pages: < 1 >  DOWNLOAD      
#%define gnomever    2.16.2

%define 	majver      %(echo %version | cut -d. -f 1-2)
%define 	group       sources
%define 	pkgname     gnome-mime-data

Name:          gnome-mime-data
Version:       2.18.0
Release:       1mamba
Summary:       Base set of file types and applications for GNOME
Group:         System/Libraries
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           http://www.gnome.org
# bugfixes: http://ftp.acc.umu.se/pub/GNOME/sources/%{pkgname}
Source:        http://ftp.acc.umu.se/pub/GNOME/%{group}/%{pkgname}/%{majver}/%{pkgname}-%{version}.tar.gz 
License:       GPL
BuildRequires: gettext-devel
BuildRequires: perl-XML-Parser
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
The gnome-mime-data package contains the base set of file types and 
applications for GNOME.

%prep
%setup -q

%build
%configure --sysconfdir=%{_sysconfdir}/gnome 
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# man file cannnot be installed by makeinstall
%{__mkdir_p} %{buildroot}%{_mandir}/man5
install -m 644 man/gnome-vfs-mime.5 %{buildroot}%{_mandir}/man5

%find_lang %{name}

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files -f %{name}.lang
%defattr(-,root,root)
%{_datadir}/application-registry/gnome-vfs.applications
%{_datadir}/mime-info/*
%{_mandir}/man5/gnome-vfs-mime.5.gz
%{_datadir}/pkgconfig/gnome-mime-data-2.0.pc
%{_sysconfdir}/gnome/gnome-vfs-mime-magic

%changelog
* Sun Jul 20 2008 gil <puntogil@...> 2.18.0-1mamba
- update to 2.18.0

* Fri Jan 05 2007 Davide Madrisan <davide.madrisan@...> 2.4.3-1qilnx
- update to version 2.4.3 by autospec

* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@...> 2.4.2-1qilnx
- update to version 2.4.2 by autospec

* Thu Jul 24 2003 Silvan Calarco <silvan.calarco@...> 2.3.0-1qilnx
- first build of gnome-mime-data