Group :: Archiving/Compression
RPM: libunshield
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define origname unshield
%def_disable static
Name: lib%origname
Version: 0.5.1
Release: alt1
Summary: A program to extract InstallShield cabinet files
License: MIT
Group: Archiving/Compression
Url: http://synce.sourceforge.net
Source: %origname-%version.tar.gz
Patch: %origname-0.5-openssl.patch
Packager: Mobile Development Team <mobile at packages.altlinux.org>
# Automatically added by buildreq on Fri Oct 12 2007
BuildRequires: gcc-c++ libssl-devel zlib-devel
%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.
%package devel
Summary: Headers for library to extract InstallShield cabinet files
Group: Development/C
Requires: %name = %version
Requires: zlib-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.
%if_enabled static
%package devel-static
Summary: Static library to extract InstallShield cabinet files Compression Library
Group: Development/C
Requires: %name-devel = %version
%description devel-static
See http://synce.sourceforge.net for more information.
%endif
%prep
%setup -q -n %origname-%version
##%%patch -p1
%build
%configure %{subst_enable static}
%make
%install
%makeinstall
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc README LICENSE
%_bindir/unshield
%_libdir/libunshield.so.*
%_man1dir/*
%files devel
%_includedir/libunshield.h
%_libdir/libunshield.so
%_libdir/pkgconfig/*.pc
%if_enabled static
%files devel-static
%_libdir/libunshield.a
#%_libdir/libunshield.la
%endif
%changelog
…
Full changelog you can see here
%def_disable static
Name: lib%origname
Version: 0.5.1
Release: alt1
Summary: A program to extract InstallShield cabinet files
License: MIT
Group: Archiving/Compression
Url: http://synce.sourceforge.net
Source: %origname-%version.tar.gz
Patch: %origname-0.5-openssl.patch
Packager: Mobile Development Team <mobile at packages.altlinux.org>
# Automatically added by buildreq on Fri Oct 12 2007
BuildRequires: gcc-c++ libssl-devel zlib-devel
%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.
%package devel
Summary: Headers for library to extract InstallShield cabinet files
Group: Development/C
Requires: %name = %version
Requires: zlib-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.
%if_enabled static
%package devel-static
Summary: Static library to extract InstallShield cabinet files Compression Library
Group: Development/C
Requires: %name-devel = %version
%description devel-static
See http://synce.sourceforge.net for more information.
%endif
%prep
%setup -q -n %origname-%version
##%%patch -p1
%build
%configure %{subst_enable static}
%make
%install
%makeinstall
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%doc README LICENSE
%_bindir/unshield
%_libdir/libunshield.so.*
%_man1dir/*
%files devel
%_includedir/libunshield.h
%_libdir/libunshield.so
%_libdir/pkgconfig/*.pc
%if_enabled static
%files devel-static
%_libdir/libunshield.a
#%_libdir/libunshield.la
%endif
%changelog
…
Full changelog you can see here