thin-provisioning-tools/thin-provisioning-tools.spec
Andreas Jaeger 7cbc0c5108 Accepting request 151471 from home:mpluskal
Necessary for thin provisioning support in lvm2 (see BNC#802136), when accepted please merge also to factory and 12.3

OBS-URL: https://build.opensuse.org/request/show/151471
OBS-URL: https://build.opensuse.org/package/show/Base:System/thin-provisioning-tools?expand=0&rev=1
2013-02-15 12:14:54 +00:00

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