Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
tumbler
tumbler.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tumbler.spec of Package tumbler
# # spec file for package tumbler # # 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 libtumbler-1-0 %bcond_with libffmpegthumbnailer Name: tumbler Version: 0.2.0 Release: 0 Summary: Thumbnail Management for Xfce License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Graphics/Other Url: http://www.xfce.org/ Source: http://archive.xfce.org/src/apps/%{name}/0.2/%{name}-%{version}.tar.bz2 BuildRequires: intltool BuildRequires: pkgconfig(gio-2.0) >= 2.26.0 BuildRequires: pkgconfig(glib-2.0) >= 2.26.0 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.26.0 BuildRequires: pkgconfig(gmodule-2.0) >= 2.26.0 BuildRequires: pkgconfig(gthread-2.0) >= 2.26.0 # GdkPibuxf thumbnailer plugin BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14 # FreeType2 font thumbnailer plugin BuildRequires: freetype2-devel # JPEG thumbnailer plugin with EXIF support BuildRequires: libjpeg-devel %if %{with libffmpegthumbnailer} # ffmpeg video thumbnailer plugin BuildRequires: pkgconfig(libffmpegthumbnailer) %endif # gstreamer video thumbnailer plugin BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) # poppler PDF/PS thumbnailer plugin BuildRequires: pkgconfig(poppler-glib) # ODF thumbnailer plugin BuildRequires: pkgconfig(libgsf-1) # libopenraw thumbnailer plugin BuildRequires: pkgconfig(libopenraw-gnome-1.0) # freedesktop.org cache plugin BuildRequires: pkgconfig(libpng) # OMDB cover plugin BuildRequires: pkgconfig(libcurl) # no matter what rpmlint says, we need the same lib-version Requires: %libname = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Tumbler is a D-Bus service for applications to request thumbnails for various URI schemes and MIME types. It is an implementation of the thumbnail management D-Bus specification described on http://live.gnome.org/ThumbnailerSpec and extensible through a plugin interface or via specialized thumbnailer services implemented in accordance to the thumbnail management D-Bus specification. %package -n %{libname} Summary: Tumbler Library Group: System/Libraries Recommends: %{name}-lang = %{version} %description -n %{libname} This package provides the shared library component of tumbler. %package devel Summary: Development Files for tumbler Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Recommends: %{name}-doc = %{version} %description devel This package contains the development files needed for developing tumbler plugins. %package doc Summary: Developer Documentation for tumbler Group: Documentation/HTML BuildArch: noarch %description doc This package provides the developer documentation for tumbler. %package lang Summary: Languages for package %{name} Group: System/Localization Requires: %{libname} = %{version} Provides: %{name}-lang-all = %{version} Supplements: packageand(bundle-lang-other:%{libname}) BuildArch: noarch %description lang Provides translations to the package %{name} %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} V=1 %install %make_install find %{buildroot} -type f -name "*.la" -delete -print rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang %{name} %{?no_lang_C} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README TODO %dir %{_sysconfdir}/xdg/tumbler/ %config(noreplace) %{_sysconfdir}/xdg/tumbler/tumbler.rc %dir %{_libdir}/tumbler-1 %{_libdir}/tumbler-1/tumblerd %dir %{_libdir}/tumbler-1/plugins %dir %{_libdir}/tumbler-1/plugins/cache %{_libdir}/tumbler-1/plugins/cache/tumbler-xdg-cache.so %{_libdir}/tumbler-1/plugins/cache/tumbler-cache-plugin.so %{_libdir}/tumbler-1/plugins/tumbler-cover-thumbnailer.so %{_libdir}/tumbler-1/plugins/tumbler-desktop-thumbnailer.so %if %{with libffmpegthumbnailer} %{_libdir}/tumbler-1/plugins/tumbler-ffmpeg-thumbnailer.so %endif %{_libdir}/tumbler-1/plugins/tumbler-font-thumbnailer.so %{_libdir}/tumbler-1/plugins/tumbler-gst-thumbnailer.so %{_libdir}/tumbler-1/plugins/tumbler-jpeg-thumbnailer.so %{_libdir}/tumbler-1/plugins/tumbler-odf-thumbnailer.so %{_libdir}/tumbler-1/plugins/tumbler-pixbuf-thumbnailer.so %{_libdir}/tumbler-1/plugins/tumbler-poppler-thumbnailer.so %{_libdir}/tumbler-1/plugins/tumbler-raw-thumbnailer.so %dir %{_datadir}/dbus-1 %dir %{_datadir}/dbus-1/services %{_datadir}/dbus-1/services/*.service %files -n %{libname} %defattr(-,root,root) %doc COPYING %{_libdir}/libtumbler-1.so.* %files lang -f %{name}.lang %defattr(-,root,root) %files devel %defattr(-,root,root) %{_includedir}/tumbler-1 %{_libdir}/pkgconfig/tumbler-1.pc %{_libdir}/libtumbler-1.so %files doc %defattr(-,root,root) %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %doc %{_datadir}/gtk-doc/html/tumbler %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