%define majver %(echo %version | cut -d. -f 1-2) Name: gnome-mime-data Version: 2.18.0 Release: 2mamba Summary: Base set of file types and applications for GNOME Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.acc.umu.se/pub/GNOME/sources/gnome-mime-data/%{majver}/gnome-mime-data-%{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 sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub %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) %{_sysconfdir}/gnome/gnome-vfs-mime-magic %{_datadir}/application-registry/gnome-vfs.applications %{_datadir}/mime-info/* %{_datadir}/pkgconfig/gnome-mime-data-2.0.pc %{_mandir}/man5/gnome-vfs-mime.5* %changelog * Mon Aug 19 2013 Automatic Build System 2.18.0-2mamba - automatic rebuild by autodist * Sun Jul 20 2008 gil 2.18.0-1mamba - update to 2.18.0 * Fri Jan 05 2007 Davide Madrisan 2.4.3-1qilnx - update to version 2.4.3 by autospec * Tue Aug 30 2005 Davide Madrisan 2.4.2-1qilnx - update to version 2.4.2 by autospec * Thu Jul 24 2003 Silvan Calarco 2.3.0-1qilnx - first build of gnome-mime-data