54 lines
944 B
RPMSpec
54 lines
944 B
RPMSpec
|
|
Name: @PACKAGE@
|
|
Summary: Free LZH archive tool
|
|
Version: @VERSION@
|
|
Release: 1
|
|
Source: https://github.com/downloads/fragglet/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz
|
|
URL: http://fragglet.github.com/lhasa/
|
|
Group: Applications/Archiving
|
|
BuildRoot: /var/tmp/@PACKAGE@-buildroot
|
|
License: ISC license
|
|
Packager: Simon Howard <@PACKAGE_BUGREPORT@>
|
|
Prefix: %{_prefix}
|
|
Autoreq: 0
|
|
|
|
%description
|
|
%(cat README)
|
|
|
|
See @PACKAGE_URL@ for more information.
|
|
|
|
%prep
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%setup -q
|
|
|
|
%build
|
|
./configure \
|
|
--prefix=/usr \
|
|
--exec-prefix=/usr \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/sbin \
|
|
--sysconfdir=/etc \
|
|
--datadir=/usr/share \
|
|
--includedir=/usr/include \
|
|
--libdir=/usr/lib \
|
|
--libexecdir=/usr/lib \
|
|
--localstatedir=/var/lib \
|
|
--sharedstatedir=/usr/com \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info
|
|
make
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%doc %{_mandir}/man1/*
|
|
/usr/bin/*
|
|
/usr/lib*/*
|
|
/usr/include/*/*
|
|
|