Thunar/Thunar.spec

181 lines
6.0 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: Thunar
Version: 1.6.3
Release: 1mamba
Summary: Thunar File Manager
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://thunar.xfce.org/
Source: http://archive.xfce.org/src/xfce/thunar/%{majver}/Thunar-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: exo-devel
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libelf-devel
BuildRequires: libexif-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libICE-devel
BuildRequires: libnotify-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxfce4util-devel
BuildRequires: libXrender-devel
BuildRequires: libz-devel
BuildRequires: udev-devel
BuildRequires: xfce4-panel-devel
## AUTOBUILDREQ-END
BuildRequires: desktop-file-utils >= 0.7
Requires: shared-mime-info >= 0.15
Requires: desktop-file-utils >= 0.7
Requires: libstartup-notification >= 0.4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 need for development.
%prep
%setup -q
%build
%configure --enable-dbus --enable-final --enable-xsltproc
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
%makeinstall
%find_lang %{name}
%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 %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/Thunar/uca.xml
%{_bindir}/Thunar
%{_bindir}/thunar
%{_bindir}/thunar-settings
%{_libdir}/Thunar/*
%{_libdir}/libthunarx-2.so.*
%{_libdir}/thunarx-2/thunar-*
%{_libdir}/xfce4/panel/plugins/libthunar-tpa.la
%{_libdir}/xfce4/panel/plugins/libthunar-tpa.so
%{_datadir}/xfce4/panel-plugins/thunar-tpa.desktop
%{_datadir}/Thunar/sendto/thunar-sendto-email.desktop
%{_datadir}/applications/Thunar*.desktop
%{_datadir}/applications/thunar-settings.desktop
%{_datadir}/dbus-1/services/org.xfce.FileManager.service
%{_datadir}/dbus-1/services/org.xfce.Thunar.service
%{_datadir}/pixmaps/Thunar/Thunar-about-logo.png
%{_datadir}/icons/hicolor/*
%{_mandir}/man1/Thunar.1*
%doc AUTHORS COPYING COPYING.LIB ChangeLog
%files devel
%defattr(-,root,root)
%{_includedir}/thunarx-2/*
%{_libdir}/libthunarx-2.la
%{_libdir}/libthunarx-2.so
%{_datadir}/gtk-doc/html/thunarx/*
%{_datadir}/doc/Thunar/*
%{_libdir}/pkgconfig/thunarx-2.pc
%doc ChangeLog NEWS README THANKS TODO
%changelog
* 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