1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
Summary: libbash is a tool that enables bash dynamic-like shared libraries.
Name: @PACKAGE@
Version: @VERSION@
Release: 0
License: GPL
Group: misc
Source: http://ufpr.dl.sourceforge.net/sourceforge/libbash/@PACKAGE@-@VERSION@.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires: bash >= 3.0
URL: http://libbash.sf.net
%description
libbash is a tool that enables bash dynamic-like shared libraries.
Actually its a tool for managing bash scripts that contain functions you may
want to use in various scripts.
%prep
%setup -q
%build
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
%install
rm -rf %{buildroot}
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/*
%{_sbindir}/*
%{_libdir}/*
/usr/share/aclocal/*
/usr/share/man
%doc /usr/share/doc/%{name}
# update libbash library cache
%post
/usr/sbin/ldbashconfig
%changelog
* Mon Apr 02 2007 Hai Zaar <haizaar@gmail.com>
- Fixed URL
* Mon Jan 09 2006 Hai Zaar <haizaar@gmail.com>
- Added dependency for bash-3.0 and higher
- Packaging man page more explicitly
- Running ldbashconfig in %post section
* Mon Jan 02 2006 Hai Zaar <haizaar@gmail.com>
- Initial spec file
|