Name: shotwell Version: 0.8.1 Release: 6%{?_dist_release} Summary: A photo manager for the GNOME desktop Summary(ja): GNOME デスクトップ向けの写真管理ツール Group: Applications/Graphics # LGPLv2+ for the code # CC-BY-SA for some of the icons License: LGPLv2+ and CC-BY-SA URL: http://www.yorba.org/shotwell/ Source0: http://www.yorba.org/download/shotwell/0.8/shotwell-%{version}.tar.bz2 # http://trac.yorba.org/ticket/3379 Source1: shotwell-icons.tar.bz2 Source2: shotwell-0.8.1-vine2-ja.po Patch1: shotwell-0.8.1-vala.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: GConf2-devel BuildRequires: LibRaw-devel BuildRequires: LibRaw-static BuildRequires: WebKit-gtk-devel BuildRequires: dbus-glib-devel BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: gtk2-devel BuildRequires: gstreamer-devel BuildRequires: hal-devel BuildRequires: json-glib-devel BuildRequires: libexif-devel BuildRequires: libgee-devel BuildRequires: libgphoto2-devel BuildRequires: libgudev1-devel BuildRequires: libgexiv2-devel >= 0.2.0 BuildRequires: libsoup-devel BuildRequires: libxml2-devel BuildRequires: sqlite3-devel BuildRequires: unique-devel BuildRequires: vala-devel >= 0.9.5 Vendor: Project Vine Distribution: Vine Linux Packager: kudoh %description Shotwell is a new open source photo manager designed for the GNOME desktop environment. It allows you to import photos from your camera, view and edit them, and share them with others. %description -l ja Shotwell は GNOME デスクトップ環境用に設計された新しいオープンソースの 画像管理ツールです。 あなたのカメラから写真を取り込んだり、それらを表示・編集したり、 他の人々と共有するなどができます。 %prep %setup -q -n %{name}-%{version} #%patch0 -p1 %patch1 -p1 pushd po %__rm -f ja.po %__cp %{SOURCE2} ja.po popd %build ./configure --prefix=/usr --disable-schemas-install --assume-pkgs sed -i -e 's/\\n/\n/g' configure.mk sed -i -e 's/^CFLAGS=.*$/CFLAGS=%{optflags}/' Makefile sed -i -e 's|LIB_DIRS=.*$|LIB_DIRS=%{_libdir}|' libraw-config make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 export XDG_DISABLE_MAKEFILE_UPDATES=1 # otherwise gettext always returns English text regardless of LANGUAGE asked export LANG=en_US.utf8 make install DESTDIR=$RPM_BUILD_ROOT desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell.desktop desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/shotwell-viewer.desktop # put hi-res icons in place ( cd $RPM_BUILD_ROOT%{_datadir}/icons/hicolor rm -rf 16x16 24x24 scalable tar xf %{SOURCE1} ) %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : update-desktop-database &> /dev/null || : export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/shotwell.schemas > /dev/null || : %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/shotwell.schemas > /dev/null || : fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/shotwell.schemas > /dev/null || : fi %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : fi update-desktop-database &> /dev/null || : %posttrans gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc README COPYING MAINTAINERS NEWS THANKS AUTHORS %{_sysconfdir}/gconf/schemas/shotwell.schemas %{_bindir}/shotwell %{_datadir}/gnome/help/ %{_datadir}/shotwell %{_datadir}/applications/shotwell.desktop %{_datadir}/applications/shotwell-viewer.desktop %{_datadir}/icons/hicolor/* %exclude %{_datadir}/icons/hicolor/icon-theme.cache %changelog * Sat Jul 16 2016 Tomohiro "Tomo-p" KATO 0.8.1-6 - rebuilt with libgphoto2-2.4.14. * Sat Jun 18 2011 IWAI, Masaharu 0.8.1-5 - add ja.po (Source2): fix - update Summary and description * Fri Jun 10 2011 Daisuke SUZUKI 0.8.1-4 - add hi-res icons (SOURCE1) - add LANG=en_US.utf8 to get gettext to actually generate translated strings * Sat Jun 04 2011 Toshiharu Kudoh - 0.8.1-3 - dropt Patch0 - added BuildRequires: LibRaw-static * Sun Apr 03 2011 Yoji TOYODA - 0.8.1-2 - add Patch1 (shotwell-0.8.1-vala.patch) * Wed Jan 12 2011 Toshiharu Kudoh - 0.8.1-1 - new upstream release - added BuildRequires: gstreamer-devel, json-glib-devel, libsoup-devel, libxml2-devel * Tue Sep 28 2010 Toshiharu Kudoh - 0.7.2-2 - rebuilt with rpm-4.8.1 for pkg-config - fixed %%changelog in Tue Sep 14 2010 * Tue Sep 14 2010 Toshiharu Kudoh - 0.7.2-1 - new upstream release - changed source URL - added Patch0 to work around desktop file incorrect comment - changed BuildRequires: vala-devel >= 0.9.5 * Fri Aug 27 2010 Toshiharu Kudoh - 0.7.1-1 - new upstream release * Sat Aug 21 2010 Toshiharu Kudoh - 0.7.0-1 - new upstream release - changed BuildRequires: libgexiv2-devel >= 0.2.0 * Thu Jul 22 2010 Shu KONNO - 0.6.1-2 - fixed LIB_DIRS in libraw-config (for lib64) * Wed Jul 14 2010 Toshiharu Kudoh - 0.6.1-1 - new upstream release - added BuildRequires: LibRaw-devel, libgexiv2-devel * Wed May 12 2010 Toshiharu Kudoh - 0.5.2-1 - new upstream release * Sat Mar 13 2010 Toshiharu Kudoh - 0.5.0-1 - new upstream release - added BuildRequires: libgudev1-devel - applied new naming policy to spec * Wed Jan 20 2010 Toshiharu Kudoh - 0.4.3-1 - new upstream release - proved Japanese description * Thu Jan 7 2010 Toshiharu Kudoh - 0.4.2-1 - new upstrema release * Wed Dec 30 2009 Toshiharu Kudoh - 0.4.1-1 - intial build for VineSeed * Fri Dec 18 2009 Matthias Clasen - 0.4.0-0.1.20091218svn * Thu Nov 12 2009 Matthias Clasen - 0.3.2-1 - Update to 0.3.2 * Tue Nov 3 2009 Matthias Clasen - 0.3.0-1 - Version 0.3.0 * Thu Aug 20 2009 Michel Salim - 0.2.0-3 - Rebuild against new libgee * Sun Aug 12 2009 Matthias Clasen - 0.2.0-2.fc12 - Bring icon cache handling in sync with current guidelines * Sun Aug 9 2009 Matthias Clasen - 0.2.0-1.fc12 - Initial packaging