eog-plugins.spec revision 19032
10139N/A#
10139N/A# base spec file for package eog-plugins
10139N/A#
12153N/A# Copyright (c) 2010 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner jouby
10139N/A
12285N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
10139N/A
10139N/A#
10139N/A
13113N/AName: eog-plugins
11260N/ALicense: GPLv2
10139N/AGroup: System/GUI/GNOME
10139N/AVersion: 2.30.1
10139N/ARelease: 1
12586N/AVendor: Gnome Community
10139N/ASummary: Eog plugins
12285N/ASource: http://ftp.gnome.org/pub/GNOME/sources/eog-plugins/2.30/eog-plugins-%{version}.tar.bz2
12773N/A
12773N/AURL: http://live.gnome.org/EyeOfGnome/Plugins
12773N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
13368N/ADocdir: %{_defaultdocdir}/doc
10139N/AAutoreqprov: on
10737N/A
10139N/A
10737N/A%description
11419N/Aplugins of package eog ("Eye of GNOME")
10139N/A
10737N/A%prep
11419N/A%setup -q
11895N/A#%if %build_l10n
10941N/A#bzcat %SOURCE1 | tar xf -
10139N/A#cd po-sun; make; cd ..
10941N/A#%endif
11055N/A
11055N/A#for po in po/*.po; do
10941N/A# dos2unix -ascii $po $po
10737N/A#done
11044N/A
11420N/A%build
11044N/A%ifos linux
12513N/Aif [ -3 /usr/bin/getconf ]; then
11420N/A CPUS=`getconf _NPROCESSORS_ONLN`
12162N/Afi
12162N/A%else
12162N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
12513N/A%endif
12506N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
12506N/A CPUS=1
12513N/Afi
12513N/A
12570N/Agnome-doc-common
12570N/Alibtoolize --force
13368N/Aglib-gettextize -f
13368N/Aintltoolize --force --copy
10737N/A
10139N/A
10139N/Aaclocal $ACLOCAL_FLAGS
10139N/Aautomake -a -c -f
10139N/Aautoconf
10139N/A
10139N/ACFLAGS="$RPM_OPT_FLAGS -g" \
10139N/A./configure --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --libexecdir=%{_libexecdir} \
10139N/A --disable-scrollkeeper \
10139N/A --without-lcms \
10139N/A --with-plugins=exif-display,fit-to-width,pythonconsole,slideshowshuffle,send-by-mail
10139N/A
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
12285N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
12285N/A
12285N/A
13383N/A%clean
12285N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10737N/A%changelog
11419N/A* Wed Oct 20 2010 - brian.cameron@oracle.com
10139N/A- Bump to 2.30.1.
11419N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
10139N/A- Bump to 2.30.0.
10139N/A- Disable building of champlain module, doesn't seem to exist anymore.
10740N/A* Thu Apr 22 2010 - christian.kelly@oracle.com
10740N/A- Comment out l10n stuff. Seems to be missing.
10941N/A* Wen Api 07 2010 - yuntong.jin@sun.com
10740N/A- Add send-by-mail plugin
11044N/A* Tue Jan 19 2010 - yuntong.jin@sun.com
11420N/A- Init
11044N/A