rpms/rubygem-pam/F-10 import.log, NONE, 1.1 rubygem-pam.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Bryan Kearney
bkearney at fedoraproject.org
Fri Oct 24 12:12:15 UTC 2008
- Previous message: rpms/gdal/F-9 gdal-libdap.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 gdal.spec, 1.41, 1.42 import.log, 1.3, 1.4 sources, 1.8, 1.9 gdal-perl510.patch, 1.1, NONE gdal-sincos.patch, 1.1, NONE
- Next message: rpms/sblim-cmpi-base/devel .cvsignore, 1.3, 1.4 sblim-cmpi-base.spec, 1.9, 1.10 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: bkearney
Update of /cvs/pkgs/rpms/rubygem-pam/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7598/F-10
Modified Files:
.cvsignore sources
Added Files:
import.log rubygem-pam.spec
Log Message:
Initial checkin of the package
--- NEW FILE import.log ---
rubygem-pam-1_5_3-1_fc9:F-10:rubygem-pam-1.5.3-1.fc9.src.rpm:1224849998
--- NEW FILE rubygem-pam.spec ---
%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
%define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%define gemname pam
%define libname _%{gemname}.so
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
%define installroot %{buildroot}%{geminstdir}
%define extension_dir %{installroot}/ext/
# Main package bundles it at a gem
Name: rubygem-%{gemname}
Version: 1.5.3
Release: 1%{?dist}
Summary: Ruby bindings for pam
Group: Development/Languages
License: LGPLv2+
URL: http://rubyforge.org/projects/ruby-pam
Source0: http://rubyforge.org/frs/download.php/43802/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pam-devel >= 0.0.6
BuildRequires: ruby-devel >= 1.8
BuildRequires: ruby
BuildRequires: rubygem-rake
Requires: rubygems
Requires: ruby(abi) = 1.8
Provides: rubygem(%{gemname}) = %{version}
%description
Ruby bindings for pam exposed via a gem
# Secondary package exposes the library not as a gem
%package -n ruby-%{gemname}
Version: 1.5.3
Release: 1%{?dist}
Summary: Ruby-pam bindings exposed outside of gem
Group: Development/Languages
Requires: rubygem(%{gemname})
Provides: ruby(%{gemname}) = %{version}
%description -n ruby-%{gemname}
Ruby bindings for pam not exposed via a gem
# Empty per the standard
%prep
#Empty per the standard
%build
# Installs the gem, and then moves the compiled code to the site
# library. Softlinks are used to keep the gem "whole"
%install
rm -rf %{buildroot}
install -d -m0755 %{buildroot}%{gemdir}
install -d -m0755 %{buildroot}%{ruby_sitelib}
install -d -m0755 %{buildroot}%{ruby_sitearch}
gem install --local --install-dir %{buildroot}%{gemdir} \
--force %{SOURCE0}
mv %{extension_dir}%{libname} %{buildroot}%{ruby_sitearch}/%{libname}
rm -rf %{extension_dir}
strip %{buildroot}%{ruby_sitearch}/%{libname}
rm %{installroot}/lib/%{libname}
cp %{installroot}/lib/%{gemname}.rb %{buildroot}%{ruby_sitelib}/%{gemname}.rb
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{geminstdir}/Rakefile
%{geminstdir}/test
%{geminstdir}/lib
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%{ruby_sitearch}/%{libname}
%doc %{geminstdir}/COPYING
%doc %{geminstdir}/LICENSE
%doc %{geminstdir}/MANIFEST
%doc %{geminstdir}/README
%doc %{geminstdir}/ChangeLog
%files -n ruby-%{gemname}
%defattr(-,root,root,-)
%{ruby_sitelib}/%{gemname}.rb
%changelog
* Tue Sep 23 2008 Bryan Kearney <bkearney at redhat.com> - 1.5.3-1
- Added a shim layer to better support multiple architectures
* Tue Aug 19 2008 Bryan Kearney <bkearney at redhat.com> - 1.5.2-3
- More package review.
* Tue Aug 19 2008 Bryan Kearney <bkearney at redhat.com> - 1.5.2-2
- Fixes according to Fedora review
* Mon Aug 6 2008 Bryan Kearney <bkearney at redhat.com> - 1.5.2-1
- Initial specfile
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-pam/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 19 Oct 2008 22:16:31 -0000 1.1
+++ .cvsignore 24 Oct 2008 12:11:45 -0000 1.2
@@ -0,0 +1 @@
+pam-1.5.3.gem
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-pam/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 Oct 2008 22:16:31 -0000 1.1
+++ sources 24 Oct 2008 12:11:45 -0000 1.2
@@ -0,0 +1 @@
+1ce6f4a931db3544410e26b6e0d4540b pam-1.5.3.gem
- Previous message: rpms/gdal/F-9 gdal-libdap.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 gdal.spec, 1.41, 1.42 import.log, 1.3, 1.4 sources, 1.8, 1.9 gdal-perl510.patch, 1.1, NONE gdal-sincos.patch, 1.1, NONE
- Next message: rpms/sblim-cmpi-base/devel .cvsignore, 1.3, 1.4 sblim-cmpi-base.spec, 1.9, 1.10 sources, 1.3, 1.4
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list