From: Marcin Banasiak Date: Mon, 15 Apr 2013 20:59:35 +0000 (+0200) Subject: Initial release X-Git-Tag: auto/th/gnome-photos-3.8.0-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=257f6e61de2c9e6bd4e5eaa1f1ba8812baf3361e;p=packages%2Fgnome-photos.git Initial release --- 257f6e61de2c9e6bd4e5eaa1f1ba8812baf3361e diff --git a/gnome-photos.spec b/gnome-photos.spec new file mode 100644 index 0000000..6ee6f38 --- /dev/null +++ b/gnome-photos.spec @@ -0,0 +1,85 @@ +Summary: Access, organize and share your photos on GNOME +Name: gnome-photos +Version: 3.8.0 +Release: 1 +License: GPL v2 +Group: X11/Applications +Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-photos/3.8/%{name}-%{version}.tar.xz +# Source0-md5: 656393dba6cdc320bf9d7ca4d745fb5c +URL: https://live.gnome.org/GnomePhotos +BuildRequires: autoconf >= 2.63 +BuildRequires: automake +BuildRequires: babl-devel +BuildRequires: cairo-devel +BuildRequires: cairo-gobject-devel +BuildRequires: exempi-devel >= 1.99.5 +BuildRequires: gdk-pixbuf2-devel +BuildRequires: gegl-devel +BuildRequires: gettext-devel +BuildRequires: glib2-devel >= 1:2.36.0 +BuildRequires: gnome-common +BuildRequires: gnome-desktop-devel +BuildRequires: gnome-online-accounts-devel +BuildRequires: gtk+3-devel >= 3.8.0 +BuildRequires: intltool >= 0.35.0 +BuildRequires: lcms2-devel +BuildRequires: libexif-devel >= 0.6.14 +BuildRequires: librsvg-devel >= 2.26.0 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: tracker-devel >= 0.16.0 +BuildRequires: zlib-devel +Requires(post,postun): gtk-update-icon-cache +Requires(post,postun): glib2 >= 1:2.26.0 +Requires: glib2 >= 1:2.36.0 +Requires: gtk+3 >= 3.8.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Photos is an application to access, organize and share your photos +with GNOME 3. + +%prep +%setup -q + +%build +%{__intltoolize} +%{__libtoolize} +%{__aclocal} -I m4 -I libgd +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --disable-silent-rules + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%glib_compile_schemas +%update_icon_cache hicolor + +%postun +%glib_compile_schemas +%update_icon_cache hicolor + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc ARTISTS AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/gnome-photos +%{_datadir}/glib-2.0/schemas/org.gnome.photos.gschema.xml +%{_iconsdir}/hicolor/*/*/*.png +%{_datadir}/%{name} +%{_desktopdir}/gnome-photos.desktop