67 lines
2.0 KiB
RPMSpec
67 lines
2.0 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f 1-2)
|
|
Name: gnome-mime-data
|
|
Version: 2.18.0
|
|
Release: 3mamba
|
|
Summary: Base set of file types and applications for GNOME
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.gnome.org
|
|
Source: http://ftp.acc.umu.se/pub/GNOME/sources/gnome-mime-data/%{majver}/gnome-mime-data-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
%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
|
|
* Sat Nov 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.18.0-3mamba
|
|
- fixed URL; closes #1
|
|
|
|
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 2.18.0-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Sun Jul 20 2008 gil <puntogil@libero.it> 2.18.0-1mamba
|
|
- update to 2.18.0
|
|
|
|
* Fri Jan 05 2007 Davide Madrisan <davide.madrisan@qilinux.it> 2.4.3-1qilnx
|
|
- update to version 2.4.3 by autospec
|
|
|
|
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.4.2-1qilnx
|
|
- update to version 2.4.2 by autospec
|
|
|
|
* Thu Jul 24 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.3.0-1qilnx
|
|
- first build of gnome-mime-data
|