Blob Blame History Raw
Name:           dynamite
Version:        0.1
Release:        4%{?dist}
Summary:        Extract data compressed with PKWARE Data Compression Library

Group:          Applications/Communications
License:        MIT
URL:            http://synce.sourceforge.net/
Source0:        http://dl.sf.net/synce/dynamite-0.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
%{summary}

%package devel
Group:          Development/Libraries
Summary:        Files needed for software development with %{name}
Requires:       %{name} = %{version}-%{release}

%description devel
The %{name}-devel package contains the files needed for development with
%{name}

%prep
%setup -q

%build
%configure --disable-static --disable-rpath
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

rm -f $RPM_BUILD_ROOT%{_libdir}/libdynamite.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc LICENSE
%{_libdir}/libdynamite.so.*
#this is broken
%exclude %{_bindir}/dynamite

%files devel
%defattr(-,root,root,-)
%{_libdir}/libdynamite.so
%{_includedir}/libdynamite.h
%{_datadir}/aclocal/dynamite.m4

%changelog
* Tue Feb 14 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.1-4
- Rebuild for Fedora Extras 5

* Fri Aug 26 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.1-3
- require v-r for devel package

* Thu Aug 25 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.1-2
- add dist

* Tue Aug 23 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
0.1-1
- Initial Release