57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
|
#
|
||
|
# spec file for package thin-provisioning-tools
|
||
|
#
|
||
|
# Copyright (c) 2013 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
|
||
|
# upon. The license for this file, and modifications and additions to the
|
||
|
# file, is the same license as for the pristine package itself (unless the
|
||
|
# license for the pristine package is not an Open Source License, in which
|
||
|
# case the license is the MIT License). An "Open Source License" is a
|
||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||
|
# published by the Open Source Initiative.
|
||
|
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
Name: thin-provisioning-tools
|
||
|
Version: 0.1.5
|
||
|
Release: 0
|
||
|
Summary: Thin Provisioning Tools
|
||
|
License: GPL-3.0
|
||
|
Group: System/Base
|
||
|
Url: https://github.com/jthornber/thin-provisioning-tools/
|
||
|
Source: thin-provisioning-tools-0.1.5.tar.bz2
|
||
|
Patch0: ldflags.patch
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
BuildRequires: autoconf
|
||
|
BuildRequires: automake
|
||
|
BuildRequires: boost-devel
|
||
|
BuildRequires: gcc-c++
|
||
|
BuildRequires: libexpat-devel
|
||
|
|
||
|
%description
|
||
|
A suite of tools for thin provisioning on Linux.
|
||
|
|
||
|
%prep
|
||
|
%setup
|
||
|
%patch0 -p1
|
||
|
|
||
|
%build
|
||
|
autoreconf
|
||
|
%configure --bindir=/bin --libdir=/%_lib --with-optimisation=""
|
||
|
make %{?jobs:-j%jobs}
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} BINDIR=${RPM_BUILD_ROOT}/usr/bin
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc COPYING README
|
||
|
%{_bindir}/*
|
||
|
%{_mandir}/man8/*
|
||
|
|
||
|
%changelog
|