summaryrefslogtreecommitdiffstats
path: root/mysql55/ruby-mysql.spec.nodsc
blob: 41cd11fec8452de4344a69019aea0fa3a3e7bdbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
Name:           ruby-mysql
Version:        2.8.2
Release:        6%{?dist}
Summary:        A Ruby interface to MySQL

Group:          Development/Languages
License:        Ruby
URL:            http://www.tmtm.org/en/mysql/ruby/

Source0:        http://tmtm.org/downloads/mysql/ruby/mysql-ruby-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  ruby ruby-devel mysql-devel
Requires:       ruby(abi) = 1.9.1
Provides:       ruby(mysql) = %{version}

%description
This is the MySQL API module for Ruby. It provides the same functions for
Ruby programs that the MySQL C API provides for C programs.


%prep
%setup -q -n mysql-ruby-%{version}


%build
export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
ruby extconf.rb --vendor --with-mysql-config
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
env DESTDIR=$RPM_BUILD_ROOT make install


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README.html README_ja.html tommy.css COPYING COPYING.ja 
%{ruby_vendorarchdir}/mysql.so


%changelog
* Wed Feb 15 2012 Orion Poplawski <orion@cora.nwra.com> - 2.8.2-6
- Update to current ruby packaging (bug #788435)

* Tue Feb 7 2012 Orion Poplawski <orion@cora.nwra.com> - 2.8.2-5
- Rebuild for ruby 1.9

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Mar 23 2011 Dan Horák <dan@danny.cz> - 2.8.2-3
- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient)

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Thu Jul 8 2010 Orion Poplawski <orion@cora.nwra.com> - 2.8.2-1
- Update to 2.8.2

* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.8-4
- rebuilt with new openssl

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Fri Jan 23 2009 Orion Poplawski <orion@cora.nwra.com> - 2.8-1
- Update to 2.8

* Fri Mar  7 2008 Orion Poplawski <orion@cora.nwra.com> - 2.7.5-1
- Update to 2.7.5

* Sat Feb  9 2008 Orion Poplawski <orion@cora.nwra.com> - 2.7.4-1
- Update to 2.7.4

* Wed Dec  5 2007 Orion Poplawski <orion@cora.nwra.com> - 2.7.3-3
- Rebuild for new openssl

* Thu Aug 23 2007 Orion Poplawski <orion@cora.nwra.com> - 2.7.3-2
- Update license tag to Ruby
- Rebuild for BuildID

* Thu May 17 2007 Orion Poplawski <orion@cora.nwra.com> - 2.7.3-1
- Update to 2.7.3

* Wed Oct  3 2006 Orion Poplawski <orion@cora.nwra.com> - 2.7.1-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21

* Wed Sep 20 2006 Orion Poplawski <orion@cora.nwra.com> - 2.7.1-1
- Update to 2.7.1

* Tue Feb 28 2006 Oliver Andrich <oliver.andrich@gmail.com> - 2.7-8
- changed the license to Distributable based on Bug #179933

* Fri Feb 04 2006 Oliver Andrich <oliver.andrich@gmail.com> - 2.7-6
- fixed the build problems in x86_64

* Fri Feb 03 2006 Oliver Andrich <oliver.andrich@gmail.com> - 2.7-5
- included the license documents COPYING and COPYING.ja
- fixed the license: Distributable -> GPL

* Sun Jan 22 2006 Oliver Andrich <oliver.andrich@gmail.com> - 2.7-4
- fixed changelog (next try)
- moved the package to the suggested group Development/Languages
- added %{?_smp_mflags} to the make call in the build phase
- the summary duplication in the description was removed 

* Sun Jan 22 2006 Oliver Andrich <oliver.andrich@gmail.com> - 2.7-3
- added documentation
- fixed changelog 

* Sun Jan 22 2006 Oliver Andrich <oliver.andrich@gmail.com> - 2.7-1
- First build