Accepting request 251758 from Archiving
- Drop gpg-offline build-time requirement OBS-URL: https://build.opensuse.org/request/show/251758 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/clzip?expand=0&rev=5
This commit is contained in:
commit
87fa32410b
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 23 16:55:53 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Drop gpg-offline build-time requirement; this is now handled by
|
||||||
|
the local source validator
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 2 01:08:32 UTC 2013 - jengelh@inai.de
|
Wed Oct 2 01:08:32 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
35
clzip.spec
35
clzip.spec
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package clzip
|
# spec file for package clzip
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2011-2013 Pascal Bleser <pascal.bleser@opensuse.org>
|
# Copyright (c) 2011-2013 Pascal Bleser <pascal.bleser@opensuse.org>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -26,7 +26,6 @@ License: GPL-3.0+
|
|||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
Url: http://www.nongnu.org/lzip/clzip.html
|
Url: http://www.nongnu.org/lzip/clzip.html
|
||||||
|
|
||||||
#Freecode-URL: http://freecode.com/projects/clzip
|
|
||||||
Source: http://download.savannah.gnu.org/releases/lzip/%name-%version.tar.lz
|
Source: http://download.savannah.gnu.org/releases/lzip/%name-%version.tar.lz
|
||||||
Source2: http://download.savannah.gnu.org/releases/lzip/%name-%version.tar.lz.sig
|
Source2: http://download.savannah.gnu.org/releases/lzip/%name-%version.tar.lz.sig
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
@ -36,9 +35,6 @@ BuildRequires: glibc-devel
|
|||||||
BuildRequires: lzip
|
BuildRequires: lzip
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%if 0%{?suse_version} >= 1230
|
|
||||||
BuildRequires: gpg-offline
|
|
||||||
%endif
|
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun):info
|
Requires(preun):info
|
||||||
|
|
||||||
@ -53,7 +49,6 @@ Clzip is, in fact, a C language implementation of lzip, intended for
|
|||||||
embedded devices or systems lacking a C++ compiler.
|
embedded devices or systems lacking a C++ compiler.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{?gpg_verify: %gpg_verify %{S:2}}
|
|
||||||
%if 0%{?__lzip:1}
|
%if 0%{?__lzip:1}
|
||||||
%setup -q
|
%setup -q
|
||||||
%else
|
%else
|
||||||
@ -65,31 +60,31 @@ tar --use=lzip -xf "%{S:0}"
|
|||||||
# not autoconf
|
# not autoconf
|
||||||
./configure \
|
./configure \
|
||||||
--srcdir=. \
|
--srcdir=. \
|
||||||
--prefix="%{_prefix}" \
|
--prefix="%_prefix" \
|
||||||
--bindir="%{_bindir}" \
|
--bindir="%_bindir" \
|
||||||
--datadir="%{_datadir}" \
|
--datadir="%_datadir" \
|
||||||
--infodir="%{_infodir}" \
|
--infodir="%_infodir" \
|
||||||
--mandir="%{_mandir}" \
|
--mandir="%_mandir" \
|
||||||
--sysconfdir="%{_sysconfdir}" \
|
--sysconfdir="%_sysconfdir" \
|
||||||
CC="%__cc" \
|
CC="gcc" \
|
||||||
CFLAGS="%{optflags}"
|
CFLAGS="%optflags"
|
||||||
|
|
||||||
%__make %{?_smp_flags}
|
make %{?_smp_flags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
make install DESTDIR="%buildroot"
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%install_info --info-dir="%{_infodir}" "%{_infodir}/clzip.info%{ext_info}"
|
%install_info --info-dir="%_infodir" "%_infodir/clzip.info%ext_info"
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/clzip.info%{ext_info}"
|
%install_info_delete --info-dir="%_infodir" "%_infodir/clzip.info%ext_info"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
%{_bindir}/clzip
|
%_bindir/clzip
|
||||||
%doc %{_mandir}/man1/clzip.1%{ext_man}
|
%doc %_mandir/man1/clzip.1%ext_man
|
||||||
%doc %{_infodir}/clzip.info%{ext_info}
|
%doc %_infodir/clzip.info%ext_info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user