rpms/ruby-ldap/devel ruby-ldap.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Stahnke (stahnma) fedora-extras-commits at redhat.com
Wed Oct 31 01:08:20 UTC 2007


Author: stahnma

Update of /cvs/extras/rpms/ruby-ldap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16730/devel

Modified Files:
	.cvsignore sources 
Added Files:
	ruby-ldap.spec 
Log Message:
Initial Import



--- NEW FILE ruby-ldap.spec ---
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")}
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}

Name:           ruby-ldap
Version:        0.9.7 
Release:        3%{?dist}
Summary:        Ruby LDAP libraries
Group:          Development/Languages
License:        BSD 
URL:            http://%{name}.sourceforge.net/   
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ruby ruby-devel openldap-devel openssl-devel 
Requires:       ruby(abi) = 1.8 
Provides:       ruby(ldap) = %{version}-%{release}


%description
Ruby/LDAP is an extension library for Ruby. It provides the interface to
some LDAP libraries (e.g. OpenLDAP, UMich LDAP, Netscape SDK,
ActiveDirectory). The common API for application development
is described in RFC1823 and is supported by Ruby/LDAP.


%prep
%setup -q
find example/ -type f | xargs %{__chmod} 0644


%build
export CFLAGS="$RPM_OPT_FLAGS"
ruby extconf.rb
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" install
 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc TODO README ChangeLog example FAQ
# For noarch packages: ruby_sitelib
%{ruby_sitelib}/ldap
# For arch-specific packages: ruby_sitearch
%{ruby_sitearch}/ldap.so


%changelog
* Mon Oct 29 2007 Michael Stahnke <mastahnke at gmail.com> - 0.9.7-3
- More modifications from bug 346241

* Sun Oct 28 2007 Michael Stahnke <mastahnke at gmail.com> - 0.9.7-2
- Package modifications from bug 346241

* Mon Oct 22 2007 Michael Stahnke <mastahnke at gmail.com> - 0.9.7-1
- Initial Package for Fedora 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ruby-ldap/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Oct 2007 23:15:54 -0000	1.1
+++ .cvsignore	31 Oct 2007 01:07:47 -0000	1.2
@@ -0,0 +1 @@
+ruby-ldap-0.9.7.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ruby-ldap/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Oct 2007 23:15:54 -0000	1.1
+++ sources	31 Oct 2007 01:07:47 -0000	1.2
@@ -0,0 +1 @@
+373d07cb833fac6d907652f7c8ac7480  ruby-ldap-0.9.7.tar.gz




More information about the fedora-extras-commits mailing list