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