]> git.pld-linux.org Git - packages/WideStudio.git/blob - WideStudio.spec
- some pl translations, cosmetics
[packages/WideStudio.git] / WideStudio.spec
1 %define         ver             3.20
2 %define         rel             4
3
4 Summary:        WideStudio Application Builder
5 Summary(ja):    WideStudio ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥Ó¥ë¥À
6 Summary(pl):    WideStudio - ¶rodowisko do budowania aplikacji
7 Name:           WideStudio
8 Version:        %{ver}.%{rel}
9 Release:        1
10 License:        BSD
11 Group:          X11/Development/Tools
12 Source0:        http://dl.sf.net/widestudio/ws-v%{ver}-%{rel}-src.tar.gz
13 # Source0-md5:  2a360360f146d1b022db8410010917b8
14 Source1:        http://dl.sf.net/widestudio/WSClassReference-je.pdf
15 # Source1-md5:  ad329917e61fbf28f1c60b17243f45bd
16 Source2:        http://dl.sf.net/widestudio/WSProgrammingGuide-ee.pdf
17 # Source2-md5:  57018c9330b9779b2d99b6b39b28522c
18 Source3:        http://dl.sf.net/widestudio/WSProgrammingGuide-je.pdf
19 # Source3-md5:  02ac28043c0c3c283de8839c357b0490
20 Source4:        http://dl.sf.net/widestudio/WSUsersGuide-ee.pdf
21 # Source4-md5:  976d79e1217c0a1b3711581cd028eb71
22 Source5:        http://dl.sf.net/widestudio/WSUsersGuide-je.pdf
23 # Source5-md5:  4338a9fdb505521bdc9ada0d28d155f6
24 Source6:        http://dl.sf.net/widestudio/WSclassReference-en.pdf
25 # Source6-md5:  6b643a84e05872451437f155894298d7
26 Source7:        http://dl.sf.net/widestudio/WSprogrammingGuide-en.pdf
27 # Source7-md5:  a4d598200abf4b805d3cfb64066a355b
28 Source8:        http://dl.sf.net/widestudio/WSprogrammingGuide-jp.pdf
29 # Source8-md5:  bca138add0ee623486558de91b68d7ea
30 Source9:        http://dl.sf.net/widestudio/WSquickReference-en.pdf
31 # Source9-md5:  4cfdfc6ac0906fffd12efa79ee4825fa
32 Source10:       http://dl.sf.net/widestudio/WSuoTutorial1-ee.pdf
33 # Source10-md5: 4cdb925d3033abd4a93f8e423a1f28f4
34 Source11:       http://dl.sf.net/widestudio/WSuoTutorial2-en.pdf
35 # Source11-md5: 221161ca6c400227ba1b8590aeb9ba5a
36 Source12:       http://dl.sf.net/widestudio/WSusersGUide-en.pdf
37 # Source12-md5: 5234a8290741403ef950bafc120e5c17
38 Source13:       http://dl.sf.net/widestudio/WSusersGuide-jp.pdf             
39 # Source13-md5: a1f8686f942a8d555e9cab6b3a8d40fb
40 Patch0:         %{name}-paths.patch
41 URL:            http://www.widestudio.org/
42 BuildRequires:  XFree86-devel
43 BuildRequires:  glut-devel
44 BuildRequires:  libjpeg-devel
45 BuildRequires:  libpng-devel
46 BuildRequires:  mysql-devel
47 BuildRequires:  perl-devel
48 BuildRequires:  postgresql-devel
49 BuildRequires:  python-devel
50 BuildRequires:  ruby
51 BuildRequires:  unixODBC-devel
52 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53
54 %description
55 WideStudio is an integrated development environment(IDE) to build GUI
56 applications for Linux, FreeBSD, Solaris, Windows95/98/ME, Windows NT,
57 Win2K.
58
59 %description -l ja
60 WideStudio¤Ï¡¢Windows95,98,WindowsNT,Windows2000,Linux,FreeBSD,SOLARIS
61 ¾å¤ÇÆ°ºî¤¹¤ë¡¢C/C++¤Î½ã¹ñ»º¤Î´°Á´¥Õ¥ê¡¼¤Î¥¦¥£¥ó¥É¥¦¥¢¥×¥ê¥±¡¼¥·¥ç¥óÅý¹ç³«È¯´Ä¶­¤Ç¤¹¡£
62
63 %description -l pl
64 WideStudio jest zintegrowanym ¶rodowiskiem programistycznym (IDE) do
65 tworzenia aplikacji z graficznym interfejsem u¿utkownika (GUI) pod
66 Linuksa, FreeBSD, Solarisa, Windows95/98/ME, Windows NT i Win2K.
67
68 %package pdfdoc
69 Summary:        WideStudio documentation
70 Summary(pl):    Dokumentacja do WideStudio
71 Group:          X11/Development/Tools
72
73 %description pdfdoc
74 WideStudio documentation.
75
76 %description pdfdoc -l pl
77 Dokumentacja do WideStudio.
78
79 %package opengl
80 Summary:        WideStudio OpenGL library
81 Summary(ja):    WideStudio OpenGL ¥é¥¤¥Ö¥é¥ê
82 Summary(pl):    Biblioteka OpenGL do WideStudio
83 Group:          X11/Development/Tools
84 Requires:       %{name} = %{version}-%{release}
85 Requires:       glut-devel
86
87 %description opengl
88 The WideStudio-opengl package provides library for OpenGL.
89
90 %description opengl -l ja
91 WideStudio-opengl¤Ï¡¢OpenGLÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
92
93 %description opengl -l pl
94 Pakiet WideStudio-opengl dostarcza bibliotekê do OpenGL.
95
96 %package mysql
97 Summary:        WideStudio MySQL library
98 Summary(ja):    WideStudio MySQL ¥é¥¤¥Ö¥é¥ê
99 Summary(pl):    Biblioteka MySQL do WideStudio
100 Group:          X11/Development/Tools
101 Requires:       %{name} = %{version}-%{release}
102 Requires:       mysql-devel
103
104 %description mysql
105 The WideStudio-mysql package provides library for MySQL.
106
107 %description mysql -l ja
108 WideStudio-mysql¤Ï¡¢MySQLÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
109
110 %description mysql -l pl
111 Pakiet WideStudio-mysql dostarcza bibliotekê do MySQL.
112
113 %package postgresql
114 Summary:        WideStudio PostgreSQL library
115 Summary(ja):    WideStudio PostgreSQL ¥é¥¤¥Ö¥é¥ê
116 Summary(pl):    Biblioteka PostgreSQL do Widestudio
117 Group:          X11/Development/Tools
118 Requires:       %{name} = %{version}-%{release}
119 Requires:       postgresql-devel
120
121 %description postgresql
122 The WideStudio-postgresql package provides library for PostgreSQL.
123
124 %description postgresql -l ja
125 WideStudio-postgresql¤Ï¡¢PostgreSQLÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
126
127 %description postgresql -l pl
128 Pakiet WideStudio-postgresql dostarcza bibliotekê do PostgreSQL.
129
130 %package unixodbc
131 Summary:        WideStudio unixODBC library
132 Summary(ja):    WideStudio unixODBC ¥é¥¤¥Ö¥é¥ê
133 Summary(pl):    Biblioteka unixODBC do WideStudio
134 Group:          X11/Development/Tools
135 Requires:       %{name} = %{version}-%{release}
136 Requires:       unixODBC-devel
137
138 %description unixodbc
139 The WideStudio-unixodbc package provides library for unixODBC.
140
141 %description unixodbc -l ja
142 WideStudio-unixodbc¤Ï¡¢unixODBCÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
143
144 %description unixodbc -l pl
145 Pakiet WideStudio-unixodbc dostarcza bibliotekê do unixODBC.
146
147 %package python
148 Summary:        WideStudio python library
149 Summary(ja):    WideStudio python ¥é¥¤¥Ö¥é¥ê
150 Summary(pl):    Biblioteka python do WideStudio
151 Group:          X11/Development/Tools
152 Requires:       %{name} = %{version}-%{release}
153 Requires:       python
154
155 %description python
156 The WideStudio-python package provides library for python.
157
158 %description python -l ja
159 WideStudio-python¤Ï¡¢pythonÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
160
161 %description python -l pl
162 Pakiet WideStudio-python dostarcza bibliotekê do pythona.
163
164 %package ruby
165 Summary:        WideStudio ruby library
166 Summary(ja):    WideStudio ruby ¥é¥¤¥Ö¥é¥ê
167 Summary(pl):    Biblioteka ruby do WideStudio
168 Group:          X11/Development/Tools
169 Requires:       %{name} = %{version}-%{release}
170 Requires:       ruby
171
172 %description ruby
173 The WideStudio-ruby package provides library for ruby.
174
175 %description ruby -l ja
176 WideStudio-ruby¤Ï¡¢rubyÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
177
178 %description ruby -l pl
179 Pakiet WideStudio-ruby dostarcza bibliotekê do ruby'ego.
180
181 %package perl
182 Summary:        WideStudio perl library
183 Summary(ja):    WideStudio perl ¥é¥¤¥Ö¥é¥ê
184 Summary(pl):    Biblioteka perl do WideStudio
185 Group:          Development/Tools
186 Requires:       %{name} = %{version}-%{release}
187 Requires:       perl
188
189 %description perl
190 The WideStudio-perl package provides library for perl.
191
192 %description perl -l ja
193 WideStudio-perl¤Ï¡¢perlÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
194
195 %description perl -l pl
196 Pakiet WideStudio-perl dostarcza bibliotekê do perla.
197
198 %prep
199 %setup -q -n ws-v%{ver}-%{rel}
200 %patch0 -p1
201 cp %{SOURCE1} .
202 cp %{SOURCE2} .
203 cp %{SOURCE3} .
204 cp %{SOURCE4} .
205 cp %{SOURCE5} .
206 cp %{SOURCE6} .
207 cp %{SOURCE7} .
208 cp %{SOURCE8} .
209 cp %{SOURCE9} .
210 cp %{SOURCE10} .
211 cp %{SOURCE11} .
212 cp %{SOURCE12} .
213 cp %{SOURCE13} .
214
215 %build
216 CXXFLAGS="%{rpmcflags}" ./configure
217 %{__make} runtime \
218         WS_DEFAULT_DIR=%{_datadir}/ws 
219 %{__make} debug \
220         WS_DEFAULT_DIR=%{_datadir}/ws
221
222 %install
223 rm -rf $RPM_BUILD_ROOT
224 install -d $RPM_BUILD_ROOT{%{_datadir}/ws,%{_bindir},%{_libdir},%{_includedir}/ws}
225
226 cp bin/* $RPM_BUILD_ROOT%{_bindir}
227 rm -f $RPM_BUILD_ROOT%{_datadir}/ws/bin/.gdb_history
228 cp lib/* $RPM_BUILD_ROOT%{_libdir}
229 cp -a doc samples sys $RPM_BUILD_ROOT%{_datadir}/ws
230 cp -a include/* $RPM_BUILD_ROOT%{_includedir}/ws
231
232 ln -sf %{_includedir}/ws $RPM_BUILD_ROOT%{_datadir}/ws/include
233 ln -sf %{_bindir} $RPM_BUILD_ROOT%{_datadir}/ws/bin
234 ln -sf %{_libdir} $RPM_BUILD_ROOT%{_datadir}/ws/lib
235
236 %clean
237 rm -rf $RPM_BUILD_ROOT
238
239 %files
240 %defattr(644,root,root,755)
241 %doc COPYRIGHT Changelog README README.eucjp
242 %attr(755,root,root) %{_bindir}/*
243 %attr(755,root,root) %{_libdir}/jpg.so
244 %attr(755,root,root) %{_libdir}/libws.so*
245 %attr(755,root,root) %{_libdir}/libwsad.so*
246 %attr(755,root,root) %{_libdir}/libwsadd.so*
247 %attr(755,root,root) %{_libdir}/libwsb.so*
248 %attr(755,root,root) %{_libdir}/libwsbd.so*
249 %attr(755,root,root) %{_libdir}/libwsd.so*
250 %attr(755,root,root) %{_libdir}/libwsj3w.so*
251 %attr(755,root,root) %{_libdir}/libwsj3wd.so*
252 %attr(755,root,root) %{_libdir}/libwsr.so*
253 %attr(755,root,root) %{_libdir}/libwsrd.so*
254 %attr(755,root,root) %{_libdir}/libwsx11.so*
255 %attr(755,root,root) %{_libdir}/libwsx11d.so*
256 %attr(755,root,root) %{_libdir}/png.so
257 %attr(755,root,root) %{_libdir}/xpm.so
258 %dir %{_datadir}/ws
259 %{_datadir}/ws/bin
260 %{_datadir}/ws/lib
261 %{_datadir}/ws/include
262 %{_datadir}/ws/doc
263 %dir %{_datadir}/ws/samples
264 %{_datadir}/ws/samples/C
265 %{_datadir}/ws/samples/class
266 %{_datadir}/ws/samples/EUCJP
267 %{_datadir}/ws/samples/graphics
268 %{_datadir}/ws/samples/net
269 %{_datadir}/ws/samples/print
270 %{_datadir}/ws/samples/remote_instance
271 %{_datadir}/ws/samples/README
272 %{_datadir}/ws/samples/share
273 %{_datadir}/ws/samples/SJIS
274 %{_datadir}/ws/samples/UTF8
275 %{_datadir}/ws/samples/UTF8-JP
276 %{_datadir}/ws/sys
277 %{_includedir}/ws
278
279 %files pdfdoc
280 %defattr(644,root,root,755)
281 %doc *.pdf
282
283 %files opengl
284 %defattr(644,root,root,755)
285 %attr(755,root,root) %{_libdir}/libwsopengl.so*
286 %attr(755,root,root) %{_libdir}/libwsopengld.so*
287
288 %files mysql
289 %defattr(644,root,root,755)
290 %attr(755,root,root) %{_libdir}/libwsmysql.so*
291 %attr(755,root,root) %{_libdir}/libwsmysqld.so*
292
293 %files postgresql
294 %defattr(644,root,root,755)
295 %attr(755,root,root) %{_libdir}/libwspostgres.so*
296 %attr(755,root,root) %{_libdir}/libwspostgresd.so*
297
298 %files unixodbc
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_libdir}/libwsodbc.so*
301 %attr(755,root,root) %{_libdir}/libwsodbcd.so*
302 %{_datadir}/ws/samples/database
303
304 %files python
305 %defattr(644,root,root,755)
306 %attr(755,root,root) %{_libdir}/_mpfcmodule.so
307 %{_libdir}/mpfc.py
308 %{_datadir}/ws/samples/Python
309
310 %files ruby
311 %defattr(644,root,root,755)
312 %attr(755,root,root) %{_libdir}/mpfc.so
313 %{_datadir}/ws/samples/Ruby
314
315 %files perl
316 %defattr(644,root,root,755)
317 %attr(755,root,root) %{_libdir}/mpfc_perl.so
318 %{_libdir}/mpfc.pm
319 %{_datadir}/ws/samples/Perl
This page took 0.082699 seconds and 3 git commands to generate.