avatar
Rosa has added 2c006ae3d3
Automatic import for version 1.6.2
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "rubygems-1.6.2.tgz": 32bb7823eb28907c883e194fa7ce0fc1118eb8bc
view file @ 2c006ae3d3
... ... --- /dev/null
... ... +++ b/ruby-RubyGems.spec
... ... @@ -0,0 +1,128 @@
1
%define rname	RubyGems
2
%define	oname	rubygems
3
4
Summary:	Ruby package manager
5
Name:		ruby-%{rname}
6
Version:	1.6.2
7
Release:	%mkrel 2
8
License:	GPL
9
Group:		Development/Ruby
10
URL: 		http://docs.rubygems.org/
11
Source0:	http://rubyforge.org/frs/download.php/60718/%{oname}-%{version}.tgz
12
BuildArch:	noarch
13
BuildRequires:	ruby-devel
14
Requires:	ruby
15
Provides:	%{oname} = %{version}
16
BuildRoot:	%{_tmppath}/%{name}-buildroot
17
18
%description
19
RubyGems is the Ruby standard for publishing and managing third party
20
libraries.
21
22
%prep
23
%setup -q -n rubygems-%{version}
24
25
# gems are installed in /usr/lib even on x86_64 
26
%__sed -ie "s,ConfigMap\[:libdir\],\'/usr/lib\'," lib/rubygems/defaults.rb
27
28
%install
29
rm -rf %buildroot
30
mkdir -p %buildroot%{ruby_gemdir}
31
ruby setup.rb --prefix=%buildroot/%_prefix
32
mkdir -p %buildroot%{ruby_sitelibdir}
33
mv %buildroot/%_prefix/lib/{*.rb,rubygems,rbconfig} %buildroot%{ruby_sitelibdir}
34
35
for f in `find %buildroot%{ruby_sitelibdir} -name \*.rb`
36
do
37
	if head -n1 "$f" | grep '^#!' >/dev/null;
38
	then
39
		sed -i 's|/usr/local/bin|/usr/bin|' "$f"
40
		chmod 0755 "$f"
41
	else
42
		chmod 0644 "$f"
43
	fi
44
done
45
46
47
%clean
48
rm -rf %buildroot
49
50
%files
51
%defattr(-,root,root)
52
%doc README*
53
%attr(755,root,root) %{_bindir}/*
54
%{ruby_sitelibdir}/*
55
%{ruby_gemdir}
56
57
58
59
%changelog
60
* Thu May 05 2011 Oden Eriksson <oeriksson@mandriva.com> 1.6.2-2mdv2011.0
61
+ Revision: 669457
62
- mass rebuild
63
64
  + Per Øyvind Karlsen <peroyvind@mandriva.org>
65
    - new release: 1.6.2
66
67
* Thu Mar 10 2011 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.6.1-1
68
+ Revision: 643456
69
- new release: 1.6.1
70
71
* Thu Sep 16 2010 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.3.7-1mdv2011.0
72
+ Revision: 579082
73
- new release: 1.3.7 (closes #61037)
74
75
* Wed Mar 17 2010 Per Øyvind Karlsen <peroyvind@mandriva.org> 1.3.5-3mdv2010.1
76
+ Revision: 524209
77
- don't define name, version & release on top of file
78
- add version to 'rubygems' provide
79
80
* Wed Mar 17 2010 Oden Eriksson <oeriksson@mandriva.com> 1.3.5-2mdv2010.1
81
+ Revision: 523932
82
- rebuilt for 2010.1
83
84
* Thu Jul 30 2009 Frederik Himpe <fhimpe@mandriva.org> 1.3.5-1mdv2010.0
85
+ Revision: 404729
86
- Update to new version 1.3.5
87
88
* Fri Jun 12 2009 Lev Givon <lev@mandriva.org> 1.3.4-2mdv2010.0
89
+ Revision: 385513
90
- Use correct gem path on all platforms (#51599).
91
92
* Fri Jun 12 2009 Lev Givon <lev@mandriva.org> 1.3.4-1mdv2010.0
93
+ Revision: 385327
94
- Update to 1.3.4.
95
96
* Sun Feb 01 2009 Funda Wang <fwang@mandriva.org> 1.3.1-1mdv2009.1
97
+ Revision: 336112
98
- New version 1.3.1
99
100
* Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 1.0.1-2mdv2009.0
101
+ Revision: 225339
102
- rebuild
103
104
* Thu Feb 28 2008 Pascal Terjan <pterjan@mandriva.org> 1.0.1-1mdv2008.1
105
+ Revision: 176209
106
- Update to 1.0.1
107
108
  + Olivier Blin <oblin@mandriva.com>
109
    - restore BuildRoot
110
111
  + Thierry Vignaud <tv@mandriva.org>
112
    - kill re-definition of %%buildroot on Pixel's request
113
114
* Sat Apr 21 2007 Pascal Terjan <pterjan@mandriva.org> 0.9.0-3mdv2008.0
115
+ Revision: 16663
116
- Use Development/Ruby group
117
- Use std macros
118
119
120
* Fri Aug 25 2006 Olivier Blin <blino@mandriva.com> 0.9.0-2mdv2007.0
121
- Patch1: fix ruby gems dir on x86_64 (and make the package really noarch)
122
123
* Fri Aug 25 2006 Pascal Terjan <pterjan@mandriva.org> 0.9.0-1mdv2007.0
124
- 0.9.0
125
126
* Mon Jul 18 2005 Pascal Terjan <pterjan@mandriva.org> 0.8.11-1mdk
127
- First Mandriva version
128

Comments