Thunar/Thunar.spec

227 lines
7.8 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: Thunar
Version: 4.16.9
Release: 1mamba
Summary: Thunar File Manager
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.xfce.org/xfce/thunar
Source: https://github.com/xfce-mirror/thunar.git/thunar-%{version}/thunar-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
#libdl.so.2()(64bit): /usr/lib64/libdl.so: file not owned by any package
#librt.so.1()(64bit): /usr/lib64/librt.so: file not owned by any package
BuildRequires: exo-devel
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libatk-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexif-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk3-devel
BuildRequires: libgudev-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libnotify-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libuuid-devel
BuildRequires: libxcb-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxfce4util-devel
BuildRequires: libxfconf-devel
BuildRequires: libz-devel
BuildRequires: xfce4-panel-devel
## AUTOBUILDREQ-END
BuildRequires: exo-devel >= 4.16.0
BuildRequires: xfce4-panel-devel >= 4.16.0
BuildRequires: xfce4-dev-tools >= 4.16.0
BuildRequires: libxfce4util-devel >= 4.16.0-1mamba
BuildRequires: desktop-file-utils >= 0.7
BuildRequires: xfce4-dev-tools >= 4.16.0
Requires: shared-mime-info >= 0.15
Requires: desktop-file-utils >= 0.7
Requires: libstartup-notification >= 0.4
%description
Thunar is a new modern file manager for the Xfce Desktop Environment. It has been designed from the ground up to be fast and easy-to-use. Its user interface is clean and intuitive, and does not include any confusing or useless options. Thunar is fast and responsive with a good start up time and directory load time.
%package devel
Summary: Development package for Thunar
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Thunar is a new modern file manager for the Xfce Desktop Environment. It has been designed from the ground up to be fast and easy-to-use. Its user interface is clean and intuitive, and does not include any confusing or useless options. Thunar is fast and responsive with a good start up time and directory load time.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q -n thunar-%{version}
NOCONFIGURE=1 ./autogen.sh
%build
%configure \
--enable-maintainer-mode
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang thunar
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
:
%files -f thunar.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/Thunar/uca.xml
%{_bindir}/Thunar
%{_bindir}/thunar
%{_bindir}/thunar-settings
%{_libdir}/libthunarx-3.so.*
%dir %{_libdir}/thunarx-3
%{_libdir}/thunarx-3/thunar-*.so
%{_libdir}/thunarx-3/thunar-*.la
%dir %{_libdir}/Thunar
%{_libdir}/Thunar/thunar-sendto-email
%{_libdir}/girepository-1.0/Thunarx-3.0.typelib
%{_libdir}/xfce4/panel/plugins/libthunar-tpa.la
%{_libdir}/xfce4/panel/plugins/libthunar-tpa.so
%{_userunitdir}/thunar.service
%{_datadir}/xfce4/panel/plugins/thunar-tpa.desktop
%{_datadir}/Thunar/sendto/thunar-sendto-email.desktop
%{_datadir}/applications/thunar-bulk-rename.desktop
%{_datadir}/applications/thunar.desktop
%{_datadir}/applications/thunar-settings.desktop
%{_datadir}/metainfo/org.xfce.thunar.appdata.xml
%{_datadir}/dbus-1/services/org.xfce.Thunar.FileManager1.service
%{_datadir}/dbus-1/services/org.xfce.FileManager.service
%{_datadir}/dbus-1/services/org.xfce.Thunar.service
%{_datadir}/polkit-1/actions/org.xfce.thunar.policy
%{_datadir}/icons/hicolor/*
%{_mandir}/man1/Thunar.1*
%doc AUTHORS COPYING COPYING.LIB
%files devel
%defattr(-,root,root)
%dir %{_includedir}/thunarx-3
%dir %{_includedir}/thunarx-3/thunarx
%{_includedir}/thunarx-3/thunarx/*.h
%{_libdir}/libthunarx-3.la
%{_libdir}/libthunarx-3.so
%{_libdir}/pkgconfig/thunarx-3.pc
%{_datadir}/doc/thunar/README.gtkrc
%{_datadir}/gir-1.0/Thunarx-3.0.gir
%doc NEWS README.md THANKS
%changelog
* Sun Sep 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.9-1mamba
- update to 4.16.9
* Sat May 08 2021 Automatic Build System <autodist@mambasoft.it> 4.16.8-1mamba
- automatic version update by autodist
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 4.16.7-1mamba
- automatic version update by autodist
* Mon Mar 22 2021 Automatic Build System <autodist@mambasoft.it> 4.16.6-1mamba
- automatic version update by autodist
* Mon Mar 08 2021 Automatic Build System <autodist@mambasoft.it> 4.16.5-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Automatic Build System <autodist@mambasoft.it> 4.16.4-1mamba
- automatic version update by autodist
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 4.16.3-1mamba
- automatic version update by autodist
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.2-1mamba
- update to 4.16.2
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 1.6.10-1mamba
- automatic update by autodist
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 1.6.9-1mamba
- automatic update by autodist
* Thu Mar 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.4-2mamba
- rebuilt by autoport with build requirements: libxfce4util-devel>=4.12.1-1mamba
* Thu Jan 29 2015 Automatic Build System <autodist@mambasoft.it> 1.6.4-1mamba
- automatic update by autodist
* Mon May 06 2013 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Thu Dec 27 2012 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic version update by autodist
* Tue Dec 11 2012 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Fri Oct 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
- rebuitl with xfce4-panel 4.10.0
* Fri Oct 19 2012 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Thu Apr 26 2012 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Sat Jun 25 2011 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic update by autodist
* Thu Feb 17 2011 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 1.0.0-2mamba
- automatic rebuild by autodist
* Fri Mar 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- update to 1.0.0
* Sun Sep 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Sat Apr 14 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 0.8.0-2mamba
- Added new dependencies
* Thu Mar 22 2007 Tiziano Pratellesi <tiziano.pratellesi@openmamba.org> 0.8.0-1qilnx
- update to 0.8.0
* Thu Sep 21 2006 Tiziano Pratellesi <info@mycare.it> 0.3.2beta2-1qilnx
- package created by autospec