source: projects/specs/trunk/M/MySQL-ruby/MySQL-ruby-vl.spec @ 9182

Revision 9182, 3.7 KB checked in by inagaki, 6 years ago (diff)

2014-12-22 Ryoichi INAGAKI <ryo1@…>

  • MySQL-ruby, gtkimageview: fixed spec
  • grep, keyutils, ruby-uconv: updated
  • icon-naming-utils: rebuilt


Line 
1%define oname   mysql-ruby
2
3%define rbindir  %(ruby -r rbconfig -e 'print Config::CONFIG["bindir"]')
4%define rlibdir  %(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
5%define rarchdir %(ruby -r rbconfig -e 'print Config::CONFIG["archdir"]')
6%define rdatadir %(ruby -r rbconfig -e 'print Config::CONFIG["datadir"]')
7%define libdir   %(ruby -r rbconfig -e 'print Config::CONFIG["libdir"]')
8%define incdir   %(ruby -r rbconfig -e 'print Config::CONFIG["includedir"]')
9%define mandir   %(ruby -r rbconfig -e 'print Config::CONFIG["mandir"]')
10
11Name: MySQL-ruby
12Summary: mysql module for Ruby
13Summary(ja): Ruby 用の MySQL 拡張モジュール
14Version: 2.8.2
15Release: 4%{?_dist_release}
16
17Group: Development/Libraries
18License: distributable
19URL: http://www.tmtm.org/mysql/ruby/
20
21Source: http://www.tmtm.org/mysql/ruby/%{oname}-%{version}.tar.gz
22BuildRoot: %{_tmppath}/%{name}-%{version}-root
23BuildRequires: ruby
24BuildRequires: ruby-devel >= 1.9.3
25BuildRequires: MySQL-devel
26#Requires:      ruby(abi) = 1.9.1
27Provides:      ruby(mysql) = %{version}
28
29%description
30This is MySQL Ruby API. This have same function as C API.
31
32%description -l ja
33これは MySQL の Ruby API です.MySQL の C API とほぼ同等の機能があります.
34
35%prep
36%setup -q -n %{oname}-%{version}
37
38%build
39export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
40ruby extconf.rb --vendor --with-mysql-config
41make %{?_smp_mflags}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45mkdir -p $RPM_BUILD_ROOT%{_libdir}
46
47# installing binaries ...
48env DESTDIR=$RPM_BUILD_ROOT make install
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%pre
54
55%post
56
57%files
58%defattr(-, root, root)
59%doc COPYING COPYING.ja README.html README_ja.html tommy.css test.rb
60%{ruby_vendorarchdir}/mysql.so
61
62
63%changelog
64* Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.2-4
65- removed Requires: ruby(abi)
66
67* Fri Dec 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.8.2-3
68- rebuild with ruby-2.1.5
69
70* Fri Oct 26 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.2-2
71- rebuild with ruby-1.9.3
72
73* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-1
74- updated to 2.8.2
75- built with MySQL-5.1.56
76
77* Fri May 22 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7.6-2
78- rebuilt with MySQL-5.1.34.
79
80* Thu Sep 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7.6-1vl5
81- new upstream release
82- applied new versioning policy
83- spec in UTF-8
84- built with MySQL-5.0.51a and ruby-1.8.7
85- used --with-mysql-config at configure
86- removed BuildRequires: MySQL-shared
87
88* Wed Nov 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5-0vl3
89- rebuilt with MySQL 5.0.27
90
91* Tue Oct 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5-0vl2
92- rebuilt for Vine Linux 4.0
93
94* Wed Sep 1 2004 Takeyuki FUJIOKA <fuj@rabbix.jp> 2.5-0vl1
95- update mysql-ruby-2.5
96
97* Tue Aug 24 2004 Satoshi MACHINO <machino@vinelinux.org> 2.4.5-0vl1
98- new upstream version (mysql-ruby-2.4.5)
99- adde some defines for ruby in spec file
100- changed to use %%setup -q -n %{oname}-%{over}
101- added MySQL-shared in BuildRequires
102- build with ruby-1.8.1
103
104* Thu Jun 13 2002 Satoshi MACHINO <machino@vinelinux.org> 2.4.2a-0vl2
105- added README.ja
106
107* Thu Apr 04 2002 Satoshi MACHINO <machino@vinelinux.org> 2.4.2a-0vl1
108- update mysql-ruby-2.4.2a
109- changed License tag from Copylight
110
111* Wed Jan 09 2002 Satoshi MACHINO <machino@vinelinux.org> 2.4.2-0vl1
112- update mysql-ruby-2.4.2
113- update BuildPreReq's ruby version to 1.6.6-0vl3
114
115* Mon Oct 15 2001 akira yamada <akira@redhat.com> 2.4-0vl1
116- new upstream version.
117- mysql-ruby-2.3.1-extconf.rb.patch is no longer needed.
118
119* Thu Jul 26 2001 akira yamada <akira@redhat.com>
120- rebuild with ruby-devel-1.6.4-0vl3.
121
122* Mon Apr 23 2001 akira yamada <akira@redhat.com>
123- new upsteram version 2.3.2a.
124
125* Mon Apr 23 2001 akira yamada <akira@redhat.com>
126- Initial packaging.
Note: See TracBrowser for help on using the repository browser.