Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
thunar-plugins
thunar-plugins.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thunar-plugins.spec of Package thunar-plugins
# # spec file for package thunar-plugins # # Copyright (c) 2011 SUSE LINUX Products 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 thunar_version %(rpm -q --queryformat '%{VERSION}' thunar) %define thunar_version_min 1.2.0 %define archive_version 0.3.0 %define media_tags_version 0.1.2 %define shares_version 0.2.0 %define vcs_version 0.1.2 %define shares_version 0.2.0 # thunar-vcs-plugin has not been completely ported to thunarx-2 yet %define plugins thunar-archive-plugin thunar-media-tags-plugin thunar-shares-plugin Name: thunar-plugins Group: System/GUI/XFCE Url: http://thunar.xfce.org/plugins.html License: GPLv2+ Version: %{thunar_version} Release: 2.<RELEASE2> Source0: thunar-archive-plugin-%{archive_version}.tar.bz2 Source1: thunar-media-tags-plugin-%{media_tags_version}.tar.bz2 Source2: thunar-shares-plugin-%{shares_version}.tar.bz2 Source3: thunar-vcs-plugin-%{vcs_version}.tar.bz2 # PATCH-FIX-UPSTREAM thunar-media-tags-plugin-0.1.2-port-to-thunarx-2.patch bxo#6295 gber@opensuse.org -- Port of thunar-media-tags-plugin to thunarx-2 from upstream bugzilla. Patch1: thunar-media-tags-plugin-%{media_tags_version}-port-to-thunarx-2.patch # PATCH-FIX-UPSTREAM thunar-media-tags-plugin-0.1.2-port-to-exo-1.patch bxo#6295 gber@opensuse.org -- Port of thunar-media-tags-plugin to exo-1 from upstream bugzilla. Patch2: thunar-media-tags-plugin-%{media_tags_version}-port-to-exo-1.patch # PATCH-FIX-UPSTREAM bxo#6297 thunar-media-tags-plugin-0.1.2-check-valid-audio.patch gber@opensuse.org -- Fix preventing crash by checking for valid audio data backported from upstream git. Patch3: thunar-media-tags-plugin-%{media_tags_version}-check-valid-audio.patch # PATCH-FIX-UPSTREAM thunar-shares-plugin-0.2.0-port-to-thunarx-2.patch gber@opensuse.org -- Port of thunar-shares-plugin to thunarx-2 from upstream git. Patch4: thunar-shares-plugin-%{shares_version}-port-to-thunarx-2.patch # PATCH-FIX-UPSTREAM thunar-shares-plugin-0.2.0-fix-missing-include.patch gber@opensuse.org -- Fix missing include of glib/gi18n-lib.h for gettext support from upstream git. Patch5: thunar-shares-plugin-%{shares_version}-fix-missing-include.patch Summary: Set of Plugins for Thunar BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: intltool BuildRequires: perl-XML-Parser BuildRequires: unzip BuildRequires: xfce4-dev-tools BuildRequires: subversion-devel BuildRequires: taglib-devel BuildRequires: thunar-devel >= %{thunar_version_min} BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(thunarx-2) BuildRequires: pkgconfig(exo-1) BuildRequires: pkgconfig(libxfce4util-1.0) %description This source package contains various plugins for thunar file manager. %package -n thunar-archive-plugin Version: %{archive_version} Release: 2.<RELEASE2> License: GPLv2+ Group: System/GUI/XFCE Summary: Thunar Plugin Providing Xarchiver Integration Requires: xarchiver Requires: thunar >= %{thunar_version_min} %description -n thunar-archive-plugin The Thunar Archive Plugin adds file archive operations to the Thunar file context menus and allows for extracting and creating archive files from within Thunar with a single click. %package -n thunar-media-tags-plugin Version: %{media_tags_version} Release: 59.<RELEASE2> License: GPLv2+ Group: System/GUI/XFCE Summary: Thunar Plugin for Editing Media File Metadata and Renaming Based on Metadata Requires: thunar >= %{thunar_version_min} %description -n thunar-media-tags-plugin The Thunar Media Tags Plugin enables editing media file metatdata from within the Thunar file properties dialog and allows for bulk renaming based on metadata. %package -n thunar-shares-plugin Version: %{shares_version} Release: 10.<RELEASE2> License: GPLv2+ Group: System/GUI/XFCE Summary: Thunar Plugin for Sharing files using Samba Requires: thunar >= %{thunar_version_min} %description -n thunar-shares-plugin The Thunar Shares Plugin allows for quickly sharing a directory using Samba from within Thunar without requiring root access. %if 0 %package -n thunar-vcs-plugin Version: %{vcs_version} Release: 8.<RELEASE2> License: GPLv2+ Group: System/GUI/XFCE Summary: Thunar Plugin providing VCS Integration Requires: thunar >= %{thunar_version_min} %description -n thunar-vcs-plugin The Thunar VCS Plugin integrates Thunar with several VCS and allows to execute VCS commands from the context menu. %endif %prep %setup -q -c -n thunar-plugins -a0 -a1 -a2 -a3 %patch1 %patch2 %patch3 %patch4 %patch5 %build for plugin in %{plugins} ; do cd ${plugin}* ./autogen.sh || xdt-autogen %configure \ --disable-static make %{?_smp_mflags} cd .. done %install for plugin in %{plugins} ; do cd ${plugin}* %make_install cd .. # remove unsupported locales rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang $plugin done find %{buildroot}%{_libdir} -name '*.la' | xargs rm -f %clean rm -rf "$RPM_BUILD_ROOT" %if 0%{?suse_version} >= 1140 %post -n thunar-archive-plugin %icon_theme_cache_post %postun -n thunar-archive-plugin %icon_theme_cache_postun %endif %files -n thunar-archive-plugin -f thunar-archive-plugin.lang %defattr(-,root,root) %{_libdir}/thunarx-2/thunar-archive-plugin.so %{_libexecdir}/thunar-archive-plugin %{_datadir}/icons/*/*/*/tap-*.png %files -n thunar-media-tags-plugin -f thunar-media-tags-plugin.lang %defattr(-,root,root) %{_libdir}/thunarx-2/thunar-media-tags-plugin.so %files -n thunar-shares-plugin -f thunar-shares-plugin.lang %defattr(-,root,root) %{_libdir}/thunarx-2/thunar-shares-plugin.so %if 0 %files -n thunar-vcs-plugin -f thunar-vcs-plugin.lang %defattr(-,root,root) %{_libdir}/thunarx-1/thunar-vcs-plugin* %{_libexecdir}/tvp-git-helper %{_libexecdir}/tvp-svn-helper %{_datadir}/icons/hicolor/*/apps/git.* %{_datadir}/icons/hicolor/*/apps/subversion.* %endif %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