rpms/rubygem-zoom/F-7 rubygem-zoom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Mamoru Tasaka (mtasaka)
fedora-extras-commits at redhat.com
Mon Nov 19 11:48:13 UTC 2007
- Previous message (by thread): rpms/ruby-marc/devel ruby-marc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rubygem-zoom/F-8 rubygem-zoom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mtasaka
Update of /cvs/extras/rpms/rubygem-zoom/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11172/rubygem-zoom/F-7
Modified Files:
.cvsignore sources
Added Files:
rubygem-zoom.spec
Log Message:
ruby-marc, rubygem-zoom passed review, updating alexandria dependency
--- NEW FILE rubygem-zoom.spec ---
%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%define gemname zoom
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
%define rubyabi 1.8
%define repoid 22653
Name: rubygem-%{gemname}
Version: 0.3.0
Release: 1%{?dist}
Group: Development/Languages
Summary: Ruby binding to ZOOM
License: LGPLv2+
URL: http://ruby-zoom.rubyforge.org/
Source0: http://rubyforge.org/frs/download.php/%{repoid}/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: rubygem(rake)
BuildRequires: ruby-devel
BuildRequires: libxslt-devel
BuildRequires: libyaz-devel
BuildRequires: tcp_wrappers
%if 0%{?fedora} >= 7
BuildRequires: tcp_wrappers-devel
%endif
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
Provides: rubygem(%{gemname}) = %{version}-%{release}
# Obsolete but not provide
# Obsoletes: ruby(zoom) < 0.3.0 does not obsolete ruby-zoom
Obsoletes: ruby-zoom < 0.3.0
%description
Ruby/ZOOM provides a Ruby binding to the Z39.50 Object-Orientation
Model (ZOOM), an abstract object-oriented programming interface
to a subset of the services specified by the Z39.50 standard,
also known as the international standard ISO 23950.
%prep
# Compile by myself forcely.
# Current rubygem install method
# - does not support CFLAGS (rather, don't know what compiler options
# . are used)
# - Does not pass check-buildroot (why?) Also, find-debuginfo.sh does not
# . create debuginfo rpm, probably compiler options used are wrong.
#
# . Other packages avoid check-buildroot complaint by stripping binaries, which
# . is very improper!!
%setup -q -c
%{__gzip} -dc data.tar.gz | %{__tar} -x -f -
%build
rake -v build
%install
%{__rm} -rf %{buildroot}
# 1. gem install
%{__mkdir_p} %{buildroot}%{gemdir}
gem install \
--local \
--install-dir %{buildroot}%{gemdir} \
--force \
%{SOURCE0}
# 2. replace with local build!!
%{__mkdir_p} %{buildroot}%{ruby_sitearch}
%{__install} -cpm 0755 \
src/%{gemname}.so \
%{buildroot}%{ruby_sitearch}/
# 3. clean up
for file in \
Rakefile \
lib/ \
sample/CVS/ \
src/ \
test/CVS/ \
; do
%{__rm} -rf %{buildroot}%{geminstdir}/${file}
done
%{__chmod} 0755 %{buildroot}%{geminstdir}/sample/needle.rb
# 4. Move documents
%{__mkdir_p} %{buildroot}%{_defaultdocdir}/%{name}-%{version}
for f in \
ChangeLog \
README \
; do
%{__mv} -f %{buildroot}%{geminstdir}/${f} \
%{buildroot}%{_defaultdocdir}/%{name}-%{version}/
done
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root,-)
%{_defaultdocdir}/%{name}-%{version}/
%{ruby_sitearch}/%{gemname}.so
%{geminstdir}/
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%changelog
* Tue Nov 13 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.3.0-1
- 0.3.0, switch to gem.
* Sun Nov 4 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.2.3-1
- 0.2.3
* Wed Aug 22 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.2.2-3.dist.2
- Mass rebuild (buildID or binutils issue)
* Fri Aug 3 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.2.2-3.dist.1
- License update
* Sat Jun 16 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.2.2-3
- Rebuild (against new yaz)
* Sat Apr 28 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.2.2-2
- Add more documents
* Sat Apr 21 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.2.2-1
- Initial packaging
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/rubygem-zoom/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 18 Nov 2007 18:49:29 -0000 1.1
+++ .cvsignore 19 Nov 2007 11:47:40 -0000 1.2
@@ -0,0 +1 @@
+zoom-0.3.0.gem
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/rubygem-zoom/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Nov 2007 18:49:29 -0000 1.1
+++ sources 19 Nov 2007 11:47:40 -0000 1.2
@@ -0,0 +1 @@
+21ee390f3904cfa4c52037530f5ccf31 zoom-0.3.0.gem
- Previous message (by thread): rpms/ruby-marc/devel ruby-marc.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/rubygem-zoom/F-8 rubygem-zoom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list