base-specs/eog-plugins.spec
author gman
Thu, 30 Sep 2010 21:37:28 +0000
branchgnome-2-30
changeset 20130 c7dfc176dcbd
parent 17910 861feae77fed
child 20201 33ac0296e01d
permissions -rw-r--r--
2010-10-01 Glynn Foster <[email protected]> * specs/SUNWos-welcome.spec: Bump to 1.0.6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
     1
#
17586
82adec65e1d7 Polish specs for gedit-plugins and eog-plugin
jouby
parents: 17568
diff changeset
     2
# base spec file for package eog-plugins
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
     3
#
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
     4
# Copyright (c) 2010 Sun Microsystems, Inc.
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
     6
# package are under the same license as the package itself.
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
     7
#
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
     8
%define owner jouby 
17881
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
     9
17893
36619080451b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17881
diff changeset
    10
%define OSR LFI#105446 (gnome Exec. summary):n/a
17881
1eaaaad29d9a 2010-04-20 Christian Kelly <[email protected]>
chrisk
parents: 17864
diff changeset
    11
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    12
#
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    13
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    14
Name:         eog-plugins
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    15
License:      GPLv2
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    16
Group:        System/GUI/GNOME
17910
861feae77fed 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17899
diff changeset
    17
Version:      2.30.0
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    18
Release:      1
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17804
diff changeset
    19
Vendor:       Gnome Community
17586
82adec65e1d7 Polish specs for gedit-plugins and eog-plugin
jouby
parents: 17568
diff changeset
    20
Summary:      Eog plugins 
17910
861feae77fed 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17899
diff changeset
    21
Source:       http://ftp.gnome.org/pub/GNOME/sources/eog-plugins/2.30/eog-plugins-%{version}.tar.bz2
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    22
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    23
URL:          http://live.gnome.org/EyeOfGnome/Plugins
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    24
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    25
Docdir:       %{_defaultdocdir}/doc
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    26
Autoreqprov:  on
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    27
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    28
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    29
%description
17586
82adec65e1d7 Polish specs for gedit-plugins and eog-plugin
jouby
parents: 17568
diff changeset
    30
plugins of  package eog ("Eye of GNOME")
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    31
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    32
%prep
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    33
%setup -q
17899
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    34
#%if %build_l10n
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    35
#bzcat %SOURCE1 | tar xf -
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    36
#cd po-sun; make; cd ..
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    37
#%endif
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    38
17899
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    39
#for po in po/*.po; do
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    40
#  dos2unix -ascii $po $po
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    41
#done
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    42
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    43
%build
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    44
%ifos linux
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    45
if [ -3 /usr/bin/getconf ]; then
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    46
  CPUS=`getconf _NPROCESSORS_ONLN`
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    47
fi
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    48
%else
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    49
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    50
%endif
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    51
if test "x$CPUS" = "x" -o $CPUS = 0; then
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    52
  CPUS=1
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    53
fi
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    54
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    55
gnome-doc-common
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    56
libtoolize --force
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    57
glib-gettextize -f
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    58
intltoolize --force --copy
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    59
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    60
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    61
aclocal $ACLOCAL_FLAGS
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    62
automake -a -c -f
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    63
autoconf
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    64
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    65
CFLAGS="$RPM_OPT_FLAGS -g"			\
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    66
./configure --prefix=%{_prefix}		\
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    67
	    --sysconfdir=%{_sysconfdir} \
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    68
	    --libexecdir=%{_libexecdir} \
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    69
	    --disable-scrollkeeper	\
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    70
            --without-lcms              \
17910
861feae77fed 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17899
diff changeset
    71
            --with-plugins=exif-display,fit-to-width,pythonconsole,slideshowshuffle,send-by-mail
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    72
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    73
make -j $CPUS
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    74
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    75
%install
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    76
rm -rf $RPM_BUILD_ROOT
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    77
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    78
make DESTDIR=$RPM_BUILD_ROOT install
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    79
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL  
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    80
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    81
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    82
%clean
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    83
rm -rf $RPM_BUILD_ROOT
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    84
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    85
%changelog
17899
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    86
* Thu Apr 22 2010 - [email protected]
17910
861feae77fed 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17899
diff changeset
    87
- Bump to 2.30.0.
861feae77fed 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17899
diff changeset
    88
- Disable building of champlain module, doesn't seem to exist anymore.
861feae77fed 2010-04-22 Christian Kelly <[email protected]>
chrisk
parents: 17899
diff changeset
    89
* Thu Apr 22 2010 - [email protected]
17899
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    90
- Comment out l10n stuff.  Seems to be missing.
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    91
* Wen Api 07 2010 - [email protected]
17804
6af862ff3cc1 add send-by-mail plugin
jouby
parents: 17586
diff changeset
    92
- Add send-by-mail plugin 
17899
644e42caac1b 2010-04-21 Christian Kelly <[email protected]>
chrisk
parents: 17893
diff changeset
    93
* Tue Jan 19 2010 - [email protected]
17568
f81bd13460f5 Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff changeset
    94
- Init