[521] | 1 | Name: shotwell |
---|
[8011] | 2 | Version: 0.15.1 |
---|
[8252] | 3 | Release: 4%{?_dist_release} |
---|
[4172] | 4 | Summary: A photo manager for the GNOME desktop |
---|
| 5 | Summary(ja): GNOME デスクトップ向けの写真管理ツール |
---|
[521] | 6 | |
---|
| 7 | Group: Applications/Graphics |
---|
| 8 | # LGPLv2+ for the code |
---|
| 9 | # CC-BY-SA for some of the icons |
---|
| 10 | License: LGPLv2+ and CC-BY-SA |
---|
| 11 | URL: http://www.yorba.org/shotwell/ |
---|
[4104] | 12 | |
---|
[6970] | 13 | Source0: http://www.yorba.org/download/shotwell/stable/shotwell-%{version}.tar.xz |
---|
[4104] | 14 | # http://trac.yorba.org/ticket/3379 |
---|
| 15 | Source1: shotwell-icons.tar.bz2 |
---|
[521] | 16 | |
---|
[6970] | 17 | # http://redmine.yorba.org/issues/5181 |
---|
| 18 | Patch0: shotwell-usrmove.patch |
---|
| 19 | |
---|
[521] | 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
[1343] | 22 | BuildRequires: GConf2-devel |
---|
| 23 | BuildRequires: LibRaw-devel |
---|
[4055] | 24 | BuildRequires: LibRaw-static |
---|
[6078] | 25 | BuildRequires: WebKit3-gtk-devel |
---|
[1343] | 26 | BuildRequires: dbus-glib-devel |
---|
| 27 | BuildRequires: desktop-file-utils |
---|
| 28 | BuildRequires: gettext |
---|
[6078] | 29 | BuildRequires: gtk3-devel |
---|
[6970] | 30 | #BuildRequires: gstreamer-devel |
---|
| 31 | #BuildRequires: gstreamer-plugins-base-devel |
---|
| 32 | BuildRequires: gstreamer1-devel |
---|
| 33 | BuildRequires: gstreamer1-plugins-base-devel |
---|
[2491] | 34 | BuildRequires: json-glib-devel |
---|
[1343] | 35 | BuildRequires: libexif-devel |
---|
[8011] | 36 | BuildRequires: libgee-devel |
---|
| 37 | BuildRequires: libgee-vala |
---|
[1343] | 38 | BuildRequires: libgphoto2-devel |
---|
[564] | 39 | BuildRequires: libgudev1-devel |
---|
[1628] | 40 | BuildRequires: libgexiv2-devel >= 0.2.0 |
---|
[2491] | 41 | BuildRequires: libsoup-devel |
---|
| 42 | BuildRequires: libxml2-devel |
---|
[6078] | 43 | BuildRequires: lcms2-devel |
---|
[521] | 44 | BuildRequires: sqlite3-devel |
---|
[6078] | 45 | BuildRequires: unique3-devel |
---|
[1803] | 46 | BuildRequires: vala-devel >= 0.9.5 |
---|
[6078] | 47 | BuildRequires: rest-devel |
---|
[521] | 48 | |
---|
[6970] | 49 | # used by shotwell-settings-migrator |
---|
| 50 | Requires: dconf |
---|
| 51 | |
---|
[4104] | 52 | Vendor: Project Vine |
---|
| 53 | Distribution: Vine Linux |
---|
| 54 | Packager: kudoh |
---|
| 55 | |
---|
[521] | 56 | %description |
---|
[4172] | 57 | Shotwell is a new open source photo manager designed for the GNOME desktop |
---|
[521] | 58 | environment. It allows you to import photos from your camera, view and edit |
---|
| 59 | them, and share them with others. |
---|
| 60 | |
---|
| 61 | %description -l ja |
---|
| 62 | Shotwell は GNOME デスクトップ環境用に設計された新しいオープンソースの |
---|
[4172] | 63 | 画像管理ツールです。 |
---|
[521] | 64 | あなたのカメラから写真を取り込んだり、それらを表示・編集したり、 |
---|
| 65 | 他の人々と共有するなどができます。 |
---|
| 66 | |
---|
| 67 | %prep |
---|
| 68 | %setup -q -n %{name}-%{version} |
---|
[6970] | 69 | %patch0 -p1 -b .usrmove |
---|
[521] | 70 | |
---|
| 71 | %build |
---|
[4812] | 72 | # We can't use the configure macro: it's not a standard autotools configure script |
---|
| 73 | export CFLAGS="%{optflags}" |
---|
| 74 | export LIB=%{_lib} |
---|
| 75 | |
---|
| 76 | # HACK: Remove fatal-warnings to succeed build with vala 0.13. |
---|
[6970] | 77 | #sed -i "s:--fatal-warnings ::g" Makefile plugins/Makefile.plugin.mk |
---|
[4812] | 78 | ./configure --prefix=%{_prefix} --lib=%{_lib} --disable-schemas-install |
---|
| 79 | #sed -i -e 's/\\n/\n/g' configure.mk |
---|
[521] | 80 | make %{?_smp_mflags} |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %install |
---|
| 84 | rm -rf $RPM_BUILD_ROOT |
---|
| 85 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 86 | export XDG_DISABLE_MAKEFILE_UPDATES=1 |
---|
[4104] | 87 | # otherwise gettext always returns English text regardless of LANGUAGE asked |
---|
| 88 | export LANG=en_US.utf8 |
---|
[521] | 89 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 90 | |
---|
| 91 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell.desktop |
---|
| 92 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell-viewer.desktop |
---|
| 93 | |
---|
[4104] | 94 | # put hi-res icons in place |
---|
| 95 | ( |
---|
| 96 | cd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor |
---|
| 97 | rm -rf 16x16 24x24 scalable |
---|
| 98 | tar xf %{SOURCE1} |
---|
| 99 | ) |
---|
[6970] | 100 | |
---|
[4616] | 101 | %find_lang %{name} --all-name |
---|
[521] | 102 | |
---|
| 103 | %clean |
---|
| 104 | rm -rf $RPM_BUILD_ROOT |
---|
| 105 | |
---|
| 106 | %post |
---|
| 107 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 108 | update-desktop-database &> /dev/null || : |
---|
| 109 | |
---|
| 110 | %postun |
---|
| 111 | if [ $1 -eq 0 ] ; then |
---|
| 112 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 113 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : |
---|
[4812] | 114 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 115 | fi |
---|
| 116 | update-desktop-database &> /dev/null || : |
---|
| 117 | |
---|
| 118 | %posttrans |
---|
| 119 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : |
---|
[4812] | 120 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[521] | 121 | |
---|
| 122 | %files -f %{name}.lang |
---|
| 123 | %defattr(-,root,root,-) |
---|
| 124 | %doc README COPYING MAINTAINERS NEWS THANKS AUTHORS |
---|
| 125 | %{_bindir}/shotwell |
---|
[6970] | 126 | %{_libexecdir}/shotwell/shotwell-settings-migrator |
---|
[8011] | 127 | %{_libexecdir}/shotwell/shotwell-video-thumbnailer |
---|
[4616] | 128 | %{_libdir}/shotwell/plugins/builtin |
---|
[4812] | 129 | %{_datadir}/GConf/gsettings/shotwell.convert |
---|
| 130 | %{_datadir}/glib-2.0/schemas/org.yorba.shotwell-extras.gschema.xml |
---|
| 131 | %{_datadir}/glib-2.0/schemas/org.yorba.shotwell.gschema.xml |
---|
[1628] | 132 | %{_datadir}/gnome/help/ |
---|
[521] | 133 | %{_datadir}/shotwell |
---|
[8011] | 134 | %{_datadir}/appdata/shotwell.appdata.xml |
---|
[521] | 135 | %{_datadir}/applications/shotwell.desktop |
---|
| 136 | %{_datadir}/applications/shotwell-viewer.desktop |
---|
[564] | 137 | %{_datadir}/icons/hicolor/* |
---|
[3330] | 138 | %exclude %{_datadir}/icons/hicolor/icon-theme.cache |
---|
[4812] | 139 | %exclude %{_datadir}/glib-2.0/schemas/gschemas.compiled |
---|
[521] | 140 | |
---|
| 141 | |
---|
| 142 | %changelog |
---|
[8252] | 143 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.1-4 |
---|
| 144 | - rebuild with LibRaw-0.16.0 |
---|
| 145 | |
---|
[8202] | 146 | * Sun Jan 19 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.15.1-3 |
---|
| 147 | - rebuilt with LibRaw-0.15.4 |
---|
| 148 | |
---|
[8056] | 149 | * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.1-2 |
---|
| 150 | - rebuild with exiv2-0.24 |
---|
| 151 | |
---|
[8011] | 152 | * Sat Nov 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.15.1-1 |
---|
| 153 | - new upstream release |
---|
| 154 | - remove Patch1 (0001-Port-to-GStreamer-1.0.patch) |
---|
| 155 | - change BuildRequires: libgee-devel instead of libgee06-devel |
---|
| 156 | - add BuildRequires: libgee-vala |
---|
| 157 | |
---|
[7336] | 158 | * Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> - 0.13.1-2 |
---|
| 159 | - build with libgphoto2 2.5.0-1 |
---|
| 160 | |
---|
[6970] | 161 | * Sat Oct 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.13.1-1 |
---|
| 162 | - new upstream release |
---|
| 163 | - changed archive typr to xz |
---|
| 164 | - changed BuildRequires: libgee-devel to libgee06-devel |
---|
| 165 | - changed BuildRequires: gstreamer-devel and gstreamer-plugins-base-devel to |
---|
| 166 | gstreamer1-devel and gstreamer1-plugins-base-devel |
---|
| 167 | - added Requires: dconf |
---|
| 168 | - added Patch0,1 from Fedora |
---|
| 169 | |
---|
[6655] | 170 | * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.3-2 |
---|
| 171 | - rebuild with exiv2-0.23 |
---|
| 172 | |
---|
[6163] | 173 | * Thu May 10 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.12.3-1 |
---|
| 174 | - new upstream release |
---|
| 175 | - dropt Source2 |
---|
| 176 | |
---|
[6078] | 177 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.12.2-1 |
---|
| 178 | - new upstream release |
---|
| 179 | - remove Patch0 |
---|
| 180 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 181 | - change BuildRequires: WebKit3-gtk-devel instead of WebKit-gtk-devel |
---|
| 182 | - change BuildRequires: unique3-devel instead of unique-devel |
---|
| 183 | - remove BuildRequires: hal-devel |
---|
| 184 | - add BuildRequires: rest-devel, lcms2-devel |
---|
| 185 | |
---|
[5151] | 186 | * Sun Nov 13 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.6-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
[5025] | 189 | * Thu Oct 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.5-1 |
---|
| 190 | - new upstream release |
---|
| 191 | |
---|
[4967] | 192 | * Fri Oct 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.4-1 |
---|
[5025] | 193 | - new upstream release |
---|
[4967] | 194 | |
---|
[4812] | 195 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.2-1 |
---|
| 196 | - new upstream release |
---|
| 197 | - add Patch0 (shotwell-0.11.1-vala-0.14.patch) |
---|
| 198 | - add BuildRequires: gstreamer-plugins-base-devel |
---|
| 199 | |
---|
[4663] | 200 | * Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.1-2 |
---|
| 201 | - rebuilt with libgexiv2-0.2.2-2 |
---|
| 202 | |
---|
[4616] | 203 | * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1 |
---|
| 204 | - new upstream release |
---|
| 205 | |
---|
[4172] | 206 | * Sat Jun 18 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.1-5 |
---|
| 207 | - add ja.po (Source2): fix <BTS:VineLinux:1142> |
---|
| 208 | - update Summary and description |
---|
| 209 | |
---|
[4104] | 210 | * Fri Jun 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.1-4 |
---|
| 211 | - add hi-res icons (SOURCE1) |
---|
| 212 | - add LANG=en_US.utf8 to get gettext to actually generate translated strings |
---|
| 213 | |
---|
[4055] | 214 | * Sat Jun 04 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.1-3 |
---|
| 215 | - dropt Patch0 |
---|
| 216 | - added BuildRequires: LibRaw-static |
---|
| 217 | |
---|
[3330] | 218 | * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.1-2 |
---|
| 219 | - add Patch1 (shotwell-0.8.1-vala.patch) |
---|
| 220 | |
---|
[2491] | 221 | * Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.1-1 |
---|
| 222 | - new upstream release |
---|
| 223 | - added BuildRequires: gstreamer-devel, json-glib-devel, libsoup-devel, libxml2-devel |
---|
| 224 | |
---|
[1939] | 225 | * Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-2 |
---|
| 226 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 227 | - fixed %%changelog in Tue Sep 14 2010 |
---|
| 228 | |
---|
[1803] | 229 | * Tue Sep 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.2-1 |
---|
| 230 | - new upstream release |
---|
| 231 | - changed source URL |
---|
[1939] | 232 | - added Patch0 to work around desktop file incorrect comment |
---|
[1803] | 233 | - changed BuildRequires: vala-devel >= 0.9.5 |
---|
| 234 | |
---|
[1677] | 235 | * Fri Aug 27 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.1-1 |
---|
| 236 | - new upstream release |
---|
| 237 | |
---|
[1628] | 238 | * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.0-1 |
---|
| 239 | - new upstream release |
---|
| 240 | - changed BuildRequires: libgexiv2-devel >= 0.2.0 |
---|
| 241 | |
---|
[1417] | 242 | * Thu Jul 22 2010 Shu KONNO <owa@bg.wakwak.com> - 0.6.1-2 |
---|
| 243 | - fixed LIB_DIRS in libraw-config (for lib64) |
---|
| 244 | |
---|
[1343] | 245 | * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-1 |
---|
| 246 | - new upstream release |
---|
| 247 | - added BuildRequires: LibRaw-devel, libgexiv2-devel |
---|
| 248 | |
---|
[1007] | 249 | * Wed May 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1 |
---|
| 250 | - new upstream release |
---|
| 251 | |
---|
[564] | 252 | * Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1 |
---|
| 253 | - new upstream release |
---|
| 254 | - added BuildRequires: libgudev1-devel |
---|
| 255 | - applied new naming policy to spec |
---|
| 256 | |
---|
[521] | 257 | * Wed Jan 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.3-1 |
---|
[564] | 258 | - new upstream release |
---|
[521] | 259 | - proved Japanese description |
---|
| 260 | |
---|
| 261 | * Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-1 |
---|
| 262 | - new upstrema release |
---|
| 263 | |
---|
| 264 | * Wed Dec 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1 |
---|
| 265 | - intial build for VineSeed |
---|
| 266 | |
---|
| 267 | * Fri Dec 18 2009 Matthias Clasen <mclasen@redhat.com> - 0.4.0-0.1.20091218svn |
---|
| 268 | * Thu Nov 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.2-1 |
---|
| 269 | - Update to 0.3.2 |
---|
| 270 | |
---|
| 271 | * Tue Nov 3 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-1 |
---|
| 272 | - Version 0.3.0 |
---|
| 273 | |
---|
| 274 | * Thu Aug 20 2009 Michel Salim <salimma@fedoraproject.org> - 0.2.0-3 |
---|
| 275 | - Rebuild against new libgee |
---|
| 276 | |
---|
[8011] | 277 | * Wed Aug 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.2.0-2.fc12 |
---|
[521] | 278 | - Bring icon cache handling in sync with current guidelines |
---|
| 279 | |
---|
| 280 | * Sun Aug 9 2009 Matthias Clasen <mclasen@redhat.com> - 0.2.0-1.fc12 |
---|
| 281 | - Initial packaging |
---|