author | Jon Tibble <meths@btinternet.com> |
Thu, 15 Mar 2012 09:58:35 +0000 | |
branch | s11express-2010-11 |
changeset 22104 | cde243cbe3f6 |
parent 18102 | 8c3b74be90d6 |
permissions | -rw-r--r-- |
12840 | 1 |
# |
2 |
# spec file for package gegl |
|
18066 | 3 |
# Copyright 2010 Sun Microsystems, Inc. |
15380 | 4 |
# This file and all modifications and additions to the pristine |
5 |
# package are under the same license as the package itself. |
|
12840 | 6 |
# |
16434 | 7 |
%define owner leon.sha |
12840 | 8 |
# |
16426 | 9 |
|
10 |
%define OSR 9549:0.0.18 |
|
11 |
||
14687 | 12 |
Name: gegl |
18066 | 13 |
License: Library is LGPLv3, binaries are GPLv3 |
17881 | 14 |
Vendor: http://gegl.org |
14687 | 15 |
Group: Applications/Multimedia |
18100 | 16 |
Version: 0.1.2 |
14687 | 17 |
Release: 1 |
18 |
Distribution: Java Desktop System |
|
19 |
Vendor: Sun Microsystems, Inc. |
|
20 |
Summary: GEGL (Generic Graphics Library) is a graph based image processing framework. |
|
16440 | 21 |
Source: ftp://ftp.gimp.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2 |
14687 | 22 |
URL: http://www.gegl.org/ |
18067 | 23 |
#date:2009-06-03 owner:leon.sha type:branding |
14687 | 24 |
Patch1: gegl-01-build.diff |
15963 | 25 |
#date:2009-02-24 owner:leon.sha type:bug bugster:6802192 bugzilla:573073 |
18066 | 26 |
Patch2: gegl-02-info-null.diff |
14687 | 27 |
%package devel |
28 |
Summary: %{summary} - development files |
|
29 |
Group: System/GUI/GNOME |
|
30 |
Requires: %name |
|
12840 | 31 |
|
32 |
%prep |
|
33 |
%setup -q |
|
14687 | 34 |
%patch1 -p1 |
18066 | 35 |
%patch2 -p1 |
14939 | 36 |
|
12840 | 37 |
%build |
18100 | 38 |
|
12840 | 39 |
%ifos linux |
40 |
if [ -x /usr/bin/getconf ]; then |
|
41 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
42 |
fi |
|
43 |
%else |
|
44 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
45 |
%endif |
|
46 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
47 |
CPUS=1 |
|
48 |
fi |
|
18102
8c3b74be90d6
Add "-xunroll=1" to fix ube compilerissue(CR6958494).
davelam
parents:
18100
diff
changeset
|
49 |
export CFLAGS="%{optflags} -features=extensions -xunroll=1" |
14687 | 50 |
export CXXFLAGS="%{?cxx_optflags}" |
51 |
export LDFLAGS="%{?_ldflags}" |
|
52 |
aclocal |
|
53 |
libtoolize --force |
|
54 |
glib-gettextize --force |
|
55 |
automake -a -c -f |
|
56 |
autoconf |
|
57 |
./configure --prefix=%{_prefix} \ |
|
18066 | 58 |
--libdir=%{_libdir} \ |
18100 | 59 |
--sysconfdir=%{_sysconfdir} \ |
14687 | 60 |
--mandir=%{_mandir} \ |
61 |
--datadir=%{_datadir} \ |
|
18100 | 62 |
--infodir=%{_datadir}/info \ |
63 |
--without-libspiro \ |
|
64 |
--without-libv4l \ |
|
18066 | 65 |
--enable-mmx=no \ |
66 |
--enable-sse=no |
|
14687 | 67 |
|
12840 | 68 |
make -j$CPUS |
69 |
||
70 |
%install |
|
14687 | 71 |
|
12840 | 72 |
make install DESTDIR=$RPM_BUILD_ROOT |
73 |
||
74 |
%clean |
|
75 |
rm -rf $RPM_BUILD_ROOT |
|
76 |
||
77 |
%files |
|
14687 | 78 |
%defattr (-, root, root) |
79 |
%{_bindir}/* |
|
80 |
%{_libdir}/lib*.so* |
|
81 |
%{_libdir}/pkgconfig/* |
|
82 |
%{_libdir}/gimp |
|
83 |
%{_datadir}/pixmaps/* |
|
84 |
%{_datadir}/applications/* |
|
85 |
||
86 |
%files devel |
|
87 |
%defattr (-, root, root) |
|
88 |
%{_includedir}/* |
|
89 |
%{_datadir}/gtk-doc |
|
12840 | 90 |
|
91 |
%changelog |
|
18102
8c3b74be90d6
Add "-xunroll=1" to fix ube compilerissue(CR6958494).
davelam
parents:
18100
diff
changeset
|
92 |
* Wed Jun 09 2010 - [email protected] |
8c3b74be90d6
Add "-xunroll=1" to fix ube compilerissue(CR6958494).
davelam
parents:
18100
diff
changeset
|
93 |
- Add "-xunroll=1" to fix ube issue(CR6958494). |
18100 | 94 |
* Tue Jun 08 2010 - [email protected] |
95 |
- Update again to 0.1.2 after addressing the compiler issue. |
|
18084 | 96 |
* Fri Jun 04 2010 - [email protected] |
97 |
- Backout to 0.1.0 since the compiler has problems building 0.1.2. |
|
18066 | 98 |
* Wed Jun 02 2010 - [email protected] |
99 |
- Bump to 0.1.2. |
|
100 |
* Tue Sep 1 2009 - [email protected] |
|
101 |
- Bump to 0.1.0. |
|
15963 | 102 |
* Fri Jun 26 2009 - [email protected] |
18066 | 103 |
- Change spec and patch owner to leon.sha. |
15233 | 104 |
* The Feb 26 2009- [email protected] |
18066 | 105 |
- Add patch gegl-05-info-null to fix bug 6802192. |
14939 | 106 |
* Tue Jan 20 2009 - [email protected] |
18066 | 107 |
- bump to 0.22, add patch fprintf_null. |
14849 | 108 |
* Tue Jan 06 2009 - [email protected] |
18066 | 109 |
- Add patch g11n-textdomain.diff. |
14687 | 110 |
* Wed Nov 26 2008 - [email protected] |
111 |
- Initial create. |