Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL12
>
lib7zip
> lib7zip.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lib7zip.spec of Package lib7zip (Revision 2)
Currently displaying revision
2
,
show latest
%define p7zipver 9.20.1 Name: lib7zip Version: 1.4.1 Release: 0 Url: http://code.google.com/p/lib7zip/ Source0: %{name}-%{version}.tar.bz2 Source1: p7zip_%{p7zipver}_src_all.tar.bz2 Group: System/Libraries License: GPLv2 Summary: A library using 7z.so from p7zip BuildRequires: p7zip gcc-c++ Requires: p7zip BuildRoot: %{_tmppath}/%{name}-%{version}-root %description lib7zip is based on 7zip/p7zip source code, but NOT including any source code from 7zip/p7zip. %prep %setup tar xfj %{S:1} %build export P7ZIP_SOURCE_DIR=`pwd`/p7zip_%{p7zipver} %configure %__make %install %__make DESTDIR=%{buildroot} install install -D -m644 Lib7Zip/lib7zip.a %{buildroot}%{_libdir}/lib7zip.a install -D -m655 Lib7Zip/lib7zip.h %{buildroot}%{_includedir}/lib7zip.h %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/test7zip %{_bindir}/test7zipmulti %{_bindir}/test7zprops %{_libdir}/lib7zip.a %{_includedir}/lib7zip.h %changelog