File unshield.spec of Package unshield
#
# spec file for package unshield (Version 0.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: unshield
BuildRequires: zlib-devel
Summary: A Program to Extract InstallShield Cabinet Files
Version: 0.5
Release: 53
License: X11/MIT
Url: http://synce.sourceforge.net/
Group: Productivity/Archiving/Compression
Source: %{name}-%{version}.tar.bz2
Patch0: unshield-zlib_test.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Cabinet (.CAB) files are a form of archive, which is used by the
InstallShield installer software. The unshield program simply unpacks
such files.
See http://synce.sourceforge.net/ for more information.
Authors:
--------
David Eriksson <twogood@users.sourceforge.net>
%package devel
Summary: A program to extract InstallShield cabinet files
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} glibc-devel
%description devel
Cabinet (.CAB) files are a form of archive, which is used by the
InstallShield installer software. The unshield program simply unpacks
such files.
See http://synce.sourceforge.net/ for more information.
Authors:
--------
David Eriksson <twogood@users.sourceforge.net>
%prep
%setup -q
%patch
%build
autoreconf -f -i
export CFLAGS="%optflags -DPROTOTYPES"
%configure --disable-static --with-pic
make %{?jobs:-j%jobs}
%install
make DESTDIR=%buildroot install
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README LICENSE
%{_bindir}/unshield
%{_libdir}/libunshield.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/libunshield.h
%{_libdir}/libunshield.so
%{_datadir}/aclocal/*
%exclude %{_libdir}/libunshield.la
%changelog
* Tue Jan 29 2008 pth@suse.de
- Enable prototypes.
* Thu Dec 27 2007 crrodriguez@suse.de
- fix library-without-ldconfig-post* errors
- remove static libraries and "la" files
- fix -devel package dependencies
* Mon Mar 12 2007 pth@suse.de
- Initial package creation