[gnome-photos: 2/7] Initial package for Fedora

Mathieu Bridon bochecha at fedoraproject.org
Tue Dec 4 15:15:21 UTC 2012


commit c45376da9afed89f6e144a76a234a2bc60732f7f
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Mon Nov 19 00:03:14 2012 +0800

    Initial package for Fedora
    
    This package was submitted for review on Sun Nov 18 2012:
        https://bugzilla.redhat.com/show_bug.cgi?id=877763#c0

 gnome-photos.spec |   80 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 80 insertions(+), 0 deletions(-)
---
diff --git a/gnome-photos.spec b/gnome-photos.spec
new file mode 100644
index 0000000..0a9ac70
--- /dev/null
+++ b/gnome-photos.spec
@@ -0,0 +1,80 @@
+Name:          gnome-photos
+Summary:       Access, organize and share your photos on GNOME
+Version:       3.7.2
+Release:       1%{?dist}
+URL:           https://live.gnome.org/Design/Apps/Photos
+License:       GPLv2+
+
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.7/%{name}-%{version}.tar.xz
+
+BuildRequires: desktop-file-utils
+BuildRequires: cairo-devel
+BuildRequires: intltool
+BuildRequires: clutter-devel >= 1.11
+BuildRequires: clutter-gtk-devel >= 1.3.2
+BuildRequires: exempi-devel >= 1.99.5
+BuildRequires: gdk-pixbuf2
+BuildRequires: glib2-devel >= 2.28.0
+BuildRequires: gnome-desktop3-devel
+BuildRequires: gnome-online-accounts-devel
+BuildRequires: gtk3-devel >= 3.4.0
+BuildRequires: lcms2-devel
+BuildRequires: libexif-devel => 0.6.14
+BuildRequires: librsvg2-devel => 2.26.0
+BuildRequires: tracker-devel
+
+
+%description
+Photos, like Documents, Music and Videos, is one of the core GNOME
+applications meant for find and reminding the user about her content.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+make install DESTDIR=%{buildroot}
+
+# Upstream doesn't install with desktop-file-install, so let's check
+# FIXME: The desktop file is invalid, sent patch upstream, should be fixed in
+# next release
+#desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%find_lang %{name}
+
+
+%post
+/usr/bin/update-desktop-database &> /dev/null || :
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+/usr/bin/update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
+
+
+%files -f %{name}.lang
+%{_bindir}/%{name}
+%{_datadir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/glib-2.0/schemas/org.gnome.photos.gschema.xml
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_docdir}/%{name}
+
+
+%changelog
+* Sun Nov 18 2012 Mathieu Bridon <bochecha at fedoraproject.org> - 3.7.2-1
+- Initial package for Fedora.


More information about the scm-commits mailing list