From 04a0aba27b8704661cd5f9de5fa38613c7495f0d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:13:06 +0100 Subject: [PATCH] automatic rebuild by autodist [release 2.18.0-2mamba;Mon Aug 19 2013] --- README.md | 2 ++ gnome-mime-data.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 gnome-mime-data.spec diff --git a/README.md b/README.md index 134289b..779f3b0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # gnome-mime-data +The gnome-mime-data package contains the base set of file types and applications for GNOME. + diff --git a/gnome-mime-data.spec b/gnome-mime-data.spec new file mode 100644 index 0000000..e0f7884 --- /dev/null +++ b/gnome-mime-data.spec @@ -0,0 +1,64 @@ +%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