|
Lines 9-15
Link Here
|
| 9 |
|
9 |
|
| 10 |
Name: wxGTK%ucode |
10 |
Name: wxGTK%ucode |
| 11 |
Version: %wxbranch.2 |
11 |
Version: %wxbranch.2 |
| 12 |
Release: alt3.1 |
12 |
Release: alt3.2 |
| 13 |
Serial: 1 |
13 |
Serial: 1 |
| 14 |
|
14 |
|
| 15 |
Summary: The GTK+ port of the wxWidgets library |
15 |
Summary: The GTK+ port of the wxWidgets library |
|
Lines 22-29
Link Here
|
| 22 |
%if "%wxbranch" < "2.5" |
22 |
%if "%wxbranch" < "2.5" |
| 23 |
Patch1: wxGTK-2.4.1-alt-fonts.patch |
23 |
Patch1: wxGTK-2.4.1-alt-fonts.patch |
| 24 |
Patch2: wxGTK-2.4.2-alt-contribs_for_compile.patch |
24 |
Patch2: wxGTK-2.4.2-alt-contribs_for_compile.patch |
|
|
25 |
Patch3: wxGTK-2.4.2-alt-contrib_utils.patch |
| 25 |
%else |
26 |
%else |
| 26 |
Patch1: wxGTK-2.5.2-alt-contribs_for_compile.patch |
27 |
Patch1: wxGTK-2.5.2-alt-contribs_for_compile.patch |
|
|
28 |
Patch2: wxGTK-2.5.2-alt-contrib_utils.patch |
| 27 |
%endif |
29 |
%endif |
| 28 |
|
30 |
|
| 29 |
Provides: wxwin |
31 |
Provides: wxwin |
|
Lines 103-111
Link Here
|
| 103 |
Requires: %name = %version |
105 |
Requires: %name = %version |
| 104 |
Obsoletes: wxGTK-contrib-xrc |
106 |
Obsoletes: wxGTK-contrib-xrc |
| 105 |
|
107 |
|
|
|
108 |
%package contrib-utils |
| 109 |
Summary: wxWidgets XML Resources |
| 110 |
Group: System/Libraries |
| 111 |
Requires: %name = %version |
| 112 |
Obsoletes: wxGTK-contrib-xrc |
| 113 |
|
| 106 |
%description contrib-xrc |
114 |
%description contrib-xrc |
| 107 |
wxWidgets XML Resources. |
115 |
wxWidgets XML Resources. |
| 108 |
|
116 |
|
|
|
117 |
%description contrib-utils |
| 118 |
Some utils for wxGTK |
| 119 |
|
| 109 |
%package contrib-xrc-devel |
120 |
%package contrib-xrc-devel |
| 110 |
Summary: Development files for wxWidgets XML Resources |
121 |
Summary: Development files for wxWidgets XML Resources |
| 111 |
Group: Development/C++ |
122 |
Group: Development/C++ |
|
Lines 124-131
Link Here
|
| 124 |
%prep |
135 |
%prep |
| 125 |
%setup -q -n wxGTK-%version |
136 |
%setup -q -n wxGTK-%version |
| 126 |
%patch1 -p1 |
137 |
%patch1 -p1 |
| 127 |
%if "%wxbranch" < "2.5" |
|
|
| 128 |
%patch2 -p1 |
138 |
%patch2 -p1 |
|
|
139 |
%if "%wxbranch" < "2.5" |
| 140 |
%patch3 -p1 |
| 129 |
%endif |
141 |
%endif |
| 130 |
%__subst 's/wxstd/wxstd%ucode/' src/common/intl.cpp |
142 |
%__subst 's/wxstd/wxstd%ucode/' src/common/intl.cpp |
| 131 |
%__subst 's/wxstd/wxstd%ucode/' locale/Makefile |
143 |
%__subst 's/wxstd/wxstd%ucode/' locale/Makefile |
|
Lines 148-153
Link Here
|
| 148 |
%make_build |
160 |
%make_build |
| 149 |
cd contrib/src |
161 |
cd contrib/src |
| 150 |
%make_build |
162 |
%make_build |
|
|
163 |
cd ../utils |
| 164 |
%make_build |
| 151 |
|
165 |
|
| 152 |
%install |
166 |
%install |
| 153 |
%makeinstall |
167 |
%makeinstall |
|
Lines 164-169
Link Here
|
| 164 |
|
178 |
|
| 165 |
cd contrib/src |
179 |
cd contrib/src |
| 166 |
%makeinstall |
180 |
%makeinstall |
|
|
181 |
cd ../utils |
| 182 |
%__install -p -m644 -D wxrc/wxrc %buildroot%_bindir/wxrc |
| 183 |
%__install -p -m644 -D wxrcedit/wxrcedit %buildroot%_bindir/wxrcedit |
| 167 |
|
184 |
|
| 168 |
%post -p %post_ldconfig |
185 |
%post -p %post_ldconfig |
| 169 |
%postun -p %postun_ldconfig |
186 |
%postun -p %postun_ldconfig |
|
Lines 210-220
Link Here
|
| 210 |
%files contrib-xrc |
227 |
%files contrib-xrc |
| 211 |
%_libdir/libwx_gtk%{ucode}_xrc-%wxbranch.so.* |
228 |
%_libdir/libwx_gtk%{ucode}_xrc-%wxbranch.so.* |
| 212 |
|
229 |
|
|
|
230 |
%files contrib-utils |
| 231 |
%_bindir/* |
| 232 |
|
| 213 |
%files contrib-xrc-devel |
233 |
%files contrib-xrc-devel |
| 214 |
%_libdir/libwx_gtk%{ucode}_xrc-%wxbranch.so |
234 |
%_libdir/libwx_gtk%{ucode}_xrc-%wxbranch.so |
| 215 |
%_includedir/wx/xrc |
235 |
%_includedir/wx/xrc |
| 216 |
|
236 |
|
| 217 |
%changelog |
237 |
%changelog |
|
|
238 |
* Tue Jul 28 2005 Sergei Epiphanov <serpiph@nikiet.ru> 1:2.4.2-alt3.2 |
| 239 |
- Add contrib-utils package |
| 240 |
|
| 218 |
* Tue Jan 18 2005 ALT QA Team Robot <qa-robot@altlinux.org> 1:2.4.2-alt3.1 |
241 |
* Tue Jan 18 2005 ALT QA Team Robot <qa-robot@altlinux.org> 1:2.4.2-alt3.1 |
| 219 |
- Rebuilt with libstdc++.so.6. |
242 |
- Rebuilt with libstdc++.so.6. |
| 220 |
|
243 |
|