Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
pantheon-photos
pantheon-photos.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pantheon-photos.spec of Package pantheon-photos
# # spec file for package pantheon-photos # # Copyright (c) 2017 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/ # Name: pantheon-photos Version: 0.2.3 Release: 0 Summary: Photo manager for Elementary OS License: GPL-2.0 and LGPL-2.1 Group: Productivity/Graphics/Viewers Url: https://launchpad.net/pantheon-photos Source: https://launchpad.net/pantheon-photos/0.2.x/%{version}/+download/%{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: elementary-icon-theme BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(geocode-glib-1.0) BuildRequires: pkgconfig(gexiv2) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-base-1.0) BuildRequires: pkgconfig(gstreamer-pbutils-1.0) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libgphoto2) BuildRequires: pkgconfig(libraw) BuildRequires: pkgconfig(libsoup-2.4) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(rest-0.7) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(vapigen) >= 0.28.0 BuildRequires: pkgconfig(webkit2gtk-4.0) Recommends: %{name}-lang Conflicts: shotwell BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description pantheon-photos is a digital photo organizer based on Shotwell and designed for the Elementary OS environment. It allows you to import photos from disk or camera, organize them in various ways, view them in full-window or fullscreen mode, and export them to share with others. %lang_package %prep %setup -q sed -e 's/\/metainfo/\/appdata/' \ -e 's|\$.CMAKE_INSTALL_FULL_LIBEXECDIR.|%{_libexecdir}|' \ -i $(grep -rwl 'CMAKE_INSTALL_FULL_LIBEXECDIR\|metainfo') %build %cmake \ -DCMAKE_MODULE_LINKER_FLAGS="-Wl,--as-needed" \ -DGSETTINGS_COMPILE=OFF make %{?_smp_mflags} %install %cmake_install # Workaround https://bugzilla.opensuse.org/show_bug.cgi?id=561846 pushd %{buildroot} for _icon in $(find -name \*.desktop* | xargs sed -n '/Icon/s/^.*\=//p'); do _icon=${_icon##*/} if ! find -name "$_icon" | grep -q .; then _icon=$(find %{_datadir}/icons -name "${_icon%.*}.svg" | head -n1) install -Dm0644 \ "$_icon" ".%{_datadir}/icons/hicolor/scalable/apps/${_icon##*/}" else exit 1 fi done popd %find_lang %{name} %{?no_lang_C} %{name}.lang %fdupes %{buildroot}%{_datadir} %post %icon_theme_cache_post %desktop_database_post %glib2_gsettings_schema_post %postun %icon_theme_cache_postun %desktop_database_postun %glib2_gsettings_schema_postun %files %defattr(-,root,root) %doc AUTHORS COPYING %{_bindir}/%{name} %{_libdir}/%{name}/ %{_libexecdir}/%{name}/ %{_datadir}/%{name}/ %{_datadir}/applications/org.pantheon.photos*.desktop %{_datadir}/icons/hicolor/*/apps/multimedia-photo*.??g %{_datadir}/glib-2.0/schemas/org.pantheon.photos*.xml %{_datadir}/appdata/org.pantheon.photos.appdata.xml %dir %{_datadir}/appdata %files lang -f %{name}.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