123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- %define gtk2_version 2.24.0
- %define glib2_version 2.26.1
- %define libxml_version 2.7.7
- %define libbonobo_version 2.32.0
- %define libbonoboui_version 2.24.4
- %define libexif_version 0.6.13
- %define desktop_file_utils_version 0.17
- %define gnome_doc_utils_version 0.3.2
- %define gstreamer_version 0.10
- Summary: Image viewer, editor, organizer
- Summary(ja): 画像閲覧、編集、管理ツール
- Name: gthumb
- Version: 2.14.4
- Release: 2%{?_dist_release}
- URL: http://gthumb.sourceforge.net/
- Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.14/%{name}-%{version}.tar.xz
- License: GPL
- Group: Applications/Multimedia
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: gtk2-devel >= %{gtk2_version}
- BuildRequires: glib2-devel >= %{glib2_version}
- BuildRequires: libxml2-devel >= %{libxml_version}
- BuildRequires: libbonobo-devel >= %{libbonobo_version}
- BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
- BuildRequires: libpng-devel, libjpeg-turbo-devel, libtiff-devel
- BuildRequires: libexif-devel >= %{libexif_version}
- BuildRequires: gphoto2-devel
- BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
- BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
- BuildRequires: libSM-devel
- BuildRequires: unique-devel
- BuildRequires: exiv2-devel
- BuildRequires: libgnome-keyring-devel
- BuildRequires: libsoup-devel
- BuildRequires: gstreamer-devel >= %{gstreamer_version}
- BuildRequires: gstreamer-plugins-base-devel >= %{gstreamer_version}
- BuildRequires: bison
- BuildRequires: flex
- BuildRequires: gnome-common
- Requires(post): scrollkeeper, GConf2
- #Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
- Requires(preun): GConf2
- Requires(postun): scrollkeeper
- #Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
- Vendor: Project Vine
- Distribution: Vine Linux
- %description
- gthumb is an application for viewing, editing, and organizing
- collections of images.
- %description -l ja
- gthumb は画像ファイル集の閲覧、編集、管理をするためのアプリケーションです。
- %package devel
- Summary: Development tools for gthumb applications.
- Summary(ja): gthumb アプリケーションの開発用ファイル
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description devel
- Header files and libraries for building a extension library for the gthumb.
- %prep
- %setup -q
- %build
- %configure --disable-scrollkeeper --disable-schemas-install
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
- rm -f $RPM_BUILD_ROOT%{_libdir}/gthumb/extensions/*.*a
- rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
- rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/%{name}.m4
- %find_lang %{name}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- scrollkeeper-update -q ||:
- update-desktop-database -q ||:
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- SCHEMAS="gthumb.schemas"
- for S in $SCHEMAS; do
- gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null ||:
- done
- %preun
- if [ "$1" -gt 0 ] ; then
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- SCHEMAS="gthumb.schemas"
- for S in $SCHEMAS; do
- gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null ||:
- done
- fi
- %postun
- scrollkeeper-update -q ||:
- update-desktop-database -q ||:
- %files -f %{name}.lang
- %defattr(-,root,root)
- %{_bindir}/*
- %{_sysconfdir}/gconf/schemas/*
- %{_libdir}/gthumb/extensions/*
- %{_datadir}/applications/*.desktop
- %{_datadir}/gnome/help/gthumb
- %{_datadir}/gthumb
- %{_datadir}/icons/*
- ## %{_datadir}/omf/gthumb
- ## %{_mandir}/man1/*
- %files devel
- %defattr(-,root,root)
- %{_includedir}/gthumb-2.14/*
- %{_libdir}/pkgconfig/gthumb-2.14.pc
- %changelog
- * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.4-2
- - rebuild with exiv2-0.23
- * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.4-1
- - new upstream release
- * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.3-1
- - new upstream release
- * Wed Feb 01 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.2-1
- - new upstream release
- * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.1-1
- - new upstream release
- * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.0-1
- - new upstream release
- * Sat Oct 01 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.91-1
- - new upstream release
- * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.90-1
- - new upstream release
- - remove BuildRequires: brasero-devel
- * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.3-1
- - new upstream release
- - remove Patch0
- * Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.13.2-2
- - rebuilt with exiv2-0.21.1
- * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.2-1
- - new upstream release
- - add BuildRequires: gstreamer-plugins-base-devel, bison, flex, gnome-common
- - add Patch0 (gthumb-2.13.2-configure.patch)
- * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.3-1
- - new upstream release
- * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.2-1
- - new upstream release
- * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.1-1
- - new upstream release
- - fix typo
- * Wed Oct 13 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.12.0-2
- - add BR: gstreamer-devel
- * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.0-1
- - new upstream release
- - remove BuildRequires: libgnome-devel, libgnomeui-devel, libglade2-devel, libgnomeprint-devel, libgnomeprintui-devel
- - add BuildRequires: unique-devel, exiv2-devel, libgnome-keyring-devel, brasero-devel, libsoup-devel
- - change BuildRequires: libjpeg-turbo-devel instead of libjpeg-devel
- - add devel sub package
- - fix %files
- * Tue May 11 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.10.12-1
- - new upstream release
- * Sun Jan 17 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.10.11-1
- - new upstream release
- * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.10.8-1vl5
- - applied new versioning policy, spec in utf-8
- * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.8-0vl1
- - new upstream release
- * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.5-0vl1
- - new upstream release
- * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.9-0vl3
- - fix dependencies:
- - add BuildRequires:
- - libgnome{,ui}-devel
- - libgnomecanvas-devel
- - gnome-vfs2-devel
- - libxml2-devel
- - libglade2-devel
- - libgnomeprint{,ui}-devel instead of libgnomeprint{,ui}
- - libbonobo{,ui}-devel
- - libpng-devel, libjpeg-devel, libtiff-devel, libexif-devel
- - drop BuildRequires: nautilus
- - drop Requires: scrollkeeper
- - add Requires(post): scrollkeeper, GConf2, desktop-file-utils
- - add Requires(pre): GConf2
- - add Requires(postun): scrollkeeper, desktop-file-utils
- - fix scripts:
- - run scrollkeeper-update with '-q' at %%post,postun
- - run gconftool-2 --makefile-uninstall-rule at %%preun
- - run destop-database-update -q at %%post,postun
- * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.9-0vl2
- - rebuilt without gphoto2-devel
- * Thu Mar 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.9-0vl1
- - new upstream release
- * Thu Oct 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.8-0vl1
- - new upstream release
- * Mon Nov 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
- - new upstream release
- * Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.1-0vl1
- - new upstream release
- * Thu Apr 1 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
- - new upstream release
- * Fri Dec 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
- - new upstream release
- * Tue Jan 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-0vl1
- - new upstream release
- * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
- - new upstream release
- - build for Vine Linux
- - add patch0 to use libgnomeprint-2.2
- * Tue Jan 7 2003 Havoc Pennington <hp@redhat.com>
- - 1.108
- - disable schema install during makeinstall
- * Thu Jan 02 2003 Florian La Roche <Florian.LaRoche@redhat.de>
- - require scrollkeeper
- * Mon Dec 16 2002 Havoc Pennington <hp@redhat.com>
- - rebuild
- * Thu Dec 12 2002 Havoc Pennington <hp@redhat.com>
- - Initial build.
|