- New upstream release with ruby bindings
This commit is contained in:
parent
322772c601
commit
3ff3bfa183
|
@ -4,3 +4,4 @@ libprelude-0.9.16.2.tar.gz
|
||||||
libprelude-0.9.17.1.tar.gz
|
libprelude-0.9.17.1.tar.gz
|
||||||
libprelude-0.9.17.2.tar.gz
|
libprelude-0.9.17.2.tar.gz
|
||||||
libprelude-0.9.18.1.tar.gz
|
libprelude-0.9.18.1.tar.gz
|
||||||
|
libprelude-0.9.19.tar.gz
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
|
||||||
|
|
||||||
|
|
||||||
Name: libprelude
|
Name: libprelude
|
||||||
Version: 0.9.18.1
|
Version: 0.9.19
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The prelude library
|
Summary: The prelude library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://prelude-ids.org/
|
URL: http://prelude-ids.org/
|
||||||
Source0: http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version}.tar.gz
|
Source0: http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gnutls-devel, python-devel
|
BuildRequires: gnutls-devel, python-devel, ruby-devel, swig, lua-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Prelude Library is a collection of generic functions providing
|
The Prelude Library is a collection of generic functions providing
|
||||||
|
@ -61,6 +62,15 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
%description perl
|
%description perl
|
||||||
Perl bindings for libprelude.
|
Perl bindings for libprelude.
|
||||||
|
|
||||||
|
%package ruby
|
||||||
|
Summary: Ruby bindings for libprelude
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
Requires: libprelude = %{version}-%{release}
|
||||||
|
Requires: ruby(abi) = 1.8
|
||||||
|
|
||||||
|
%description ruby
|
||||||
|
Ruby bindings for libprelude.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
@ -68,7 +78,8 @@ Perl bindings for libprelude.
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
|
--with-html-dir=%{_defaultdocdir}/%{name}-%{version}/html \
|
||||||
--with-perl-installdirs=vendor
|
--with-perl-installdirs=vendor \
|
||||||
|
--enable-easy-bindings
|
||||||
|
|
||||||
# removing rpath
|
# removing rpath
|
||||||
sed -i.rpath -e 's|LD_RUN_PATH=""||' bindings/Makefile.in
|
sed -i.rpath -e 's|LD_RUN_PATH=""||' bindings/Makefile.in
|
||||||
|
@ -87,6 +98,8 @@ rm -f %{buildroot}/%{_libdir}/libprelude.la
|
||||||
chmod 755 %{buildroot}%{python_sitearch}/_prelude.so
|
chmod 755 %{buildroot}%{python_sitearch}/_prelude.so
|
||||||
find %{buildroot} -type f \( -name .packlist -o -name perllocal.pod \) -exec rm -f {} ';'
|
find %{buildroot} -type f \( -name .packlist -o -name perllocal.pod \) -exec rm -f {} ';'
|
||||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
rm -f %{buildroot}%{ruby_sitearch}/PreludeEasy.la
|
||||||
|
|
||||||
# Fix time stamp for both 32 and 64 bit libraries
|
# Fix time stamp for both 32 and 64 bit libraries
|
||||||
touch -r ./configure.in %{buildroot}%{_sysconfdir}/prelude/default/*
|
touch -r ./configure.in %{buildroot}%{_sysconfdir}/prelude/default/*
|
||||||
|
@ -123,11 +136,17 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
%files perl
|
%files perl
|
||||||
%defattr(0755,root,root)
|
%defattr(0755,root,root)
|
||||||
%attr(0644,root,root) %{perl_vendorarch}/Prelude.pm
|
%attr(0644,root,root) %{perl_vendorarch}/Prelude*.pm
|
||||||
%{perl_vendorarch}/auto/Prelude/
|
%{perl_vendorarch}/auto/Prelude*/
|
||||||
|
|
||||||
|
%files ruby
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{ruby_sitearch}/PreludeEasy.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 05 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.19-1
|
||||||
|
- New upstream release with ruby bindings
|
||||||
|
|
||||||
* Mon Jul 21 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.18.1-1
|
* Mon Jul 21 2008 Steve Grubb <sgrubb@redhat.com> - 0.9.18.1-1
|
||||||
- New upstream version
|
- New upstream version
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue