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