Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
thunar
thunar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thunar.spec of Package thunar
# # spec file for package thunar # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define libname libthunarx-2-0 Name: thunar Version: 1.6.10 Release: 0 Summary: Fast and Easy to Use File Manager for the Xfce Desktop Environment License: GPL-2.0+ Group: Productivity/File utilities Url: http://thunar.xfce.org/ Source: http://archive.xfce.org/src/xfce/thunar/1.6/Thunar-%{version}.tar.bz2 Source100: %{name}-rpmlintrc # PATCH-FIX-UPSTREAM thunar-use-xdg-icon-spec-icons.patch gber@opensuse.org -- Use generic icons that conform to the XDG Icon Naming Spec Patch0: thunar-use-xdg-icon-spec-icons.patch # fix mismatched names between thunar.desktop and thunar.appdata.xml. Patch1: thunar-appdata.patch BuildRequires: fdupes BuildRequires: intltool BuildRequires: perl-XML-Parser BuildRequires: update-desktop-files BuildRequires: xfce4-dev-tools BuildRequires: xfconf BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(exo-1) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk-doc) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(libxfce4panel-1.0) BuildRequires: pkgconfig(libxfce4ui-1) >= 4.9.0 BuildRequires: pkgconfig(libxfce4util-1.0) >= 4.9.0 BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) # uses exo-desktop-item-edit, exo-open Requires: exo-tools Recommends: %{name}-lang = %{version} Recommends: gvfs Recommends: thunar-volman Recommends: tumbler Provides: thunar-doc = %{version} Obsoletes: thunar-doc <= 1.2.3 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Thunar a file manager for the Xfce desktop environment which has been designed from the ground up to be fast and easy to use. It provides a clean, intuitive, and fully accessible user interface and does not include any confusing or useless options by default. Thunar is fast and responsive with good startup and folder load times. %package -n %{libname} Summary: Thunar Extension Library Group: System/Libraries %description -n %{libname} This package contains the Thunar extension library. %package devel Summary: Development Files for Thunar Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: %{name} = %{version} Provides: thunar-devel-doc = %{version} Obsoletes: thunar-devel-doc < %{version} %description devel This package provides the development files needed for developing extensions for Thunar. %lang_package %prep %setup -q -n Thunar-%{version} %patch0 -p1 %patch1 %build %configure \ --with-helper-path-prefix=%{_libexecdir} \ --docdir=%{_datadir}/xfce4/Thunar \ --enable-dbus \ --enable-exif \ --enable-startup-notification \ --enable-pcre \ --enable-gtk-doc \ --disable-static make %{?_smp_mflags} V=1 %install %make_install rm -f %{buildroot}%{_libdir}/*.la \ %{buildroot}%{_libdir}/thunarx-2/*.la \ %{buildroot}%{_libdir}/xfce4/panel/plugins/*.la # these files are placed under %%{_defaultdocdir}/%%{name} instead rm -f %{buildroot}%{_datadir}/xfce4/Thunar/README.* # do not allow to Thunar to run as root via pkexec rm -f %{buildroot}%{_datadir}/polkit-1/actions/org.xfce.thunar.policy # add a lowercase manpage symlink ( cd %{buildroot}%{_mandir}/man1/ && ln -sf Thunar.1* \ $(printf "%%s\n" Thunar.1* | tr [:upper:] [:lower:]) ) %suse_update_desktop_file -i Thunar System Utility Core GTK FileManager %suse_update_desktop_file -i Thunar-bulk-rename System Utility Core GTK Filesystem %suse_update_desktop_file thunar-settings %suse_update_desktop_file -i Thunar-folder-handler System Utility Core GTK FileManager %find_lang Thunar %{?no_lang_C} # rename processed Thunar.desktop to match thunar.appdata.xml's name. mv %{buildroot}%{_datadir}/applications/Thunar.desktop %{buildroot}%{_datadir}/applications/thunar.desktop %fdupes %{buildroot}%{_datadir} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root) %doc README NEWS ChangeLog COPYING AUTHORS FAQ HACKING THANKS TODO docs/README.* %dir %{_sysconfdir}/xdg/Thunar %config %{_sysconfdir}/xdg/Thunar/uca.xml %{_bindir}/Thunar %{_bindir}/thunar %{_bindir}/thunar-settings %dir %{_libexecdir}/Thunar %{_libexecdir}/Thunar/ThunarBulkRename %{_libexecdir}/Thunar/thunar-sendto-email %{_libdir}/thunarx-2 %{_libdir}/xfce4/panel/plugins/libthunar-tpa.so %{_datadir}/Thunar %dir %{_datadir}/appdata %{_datadir}/appdata/thunar.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.xfce.FileManager.service %{_datadir}/dbus-1/services/org.xfce.Thunar.service %{_datadir}/icons/hicolor/*/*/*.png %{_datadir}/icons/hicolor/*/*/*.svg %{_datadir}/icons/hicolor/*/*/*/*.png %{_datadir}/pixmaps/Thunar %{_datadir}/xfce4/panel/plugins/thunar-tpa.desktop %{_datadir}/Thunar/sendto %doc %{_mandir}/man1/Thunar.1* %doc %{_mandir}/man1/thunar.1* %files -n %{libname} %defattr(-,root,root) %{_libdir}/libthunarx-2.so.* %files devel %defattr(-,root,root) # temporarily disabled #%doc %{_datadir}/gtk-doc/html/thunarx %dir %{_includedir}/thunarx-2 %dir %{_includedir}/thunarx-2/thunarx %{_includedir}/thunarx-2/thunarx/*.h %{_libdir}/libthunarx-2.so %{_libdir}/pkgconfig/thunarx-2.pc %files lang -f Thunar.lang %defattr(-,root,root) %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor