Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
Name: gimp2 |
5 |
Name: gimp2 |
6 |
Version: %ver_major.13 |
6 |
Version: %ver_major.13 |
7 |
Release: alt1 |
7 |
Release: alt2 |
8 |
|
8 |
|
9 |
Summary: The GNU Image Manipulation Program |
9 |
Summary: The GNU Image Manipulation Program |
10 |
License: GPL, LGPL |
10 |
License: GPL, LGPL |
Lines 61-70
Development libraries and header files f
Link Here
|
61 |
%setup -q -n %_name-%version |
61 |
%setup -q -n %_name-%version |
62 |
|
62 |
|
63 |
%build |
63 |
%build |
64 |
%configure \ |
64 |
%configure |
65 |
--disable-mmx \ |
65 |
%ifarch %ix86 |
66 |
--disable-sse |
66 |
# hack derived from opensuse gimp package |
67 |
|
67 |
cd app/composite |
|
|
68 |
# FIXME: |
69 |
# gimp-composite-mmx.c: In function 'gimp_composite_burn_rgba8_rgba8_rgba8_mmx': |
70 |
# gimp-composite-mmx.c:148: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' |
71 |
# gimp-composite-sse.c: In function 'gimp_composite_burn_rgba8_rgba8_rgba8_sse': |
72 |
# gimp-composite-sse.c:127: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' |
73 |
make CFLAGS="%optflags -fno-strict-aliasing -O0" \ |
74 |
libcompositemmx.a libcompositesse.a |
75 |
cd ../.. |
76 |
%endif |
68 |
%make_build |
77 |
%make_build |
69 |
|
78 |
|
70 |
%install |
79 |
%install |
Lines 96-101
find %buildroot%_libdir -name "*.la" | x
Link Here
|
96 |
%dir %_sysconfdir/%_name/%oldver |
105 |
%dir %_sysconfdir/%_name/%oldver |
97 |
%config %_sysconfdir/%_name/%oldver/* |
106 |
%config %_sysconfdir/%_name/%oldver/* |
98 |
%_bindir/* |
107 |
%_bindir/* |
|
|
108 |
%exclude %_bindir/gimptool-%oldver |
99 |
%_libdir/%_name/%oldver/plug-ins |
109 |
%_libdir/%_name/%oldver/plug-ins |
100 |
%_datadir/%_name |
110 |
%_datadir/%_name |
101 |
%_mandir/man1/* |
111 |
%_mandir/man1/* |
Lines 112-117
find %buildroot%_libdir -name "*.la" | x
Link Here
|
112 |
|
122 |
|
113 |
%files -n lib%name-devel |
123 |
%files -n lib%name-devel |
114 |
%doc %_datadir/gtk-doc/html/* |
124 |
%doc %_datadir/gtk-doc/html/* |
|
|
125 |
%_bindir/gimptool-%oldver |
115 |
%_includedir/* |
126 |
%_includedir/* |
116 |
%_libdir/*.so |
127 |
%_libdir/*.so |
117 |
%dir %_libdir/%_name |
128 |
%dir %_libdir/%_name |
Lines 122-127
find %buildroot%_libdir -name "*.la" | x
Link Here
|
122 |
%_mandir/man5/* |
133 |
%_mandir/man5/* |
123 |
|
134 |
|
124 |
%changelog |
135 |
%changelog |
|
|
136 |
* Sun Dec 03 2006 L.A. Kostis <lakostis@altlinux.ru> 2.2.13-alt2 |
137 |
- NMU: |
138 |
+ enable mmx and sse opt for %%ix86 with hack from opensuse |
139 |
+ move gimptool to -devel subpackage (closes #9955). |
140 |
|
125 |
* Mon Oct 23 2006 Anatoly Yakushin <jaa@altlinux.ru> 2.2.13-alt1 |
141 |
* Mon Oct 23 2006 Anatoly Yakushin <jaa@altlinux.ru> 2.2.13-alt1 |
126 |
- 2.2.13 |
142 |
- 2.2.13 |
127 |
|
143 |
|