- Autoconfiscate the package thus easing build and installation.
OBS-URL: https://build.opensuse.org/package/show/filesystems/gptfdisk?expand=0&rev=5
This commit is contained in:
parent
c67ab6dac0
commit
63196b5bd3
3
gptfdisk-autoconfiscation.tar.xz
Normal file
3
gptfdisk-autoconfiscation.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20c3ade5b6aec4803b34c456d33613ec41feb7da398e7b501f81c86d2a6d810a
|
||||
size 1144
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 10 17:15:58 CEST 2014 - pth@suse.de
|
||||
|
||||
- Autoconfiscate the package thus easing build and installation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 4 10:19:25 UTC 2014 - sweet_f_a@gmx.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gptfdisk
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,6 +25,7 @@ Group: System/Base
|
||||
Url: http://rodsbooks.com/gdisk
|
||||
|
||||
Source: http://downloads.sf.net/%name/%name-%version.tar.gz
|
||||
Source1: gptfdisk-autoconfiscation.tar.xz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: ncurses-devel
|
||||
@ -34,8 +35,12 @@ BuildRequires: pkgconfig(popt)
|
||||
BuildRequires: pkgconfig(uuid)
|
||||
%else
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: popt-devel
|
||||
%endif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
Obsoletes: gdisk < %version-%release
|
||||
Provides: gdisk = %version-%release
|
||||
@ -47,7 +52,7 @@ GPT-enabled partitioning tools; the fixparts utility (in the fixparts
|
||||
package) fixes some problems with MBR disks that can be created by
|
||||
buggy partitioning software.
|
||||
|
||||
%package fixparts
|
||||
%package fixparts
|
||||
Summary: A tool for repairing certain types of damage to MBR disks
|
||||
Group: System/Base
|
||||
|
||||
@ -58,16 +63,16 @@ and enables changing primary vs. logical partition status. Also
|
||||
provides a few additional partition manipulation features.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -a1
|
||||
rm -f Makefile
|
||||
|
||||
%build
|
||||
CFLAGS="%optflags" CXXFLAGS="%optflags" make %{?_smp_mflags}
|
||||
autoreconf -fi
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
mkdir -p "$b/%_sbindir" "$b/%_mandir/man8";
|
||||
install -pm0755 fixparts {,c,s}gdisk "$b/%_sbindir/";
|
||||
install -pm0644 *.8 "$b/%_mandir/man8/";
|
||||
make DESTDIR=%{_buildroot} install
|
||||
|
||||
%check
|
||||
./gdisk_test.sh
|
||||
|
Loading…
Reference in New Issue
Block a user