[12230] | 1 | Summary: Photo applications for GNOME |
---|
| 2 | Summary(ja): GNOME 用写真アプリケーション |
---|
| 3 | Name: gnome-photos |
---|
| 4 | Version: 3.30.1 |
---|
| 5 | Release: 2%{?_dist_release} |
---|
| 6 | Vendor: Project Vine |
---|
| 7 | Distribution: Vine Linux |
---|
| 8 | License: GPLv2+ |
---|
| 9 | Group: User Interface/Desktops |
---|
| 10 | URL: https://wiki.gnome.org/Design/Apps/Photos |
---|
[7938] | 11 | |
---|
[12230] | 12 | %define shortver %(echo %{version} | sed -e 's/\\.[0-9]+$//') |
---|
| 13 | Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
[7938] | 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
| 17 | BuildRequires: gtk3-devel |
---|
[9073] | 18 | BuildRequires: libgdata-devel |
---|
[7938] | 19 | BuildRequires: babl-devel |
---|
| 20 | BuildRequires: exempi-devel |
---|
[12005] | 21 | BuildRequires: gegl04-devel |
---|
[7938] | 22 | BuildRequires: gnome-desktop3-devel |
---|
| 23 | BuildRequires: gnome-online-accounts-devel |
---|
| 24 | BuildRequires: grilo-devel |
---|
[10716] | 25 | BuildRequires: libjpeg-turbo-devel |
---|
| 26 | BuildRequires: libgexiv2-devel |
---|
[7938] | 27 | BuildRequires: lcms2-devel |
---|
| 28 | BuildRequires: libexif-devel |
---|
| 29 | BuildRequires: librsvg2-devel |
---|
| 30 | BuildRequires: tracker-devel |
---|
[8355] | 31 | BuildRequires: libgfbgraph-devel |
---|
[7938] | 32 | BuildRequires: desktop-file-utils |
---|
[8369] | 33 | BuildRequires: yelp-tools |
---|
[12005] | 34 | BuildRequires: libdazzle-devel |
---|
| 35 | BuildRequires: geocode-glib-devel |
---|
| 36 | BuildRequires: libappstream-glib-devel |
---|
[7938] | 37 | |
---|
| 38 | Requires(postun,posttrans): desktop-file-utils |
---|
| 39 | |
---|
| 40 | %description |
---|
| 41 | Photo application designed for GNOME 3 |
---|
| 42 | |
---|
| 43 | %description -l ja |
---|
| 44 | gnome-photos は GNOME3 向けに作られた写真アプリケーションです。 |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q |
---|
| 48 | |
---|
| 49 | %build |
---|
[9569] | 50 | autoreconf -if |
---|
[7938] | 51 | %configure --disable-static |
---|
| 52 | |
---|
| 53 | make %{?_smp_mflags} |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | |
---|
| 58 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 59 | |
---|
| 60 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 61 | |
---|
| 62 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
| 63 | |
---|
[8369] | 64 | %find_lang %{name} --with-gnome |
---|
[7938] | 65 | |
---|
| 66 | %clean |
---|
| 67 | rm -rf $RPM_BUILD_ROOT |
---|
| 68 | |
---|
| 69 | %post |
---|
| 70 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 71 | |
---|
| 72 | %postun |
---|
| 73 | if [ $1 -eq 0 ]; then |
---|
| 74 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 76 | update-desktop-database -q &> /dev/null ||: |
---|
| 77 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 78 | fi |
---|
| 79 | |
---|
| 80 | %posttrans |
---|
| 81 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 82 | update-desktop-database -q &> /dev/null ||: |
---|
| 83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 84 | |
---|
| 85 | |
---|
| 86 | %files -f %{name}.lang |
---|
| 87 | %defattr(-,root,root,-) |
---|
[12005] | 88 | %license COPYING |
---|
| 89 | %doc AUTHORS README NEWS |
---|
[7938] | 90 | %{_bindir}/%{name} |
---|
[12005] | 91 | %{_libexecdir}/* |
---|
| 92 | %{_datadir}/metainfo/org.gnome.Photos.appdata.xml |
---|
[8355] | 93 | %{_datadir}/applications/org.gnome.Photos.desktop |
---|
| 94 | %{_datadir}/dbus-1/services/org.gnome.Photos.service |
---|
[7938] | 95 | %{_datadir}/glib-2.0/schemas/org.gnome.photos.gschema.xml |
---|
[8355] | 96 | %{_datadir}/gnome-shell/search-providers/org.gnome.Photos.search-provider.ini |
---|
[9073] | 97 | %{_datadir}/icons/*/*/*/* |
---|
[7938] | 98 | |
---|
| 99 | |
---|
| 100 | %changelog |
---|
[12230] | 101 | * Wed Oct 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.1-2 |
---|
| 102 | - rebuilt with tracker-2.2.2. |
---|
| 103 | |
---|
| 104 | * Mon Dec 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.1-1 |
---|
| 105 | - new upstream release. |
---|
| 106 | |
---|
[10716] | 107 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1 |
---|
| 108 | - new upstream release |
---|
| 109 | - add BuildRequires: libjpeg-turbo-devel, gegl03-devel, libgexiv2-devel |
---|
| 110 | - remove BuildRequires: gegl-devel |
---|
| 111 | |
---|
[9804] | 112 | * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
[9791] | 115 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
| 116 | - new upstream release |
---|
| 117 | |
---|
[9569] | 118 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
[9478] | 121 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[9114] | 124 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-2 |
---|
| 125 | - fix typo in Group |
---|
| 126 | |
---|
[9102] | 127 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[9073] | 130 | * Sun Nov 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 131 | - new upstream release |
---|
| 132 | - add BuildRequires: libgdata-devel |
---|
| 133 | |
---|
[8369] | 134 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 135 | - new upstream release |
---|
| 136 | - add BuildRequires: yelp-tools |
---|
| 137 | |
---|
[8355] | 138 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 139 | - new upstream release |
---|
| 140 | - add BuildRequires: libgfbgraph-devel |
---|
| 141 | |
---|
[8011] | 142 | * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[7938] | 145 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 146 | - initial build |
---|
| 147 | |
---|