Browse Source

Name: shotwell
Version: 0.11.5
Release: 1%{?_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.10/shotwell-%{version}.tar.bz2
# http://trac.yorba.org/ticket/3379
Source1: shotwell-icons.tar.bz2
Source2: shotwell-0.8.1-vine2-ja.po

Patch0: shotwell-0.11.1-vala-0.14.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: gstreamer-plugins-base-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 -b .vala014
pushd po
%__rm -f ja.po
%__cp %{SOURCE2} ja.po
popd

%build
# We can't use the configure macro: it's not a standard autotools configure script
export CFLAGS="%{optflags}"
export LIB=%{_lib}

# HACK: Remove fatal-warnings to succeed build with vala 0.13.
sed -i "s:--fatal-warnings ::g" Makefile plugins/Makefile.plugin.mk
./configure --prefix=%{_prefix} --lib=%{_lib} --disable-schemas-install
#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} --all-name

%clean
rm -rf $RPM_BUILD_ROOT

%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
update-desktop-database &> /dev/null || :

%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
fi
update-desktop-database &> /dev/null || :

%posttrans
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc README COPYING MAINTAINERS NEWS THANKS AUTHORS
%{_bindir}/shotwell
%{_bindir}/shotwell-video-thumbnailer
%{_libdir}/shotwell/plugins/builtin
%{_datadir}/GConf/gsettings/shotwell.convert
%{_datadir}/glib-2.0/schemas/org.yorba.shotwell-extras.gschema.xml
%{_datadir}/glib-2.0/schemas/org.yorba.shotwell.gschema.xml
%{_datadir}/gnome/help/
%{_datadir}/shotwell
%{_datadir}/applications/shotwell.desktop
%{_datadir}/applications/shotwell-viewer.desktop
%{_datadir}/icons/hicolor/*
%exclude %{_datadir}/icons/hicolor/icon-theme.cache
%exclude %{_datadir}/glib-2.0/schemas/gschemas.compiled


%changelog
* Thu Oct 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.5-1
- new upstream release

* Fri Oct 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.4-1
- new upstream release

* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.2-1
- new upstream release
- add Patch0 (shotwell-0.11.1-vala-0.14.patch)
- add BuildRequires: gstreamer-plugins-base-devel

* Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.1-2
- rebuilt with libgexiv2-0.2.2-2

* Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1
- new upstream release

* Sat Jun 18 2011 IWAI, Masaharu <iwai@alib.jp> 0.8.1-5
- add ja.po (Source2): fix <BTS:VineLinux:1142>
- update Summary and description

* Fri Jun 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 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 <toshi.kd2@gmail.com> - 0.8.1-3
- dropt Patch0
- added BuildRequires: LibRaw-static

* Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.8.1-2
- add Patch1 (shotwell-0.8.1-vala.patch)

* Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.1-1
- new upstream release
- added BuildRequires: gstreamer-devel, json-glib-devel, libsoup-devel, libxml2-devel

* Tue Sep 28 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 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 <toshi.kd2@gmail.com> - 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 <toshi.kd2@gmail.com> - 0.7.1-1
- new upstream release

* Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.7.0-1
- new upstream release
- changed BuildRequires: libgexiv2-devel >= 0.2.0

* Thu Jul 22 2010 Shu KONNO <owa@bg.wakwak.com> - 0.6.1-2
- fixed LIB_DIRS in libraw-config (for lib64)

* Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.1-1
- new upstream release
- added BuildRequires: LibRaw-devel, libgexiv2-devel

* Wed May 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.2-1
- new upstream release

* Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
- new upstream release
- added BuildRequires: libgudev1-devel
- applied new naming policy to spec

* Wed Jan 20 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.3-1
- new upstream release
- proved Japanese description

* Thu Jan 7 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-1
- new upstrema release

* Wed Dec 30 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1
- intial build for VineSeed

* Fri Dec 18 2009 Matthias Clasen <mclasen@redhat.com> - 0.4.0-0.1.20091218svn
* Thu Nov 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.2-1
- Update to 0.3.2

* Tue Nov 3 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-1
- Version 0.3.0

* Thu Aug 20 2009 Michel Salim <salimma@fedoraproject.org> - 0.2.0-3
- Rebuild against new libgee

* Sun Aug 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.2.0-2.fc12
- Bring icon cache handling in sync with current guidelines

* Sun Aug 9 2009 Matthias Clasen <mclasen@redhat.com> - 0.2.0-1.fc12
- Initial packaging


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@5025 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 12 years ago
parent
commit
de050bea46
1 changed files with 5 additions and 2 deletions
  1. 5 2
      s/shotwell/shotwell-vl.spec

+ 5 - 2
s/shotwell/shotwell-vl.spec

@@ -1,5 +1,5 @@
 Name:           shotwell
-Version:        0.11.4
+Version:        0.11.5
 Release:        1%{?_dist_release}
 Summary:        A photo manager for the GNOME desktop
 Summary(ja):    GNOME デスクトップ向けの写真管理ツール
@@ -137,8 +137,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
 
 
 %changelog
+* Thu Oct 20 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.5-1
+- new upstream release
+
 * Fri Oct 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.11.4-1
-- new upstrema release
+- new upstream release
 
 * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.11.2-1
 - new upstream release