|
@@ -1,36 +1,34 @@
|
|
-%define build_vine5 0
|
|
|
|
-%define build_vine6 0
|
|
|
|
|
|
+%define build_vine7 0
|
|
|
|
|
|
-%if "%{?_dist_release}" == "vl5"
|
|
|
|
-%define build_vine5 1
|
|
|
|
-%endif
|
|
|
|
-%if "%{?_dist_release}" == "vl6"
|
|
|
|
-%define build_vine6 1
|
|
|
|
|
|
+%if "%{?_dist_release}" == "vl7"
|
|
|
|
+%define build_vine7 1
|
|
%endif
|
|
%endif
|
|
|
|
|
|
Summary: HTML pages thumbnailer
|
|
Summary: HTML pages thumbnailer
|
|
Summary(ja): HTML ページのサムネール作成ツール
|
|
Summary(ja): HTML ページのサムネール作成ツール
|
|
Name: gnome-web-photo
|
|
Name: gnome-web-photo
|
|
-Version: 0.9
|
|
|
|
-Release: 4%{?_dist_release}
|
|
|
|
|
|
+Version: 0.10.5
|
|
|
|
+Release: 1%{?_dist_release}
|
|
License: LGPLv2+
|
|
License: LGPLv2+
|
|
Group: Applications/Internet
|
|
Group: Applications/Internet
|
|
URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-web-photo/%{version}/
|
|
URL: http://ftp.gnome.org/pub/GNOME/sources/gnome-web-photo/%{version}/
|
|
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-web-photo/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
-Patch0: gnome-web-photo-xulrunner192.patch
|
|
|
|
|
|
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-web-photo/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
+%if %{build_vine7}
|
|
|
|
+BuildRequires: gtk3-devel >= 2.14.0
|
|
|
|
+BuildRequires: WebKit3-gtk-devel >= 1.1.23
|
|
|
|
+%else
|
|
Requires(post): GConf2
|
|
Requires(post): GConf2
|
|
Requires(preun):GConf2
|
|
Requires(preun):GConf2
|
|
-Requires: gecko-libs >= 1.9
|
|
|
|
-BuildRequires: gtk2-devel >= 2.10.0
|
|
|
|
-BuildRequires: libxml2-devel
|
|
|
|
-BuildRequires: gnome-vfs2-devel
|
|
|
|
-BuildRequires: gecko-devel >= 1.9
|
|
|
|
-BuildRequires: gecko-devel-unstable >= 1.9
|
|
|
|
-BuildRequires: libjpeg-devel
|
|
|
|
|
|
+BuildRequires: gtk2-devel >= 2.14.0
|
|
|
|
+BuildRequires: GConf2-devel
|
|
|
|
+BuildRequires: WebKit-gtk-devel >= 1.1.23
|
|
|
|
+%endif
|
|
BuildRequires: gettext intltool
|
|
BuildRequires: gettext intltool
|
|
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
Packager: kazutaka
|
|
Packager: kazutaka
|
|
|
|
|
|
%description
|
|
%description
|
|
@@ -41,26 +39,40 @@ screenshots of web pages.
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
-%if %{build_vine6}
|
|
|
|
-%patch0 -p1 -b .xulrunner192
|
|
|
|
-%endif
|
|
|
|
-
|
|
|
|
%build
|
|
%build
|
|
-%configure
|
|
|
|
|
|
+%if %{build_vine7}
|
|
|
|
+%configure --with-gtk=3.0
|
|
|
|
+%else
|
|
|
|
+%configure --with-gtk=2.0
|
|
|
|
+%endif
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
+
|
|
|
|
+%if %{build_vine7}
|
|
|
|
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
+%else
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
%{__make} DESTDIR=$RPM_BUILD_ROOT install
|
|
%{__make} DESTDIR=$RPM_BUILD_ROOT install
|
|
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
|
|
|
|
%{__mv} $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/thumbnailer.schemas \
|
|
%{__mv} $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/thumbnailer.schemas \
|
|
$RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas
|
|
$RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas
|
|
|
|
+%endif
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
+
|
|
|
|
+%if %{build_vine7}
|
|
|
|
+
|
|
|
|
+%post -p /sbin/ldconfig
|
|
|
|
+%postun -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%else
|
|
|
|
+
|
|
%post
|
|
%post
|
|
|
|
+/sbin/ldconfig
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
|
gconftool-2 --makefile-install-rule \
|
|
gconftool-2 --makefile-install-rule \
|
|
%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas >& /dev/null
|
|
%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas >& /dev/null
|
|
@@ -80,19 +92,32 @@ if [ "$1" -eq 0 ]; then
|
|
%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas >& /dev/null
|
|
%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas >& /dev/null
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%postun -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog AUTHORS README TODO COPYING.README
|
|
%doc ChangeLog AUTHORS README TODO COPYING.README
|
|
|
|
+%if !%{build_vine7}
|
|
%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas
|
|
%{_sysconfdir}/gconf/schemas/gnome-web-photo.schemas
|
|
|
|
+%endif
|
|
%{_bindir}/gnome-web-photo
|
|
%{_bindir}/gnome-web-photo
|
|
%{_bindir}/gnome-web-print
|
|
%{_bindir}/gnome-web-print
|
|
%{_bindir}/gnome-web-thumbnail
|
|
%{_bindir}/gnome-web-thumbnail
|
|
%{_datadir}/gnome-web-photo
|
|
%{_datadir}/gnome-web-photo
|
|
|
|
+%if %{build_vine7}
|
|
|
|
+%{_datadir}/thumbnailers/gnome-web-photo.thumbnailer
|
|
|
|
+%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Jan 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.5-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Sat Apr 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9-4
|
|
* Sat Apr 17 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9-4
|
|
- remove %%{gecko_version} macro and specify explicit minimum version
|
|
- remove %%{gecko_version} macro and specify explicit minimum version
|
|
|
|
|