1 | %define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo 4.8.6) |
---|
2 | |
---|
3 | %global ruby_vendorlib %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]') |
---|
4 | %global ruby_vendorarch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorarchdir"]') |
---|
5 | |
---|
6 | Name: QtRuby |
---|
7 | Summary: Ruby bindings for Qt4 |
---|
8 | Summary(ja): Qt4 の Ruby バインディング |
---|
9 | Version: 4.14.3 |
---|
10 | Release: 1%{?_dist_release} |
---|
11 | |
---|
12 | License: LGPLv2+ and GPLv2+ |
---|
13 | Group: System Environment/Libraries |
---|
14 | URL: https://techbase.kde.org/Development/Languages/Ruby |
---|
15 | |
---|
16 | Source0: http://download.kde.org/stable/%{version}/src/qtruby-%{version}.tar.xz |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | BuildRequires: cmake |
---|
20 | BuildRequires: phonon-devel |
---|
21 | BuildRequires: qimageblitz-devel |
---|
22 | BuildRequires: qt4-devel |
---|
23 | BuildRequires: qscintilla-devel |
---|
24 | BuildRequires: qwt-qt4-devel |
---|
25 | BuildRequires: ruby-devel >= 1.8 |
---|
26 | BuildRequires: smokeqt-devel >= %{version} |
---|
27 | |
---|
28 | # common name some other distros use |
---|
29 | Provides: ruby-qt = %{version}-%{release} |
---|
30 | |
---|
31 | Requires: qt4 >= %{_qt4_version} |
---|
32 | Requires: ruby >= 1.8 |
---|
33 | Requires: smokeqt >= %{version} |
---|
34 | |
---|
35 | %description |
---|
36 | %{summary}. |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development libraries for %{name} |
---|
40 | Summary(ja): %{name} の開発用ファイル |
---|
41 | Group: Development/Libraries |
---|
42 | Requires: %{name} = %{version}-%{release} |
---|
43 | Provides: ruby-qt-devel = %{version}-%{release} |
---|
44 | |
---|
45 | %description devel |
---|
46 | This package contains development files for the Ruby bindings |
---|
47 | for the Qt libraries. |
---|
48 | |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q -n qtruby-%{version} |
---|
52 | |
---|
53 | |
---|
54 | %build |
---|
55 | mkdir -p %{_target_platform} |
---|
56 | pushd %{_target_platform} |
---|
57 | |
---|
58 | %cmake \ |
---|
59 | -DCUSTOM_RUBY_SITE_ARCH_DIR:PATH=%{ruby_vendorarch} \ |
---|
60 | -DCUSTOM_RUBY_SITE_LIB_DIR:PATH=%{ruby_vendorlib} \ |
---|
61 | .. |
---|
62 | popd |
---|
63 | |
---|
64 | make %{?_smp_mflags} -C %{_target_platform} |
---|
65 | |
---|
66 | |
---|
67 | %install |
---|
68 | rm -rf $RPM_BUILD_ROOT |
---|
69 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
70 | |
---|
71 | |
---|
72 | %post -p /sbin/ldconfig |
---|
73 | %postun -p /sbin/ldconfig |
---|
74 | |
---|
75 | %clean |
---|
76 | rm -rf $RPM_BUILD_ROOT |
---|
77 | |
---|
78 | %files |
---|
79 | %defattr(-,root,root,-) |
---|
80 | %doc AUTHORS COPYING COPYING.LIB README |
---|
81 | %{_libdir}/libqtruby4shared.so.* |
---|
82 | %{ruby_vendorlib}/Qt*.rb |
---|
83 | %{ruby_vendorlib}/Qt/ |
---|
84 | %{ruby_vendorlib}/phonon/ |
---|
85 | %{ruby_vendorlib}/qscintilla/ |
---|
86 | %{ruby_vendorlib}/qtdeclarative/ |
---|
87 | %{ruby_vendorlib}/qtscript/ |
---|
88 | %{ruby_vendorlib}/qttest/ |
---|
89 | %{ruby_vendorlib}/qtuitools/ |
---|
90 | %{ruby_vendorlib}/qtwebkit/ |
---|
91 | %{ruby_vendorlib}/qwt/ |
---|
92 | %{ruby_vendorarch}/*.so |
---|
93 | |
---|
94 | %files devel |
---|
95 | %defattr(-,root,root,-) |
---|
96 | %{_bindir}/rbqtapi |
---|
97 | %{_bindir}/rbrcc |
---|
98 | %{_bindir}/rbuic4 |
---|
99 | %{_includedir}/qtruby |
---|
100 | %{_libdir}/libqtruby4shared.so |
---|
101 | %{_datadir}/qtruby4 |
---|
102 | |
---|
103 | %changelog |
---|
104 | * Sun Jan 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.14.3-1 |
---|
105 | - updated to 4.14.3 |
---|
106 | |
---|
107 | * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.14.2-2 |
---|
108 | - installed modules to vendor_ruby |
---|
109 | - fixed URL |
---|
110 | |
---|
111 | * Sun Nov 9 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.14.2-1 |
---|
112 | - splitted from kdebindings |
---|
113 | |
---|
114 | * Thu Jun 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Thu Apr 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1 |
---|
118 | - updated to 4.6.1 |
---|
119 | - added BR: kdesdk-devel |
---|
120 | - disabled attica plugins temporaly |
---|
121 | - rebuilt with mono-2.10.1 |
---|
122 | |
---|
123 | * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-2 |
---|
124 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
125 | |
---|
126 | * Sat Sep 18 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1 |
---|
127 | - new upstream release |
---|
128 | - added Patch50 |
---|
129 | - added more japanese summaries |
---|
130 | |
---|
131 | * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sun Jul 4 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.5-1 |
---|
135 | - new upstream release |
---|
136 | |
---|
137 | * Fri May 7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Thu Apr 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.2-1 |
---|
141 | - new upstream release |
---|
142 | |
---|
143 | * Tue Mar 9 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1 |
---|
144 | - new upstream release |
---|
145 | - added -DCMAKE_SKIP_RPATH:BOOL=OFF option to cmake |
---|
146 | (see https://bugs.kde.org/show_bug.cgi?id=214824) |
---|
147 | - built with new toolchain |
---|
148 | |
---|
149 | * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1 |
---|
150 | - new upstream release |
---|
151 | |
---|
152 | * Thu Oct 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-4 |
---|
153 | - merged 4.3.1-2 %changelog |
---|
154 | - re-define %%{mono_dir} to %{_prefix}/lib/mono (again) |
---|
155 | |
---|
156 | * Tue Oct 27 2009 Shu KONNO <owa@bg.wakwak.com> 4.3.2-3 |
---|
157 | - use %%{_prefix}/lib for mono-dll (for x86_64) |
---|
158 | |
---|
159 | * Tue Oct 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-2 |
---|
160 | - new upstream release |
---|
161 | - built with PyQt4-4.6 |
---|
162 | |
---|
163 | * Sun Sep 06 2009 NAKAMURA Kenta <kenta@vinelinux.org> 4.3.1-2 |
---|
164 | - define %%{mono_dir} to specify mono library install path |
---|
165 | |
---|
166 | * Sun Sep 6 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1 |
---|
167 | - new upstream release |
---|
168 | - fixed ruby modules installation path |
---|
169 | |
---|
170 | * Thu Aug 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1 |
---|
171 | - new upstream release |
---|
172 | - spilt sub package based on Fedora |
---|
173 | |
---|
174 | * Mon May 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1 |
---|
175 | - applied new versioning policy |
---|
176 | - added Patch1 |
---|
177 | (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484191) |
---|
178 | |
---|
179 | * Fri Nov 23 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8-0vl3 |
---|
180 | - added --with-qt-libraries option |
---|
181 | |
---|
182 | * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2 |
---|
183 | - rebuild for VineSeed |
---|
184 | |
---|
185 | * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1 |
---|
186 | - new upstream release |
---|
187 | |
---|
188 | * Mon Jun 25 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2 |
---|
189 | - rebuild for VineSeed |
---|
190 | |
---|
191 | * Thu May 31 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1 |
---|
192 | - new upstream release |
---|
193 | - update Patch0 |
---|
194 | - drop Patch1 |
---|
195 | |
---|
196 | * Mon Jan 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.6-0vl1 |
---|
197 | - new upstream release |
---|
198 | - add Patch1 |
---|
199 | - add --enable-libsuffix option |
---|
200 | |
---|
201 | * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2 |
---|
202 | - rebuild for VineSeed |
---|
203 | |
---|
204 | * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1 |
---|
205 | - new upstream release |
---|
206 | |
---|
207 | * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2 |
---|
208 | - rebuild for VineSeed |
---|
209 | |
---|
210 | * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1 |
---|
211 | - new upstream release |
---|
212 | |
---|
213 | * Thu Jun 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2 |
---|
214 | - rebuild for VineSeed |
---|
215 | |
---|
216 | * Thu Jun 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1 |
---|
217 | - new upstream release |
---|
218 | |
---|
219 | * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2 |
---|
220 | - rebuild for VineSeed |
---|
221 | |
---|
222 | * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1 |
---|
223 | - new upstream release |
---|
224 | |
---|
225 | * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2 |
---|
226 | - rebuild for VineSeed |
---|
227 | |
---|
228 | * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1 |
---|
229 | - new upstream release |
---|
230 | - renew BuildPrereq and build section |
---|
231 | - renew %%files |
---|
232 | - enable python |
---|
233 | - change spec to make main and devel package |
---|
234 | - add BuildPrereq: ruby ruby-devel |
---|
235 | - add Patch0 to install ruby-bindings under /usr/lib/ruby |
---|
236 | |
---|
237 | * Sun Mar 17 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.2.2-1vl1 |
---|
238 | - build for VineSeed |
---|
239 | - disable python and mozilla |
---|
240 | - objprelink (i386 only) |
---|
241 | |
---|
242 | * Wed Nov 21 2001 Than Ngo <than@redhat.com> <bero@redhat.com> 2.2.2-1 |
---|
243 | - 2.2.2 |
---|
244 | - build kmozilla binding only on x86/alpha |
---|
245 | |
---|
246 | * Thu Aug 9 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-2 |
---|
247 | - Make sure %%{name}-kmozilla isn't built on ia64 |
---|
248 | |
---|
249 | * Mon Jul 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010723.2 |
---|
250 | - Move python bindings to separate package |
---|
251 | - Add perl bindings |
---|
252 | - Shut up rpmlint |
---|
253 | |
---|
254 | * Wed Feb 21 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
255 | - 2.1 |
---|
256 | |
---|
257 | * Sun Jan 28 2001 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
258 | - initial RPM |
---|