author | convert-repo |
Tue, 28 Sep 2010 11:41:29 +0000 | |
changeset 20122 | 34a34bffcb68 |
parent 17910 | 861feae77fed |
child 20201 | 33ac0296e01d |
permissions | -rw-r--r-- |
17568
f81bd13460f5
Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff
changeset
|
1 |
# |
17586 | 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 | 9 |
|
17893 | 10 |
%define OSR LFI#105446 (gnome Exec. summary):n/a |
17881 | 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 | 17 |
Version: 2.30.0 |
17568
f81bd13460f5
Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff
changeset
|
18 |
Release: 1 |
17864 | 19 |
Vendor: Gnome Community |
17586 | 20 |
Summary: Eog plugins |
17910 | 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 | 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 | 34 |
#%if %build_l10n |
35 |
#bzcat %SOURCE1 | tar xf - |
|
36 |
#cd po-sun; make; cd .. |
|
37 |
#%endif |
|
17568
f81bd13460f5
Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff
changeset
|
38 |
|
17899 | 39 |
#for po in po/*.po; do |
40 |
# dos2unix -ascii $po $po |
|
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 | 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 | 86 |
* Thu Apr 22 2010 - [email protected] |
17910 | 87 |
- Bump to 2.30.0. |
88 |
- Disable building of champlain module, doesn't seem to exist anymore. |
|
89 |
* Thu Apr 22 2010 - [email protected] |
|
17899 | 90 |
- Comment out l10n stuff. Seems to be missing. |
91 |
* Wen Api 07 2010 - [email protected] |
|
17804 | 92 |
- Add send-by-mail plugin |
17899 | 93 |
* Tue Jan 19 2010 - [email protected] |
17568
f81bd13460f5
Putback package SUNWgnome-eog-plugins and SUNWgnome-gedit-plugins
jouby
parents:
diff
changeset
|
94 |
- Init |