Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 635fb5385f9a2830580981a72994d896 > files > 1

dynamite-0.1-3mdk.src.rpm

%define name     dynamite
%define version  0.1
%define release  %mkrel 3

%define major 0
%define libname %mklibname %name %major

Summary: Extract data compressed with PKWARE Data Compression Library
Name: %{name}
Version: %{version}
Release: %{release}
License: MIT
Group: Archiving/Other
Source: http://ovh.dl.sourceforge.net/sourceforge/synce/%{name}.tar.gz
URL: http://synce.sourceforge.net/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
See http://synce.sourceforge.net/ for more information.



%package -n     %{libname}
Summary:        Dynamic libraries from %name
Group:          System/Libraries

%description -n %{libname}
Dynamic libraries from %name.


%package -n %{libname}-devel
Summary:  Extract data compressed with PKWARE Data Compression Library
Group:    Development/C
Requires:       %{libname} >= %{version}
Provides:       lib%{name}-devel = %{version}-%{release}
Provides:       %{name}-devel = %{version}-%{release}
Obsoletes:      %name-devel

%description -n %{libname}-devel
See http://synce.sourceforge.net/ for more information.

%prep
%setup -q -n %name

./bootstrap

%build
%configure
make

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc LICENSE
%{_bindir}/dynamite

%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/libdynamite.so.*

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

%Changelog
* Tue Jul 12 2005 Nicolas Lécureuil <neoclust@mandrake.org> 0.1-3mdk
- Fix file section

* Tue Feb 01 2005 Nicolas Lécureuil <neoclust@mandrake.org> 0.1-2mdk
- Sync with CVS

* Tue Feb 01 2005 Nicolas Lécureuil <neoclust@mandrake.org> 0.1-1mdk
- First Mandrakelinux release adapting Synce website's rpm