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