]> git.pld-linux.org Git - packages/WideStudio.git/blob - WideStudio.spec
c9f95fa8b5baa416233c048a1e87eb54b7ce7b32
[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 %package pdfdoc
64 Summary:        WideStudio documentation
65 Summary(pl):    Dokumentacja do WideStudio
66 Group:          X11/Development/Tools
67
68 %description pdfdoc
69 WideStudio documentation.
70
71 %description pdfdoc -l pl
72 Dokumentacja do WideStudio.
73
74 %package opengl
75 Summary:        WideStudio OpenGL library
76 Summary(ja):    WideStudio OpenGL ¥é¥¤¥Ö¥é¥ê
77 Summary(pl):    Biblioteka OpenGL do WideStudio
78 Group:          X11/Development/Tools
79 Requires:       %{name} = %{version}-%{release}
80 Requires:       glut-devel
81
82 %description opengl
83 The WideStudio-opengl package provides library for OpenGL.
84
85 %description opengl -l ja
86 WideStudio-opengl¤Ï¡¢OpenGLÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
87
88 %description opengl -l pl
89 Pakiet WideStudio-opengl dostarcza bibliotekê do OpenGL.
90
91 %package mysql
92 Summary:        WideStudio MySQL library
93 Summary(ja):    WideStudio MySQL ¥é¥¤¥Ö¥é¥ê
94 Summary(pl):    Biblioteka MySQL do WideStudio
95 Group:          X11/Development/Tools
96 Requires:       %{name} = %{version}-%{release}
97 Requires:       mysql-devel
98
99 %description mysql
100 The WideStudio-mysql package provides library for MySQL.
101
102 %description mysql -l ja
103 WideStudio-mysql¤Ï¡¢MySQLÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
104
105 %description mysql -l pl
106 Pakiet WideStudio-mysql dostarcza bibliotekê do MySQL.
107
108 %package postgresql
109 Summary:        WideStudio PostgreSQL library
110 Summary(ja):    WideStudio PostgreSQL ¥é¥¤¥Ö¥é¥ê
111 Summary(pl):    Biblioteka PostgreSQL do Widestudio
112 Group:          X11/Development/Tools
113 Requires:       %{name} = %{version}-%{release}
114 Requires:       postgresql-devel
115
116 %description postgresql
117 The WideStudio-postgresql package provides library for PostgreSQL.
118
119 %description postgresql -l ja
120 WideStudio-postgresql¤Ï¡¢PostgreSQLÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
121
122 %description postgresql -l pl
123 Pakiet WideStudio-postgresql dostarcza bibliotekê do PostgreSQL.
124
125 %package unixodbc
126 Summary:        WideStudio unixODBC library
127 Summary(ja):    WideStudio unixODBC ¥é¥¤¥Ö¥é¥ê
128 Summary(pl):    Biblioteka unixODBC do WideStudio
129 Group:          X11/Development/Tools
130 Requires:       %{name} = %{version}-%{release}
131 Requires:       unixODBC-devel
132
133 %description unixodbc
134 The WideStudio-unixodbc package provides library for unixODBC.
135
136 %description unixodbc -l ja
137 WideStudio-unixodbc¤Ï¡¢unixODBCÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
138
139 %description unixodbc -l pl
140 Pakiet WideStudio-unixodbc dostarcza bibliotekê do unixODBC.
141
142 %package python
143 Summary:        WideStudio python library
144 Summary(ja):    WideStudio python ¥é¥¤¥Ö¥é¥ê
145 Summary(pl):    Biblioteka python do WideStudio
146 Group:          X11/Development/Tools
147 Requires:       %{name} = %{version}-%{release}
148 Requires:       python
149
150 %description python
151 The WideStudio-python package provides library for python.
152
153 %description python -l ja
154 WideStudio-python¤Ï¡¢pythonÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
155
156 %description python -l pl
157 Pakiet WideStudio-python dostarcza bibliotekê do pythona.
158
159 %package ruby
160 Summary:        WideStudio ruby library
161 Summary(ja):    WideStudio ruby ¥é¥¤¥Ö¥é¥ê
162 Summary(pl):    Biblioteka ruby do WideStudio
163 Group:          X11/Development/Tools
164 Requires:       %{name} = %{version}-%{release}
165 Requires:       ruby
166
167 %description ruby
168 The WideStudio-ruby package provides library for ruby.
169
170 %description ruby -l ja
171 WideStudio-ruby¤Ï¡¢rubyÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
172
173 %description ruby -l pl
174 Pakiet WideStudio-ruby dostarcza bibliotekê do ruby'ego.
175
176 %package perl
177 Summary:        WideStudio perl library
178 Summary(ja):    WideStudio perl ¥é¥¤¥Ö¥é¥ê
179 Summary(pl):    Biblioteka perl do WideStudio
180 Group:          Development/Tools
181 Requires:       %{name} = %{version}-%{release}
182 Requires:       perl
183
184 %description perl
185 The WideStudio-perl package provides library for perl.
186
187 %description perl -l ja
188 WideStudio-perl¤Ï¡¢perlÍѤΥ饤¥Ö¥é¥ê¤òÄ󶡤·¤Þ¤¹¡£
189
190 %description perl -l pl
191 Pakiet WideStudio-perl dostarcza bibliotekê do perla.
192
193 %prep
194 %setup -q -n ws-v%{ver}-%{rel}
195 %patch0 -p1
196 cp %{SOURCE1} .
197 cp %{SOURCE2} .
198 cp %{SOURCE3} .
199 cp %{SOURCE4} .
200 cp %{SOURCE5} .
201 cp %{SOURCE6} .
202 cp %{SOURCE7} .
203 cp %{SOURCE8} .
204 cp %{SOURCE9} .
205 cp %{SOURCE10} .
206 cp %{SOURCE11} .
207 cp %{SOURCE12} .
208 cp %{SOURCE13} .
209
210 %build
211 CXXFLAGS="%{rpmcflags}" ./configure
212 %{__make} runtime \
213         WS_DEFAULT_DIR=%{_datadir}/ws 
214 %{__make} debug \
215         WS_DEFAULT_DIR=%{_datadir}/ws
216
217 %install
218 rm -rf $RPM_BUILD_ROOT
219 install -d $RPM_BUILD_ROOT{%{_datadir}/ws,%{_bindir},%{_libdir},%{_includedir}/ws}
220
221 cp bin/* $RPM_BUILD_ROOT%{_bindir}
222 rm -f $RPM_BUILD_ROOT%{_datadir}/ws/bin/.gdb_history
223 cp lib/* $RPM_BUILD_ROOT%{_libdir}
224 cp -a doc samples sys $RPM_BUILD_ROOT%{_datadir}/ws
225 cp -a include/* $RPM_BUILD_ROOT%{_includedir}/ws
226
227 ln -sf %{_includedir}/ws $RPM_BUILD_ROOT%{_datadir}/ws/include
228 ln -sf %{_bindir} $RPM_BUILD_ROOT%{_datadir}/ws/bin
229 ln -sf %{_libdir} $RPM_BUILD_ROOT%{_datadir}/ws/lib
230
231 %clean
232 rm -rf $RPM_BUILD_ROOT
233
234 %files
235 %defattr(644,root,root,755)
236 %doc COPYRIGHT Changelog README README.eucjp
237 %attr(755,root,root) %{_bindir}/*
238 %attr(755,root,root) %{_libdir}/jpg.so
239 %attr(755,root,root) %{_libdir}/libws.so*
240 %attr(755,root,root) %{_libdir}/libwsad.so*
241 %attr(755,root,root) %{_libdir}/libwsadd.so*
242 %attr(755,root,root) %{_libdir}/libwsb.so*
243 %attr(755,root,root) %{_libdir}/libwsbd.so*
244 %attr(755,root,root) %{_libdir}/libwsd.so*
245 %attr(755,root,root) %{_libdir}/libwsj3w.so*
246 %attr(755,root,root) %{_libdir}/libwsj3wd.so*
247 %attr(755,root,root) %{_libdir}/libwsr.so*
248 %attr(755,root,root) %{_libdir}/libwsrd.so*
249 %attr(755,root,root) %{_libdir}/libwsx11.so*
250 %attr(755,root,root) %{_libdir}/libwsx11d.so*
251 %attr(755,root,root) %{_libdir}/png.so
252 %attr(755,root,root) %{_libdir}/xpm.so
253 %dir %{_datadir}/ws
254 %{_datadir}/ws/bin
255 %{_datadir}/ws/lib
256 %{_datadir}/ws/include
257 %{_datadir}/ws/doc
258 %dir %{_datadir}/ws/samples
259 %{_datadir}/ws/samples/C
260 %{_datadir}/ws/samples/class
261 %{_datadir}/ws/samples/EUCJP
262 %{_datadir}/ws/samples/graphics
263 %{_datadir}/ws/samples/net
264 %{_datadir}/ws/samples/print
265 %{_datadir}/ws/samples/remote_instance
266 %{_datadir}/ws/samples/README
267 %{_datadir}/ws/samples/share
268 %{_datadir}/ws/samples/SJIS
269 %{_datadir}/ws/samples/UTF8
270 %{_datadir}/ws/samples/UTF8-JP
271 %{_datadir}/ws/sys
272 %{_includedir}/ws
273
274 %files pdfdoc
275 %defattr(644,root,root,755)
276 %doc *.pdf
277
278 %files opengl
279 %defattr(644,root,root,755)
280 %attr(755,root,root) %{_libdir}/libwsopengl.so*
281 %attr(755,root,root) %{_libdir}/libwsopengld.so*
282
283 %files mysql
284 %defattr(644,root,root,755)
285 %attr(755,root,root) %{_libdir}/libwsmysql.so*
286 %attr(755,root,root) %{_libdir}/libwsmysqld.so*
287
288 %files postgresql
289 %defattr(644,root,root,755)
290 %attr(755,root,root) %{_libdir}/libwspostgres.so*
291 %attr(755,root,root) %{_libdir}/libwspostgresd.so*
292
293 %files unixodbc
294 %defattr(644,root,root,755)
295 %attr(755,root,root) %{_libdir}/libwsodbc.so*
296 %attr(755,root,root) %{_libdir}/libwsodbcd.so*
297 %{_datadir}/ws/samples/database
298
299 %files python
300 %defattr(644,root,root,755)
301 %attr(755,root,root) %{_libdir}/_mpfcmodule.so
302 %{_libdir}/mpfc.py
303 %{_datadir}/ws/samples/Python
304
305 %files ruby
306 %defattr(644,root,root,755)
307 %attr(755,root,root) %{_libdir}/mpfc.so
308 %{_datadir}/ws/samples/Ruby
309
310 %files perl
311 %defattr(644,root,root,755)
312 %attr(755,root,root) %{_libdir}/mpfc_perl.so
313 %{_libdir}/mpfc.pm
314 %{_datadir}/ws/samples/Perl
This page took 0.135179 seconds and 3 git commands to generate.