Author: zergin Date: Sun Apr 29 21:25:52 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - Import: original SPEC by Piotr Biedruna (p.biedruna at gmail dot com) - Converted to UTF8 - Fixed missing BR: ruby-devel
---- Files affected: SPECS: ruby-xslt.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/ruby-xslt.spec diff -u /dev/null SPECS/ruby-xslt.spec:1.1 --- /dev/null Sun Apr 29 23:25:52 2007 +++ SPECS/ruby-xslt.spec Sun Apr 29 23:25:46 2007 @@ -0,0 +1,73 @@ +# $Revision$, $Date$ +Summary: Ruby xslt bindings +Summary(pl.UTF-8): DowiÄ…zania xslt dla ruby`ego +Name: ruby-xslt +Version: 0.9.3 +Release: 1 +License: GPL +Group: Development/Languages +Source0: http://gregoire.lejeune.free.fr/%{name}_%{version}.tar.gz +# Source0-md5: f69bf3a70bedbd44f7dee25df20546fd + +BuildRequires: libgcrypt-devel >= 1.2.4 +BuildRequires: libgpg-error-devel >= 1.4-2 +BuildRequires: libxml2-devel >= 2.6.27 +BuildRequires: libxslt-devel >= 1.1.19 +BuildRequires: rpmbuild(macros) >= 1.277 +BuildRequires: ruby-devel +BuildRequires: zlib-devel >= 1.2.3 + +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +xslt bingings for ruby + +%description -l pl.UTF-8 +dowiÄ…zania xslt dla ruby`ego + +%prep +%setup -q -n %{name} + +%build +ruby extconf.rb +%{__make} +%{__make} doc + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}/xml +cp -af lib/xslt.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}/xml + +install -d $RPM_BUILD_ROOT%{ruby_archdir}/xml +cp -af xslt_lib.so $RPM_BUILD_ROOT%{ruby_archdir}/xml + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc doc/* +%attr(755,root,root) %{ruby_rubylibdir}/xml* +%dir %{ruby_rubylibdir}/xml +%attr(755,root,root) %{ruby_archdir}/xml/*.so +%dir %{ruby_archdir}/xml + +%post +echo "\n********************************************************************************" +echo " ruby-xslt documentation in: %{_docdir}/%{name}-%{version}/index.html" +echo "********************************************************************************\n" + + + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/04/29 21:25:46 zergin +- Import: original SPEC by Piotr Biedruna (p.biedruna at gmail dot com) +- Converted to UTF8 +- Fixed missing BR: ruby-devel + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
