51 lines
1.2 KiB
RPMSpec
51 lines
1.2 KiB
RPMSpec
Name: ruby-sary
|
|
Version: 1.2.0
|
|
Release: 2mamba
|
|
Summary: Ruby Binding of Sary
|
|
Group: Development/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://sary.sourceforge.net/
|
|
Source: http://sary.sourceforge.net/sary-ruby-%{version}.tar.gz
|
|
Patch0: ruby-sary-1.2.0-ruby-2.0.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libsary-devel
|
|
BuildRequires: ruby-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Ruby Binding of Sary
|
|
|
|
%prep
|
|
%setup -q -n sary-ruby-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
ruby extconf.rb
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall DESTDIR=%{buildroot}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{ruby_sitearch}/sary.so
|
|
#%doc ChangeLog README.en.rd README.ja.rd
|
|
#%doc Reference.en.rd Reference.ja.rd
|
|
|
|
%changelog
|
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 1.2.0-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Fri Jul 25 2008 gil <puntogil@libero.it> 1.2.0-1mamba
|
|
- package created by autospec
|