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
|
# vim: tw=60
%define prefix /usr
%define name dynamite
%define rel 1
Summary: Extract data compressed with PKWARE Data Compression Library
Name: %{name}
Version: 0.1
Release: %{rel}
License: MIT
Group: Applications/Archiving
Source: %{name}-%{version}.tar.gz
URL: http://synce.sourceforge.net/
Distribution: SynCE RPM packages
Vendor: The SynCE Project
Packager: David Eriksson <twogood@users.sourceforge.net>
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
See http://synce.sourceforge.net/ for more information.
%package devel
Summary: Extract data compressed with PKWARE Data Compression Library
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
See http://synce.sourceforge.net/ for more information.
%prep
%setup
%build
%configure
make
%install
%makeinstall
%files
%defattr(-,root,root)
%doc LICENSE
%{_bindir}/dynamite
%{_libdir}/libdynamite.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/libdynamite.h
%{_libdir}/libdynamite.so
%{_libdir}/libdynamite.a
%{_libdir}/libdynamite.la
%{_datadir}/aclocal
|