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
This commit is contained in:
commit
7cbc0c5108
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
28
ldflags.patch
Normal file
28
ldflags.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
Makefile.in | 8 ++++----
|
||||||
|
1 files changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile.in b/Makefile.in
|
||||||
|
index 315b28e..3d19ef3 100644
|
||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -109,16 +109,16 @@ THIN_RESTORE_OBJECTS=$(subst .cc,.o,$(THIN_RESTORE_SOURCE))
|
||||||
|
THIN_CHECK_OBJECTS=$(subst .cc,.o,$(THIN_CHECK_SOURCE))
|
||||||
|
|
||||||
|
thin_debug: $(THIN_DEBUG_OBJECTS) thin_debug.o
|
||||||
|
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
|
||||||
|
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
|
||||||
|
|
||||||
|
thin_dump: $(THIN_DUMP_OBJECTS) thin_dump.o
|
||||||
|
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
|
||||||
|
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
|
||||||
|
|
||||||
|
thin_restore: $(THIN_RESTORE_OBJECTS) thin_restore.o
|
||||||
|
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
|
||||||
|
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) $(LIBEXPAT)
|
||||||
|
|
||||||
|
thin_check: $(THIN_CHECK_OBJECTS) thin_check.o
|
||||||
|
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LIBS)
|
||||||
|
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
$(RM) *.o unit-tests/*.o *.d unit-tests/*.d $(TEST_PROGRAMS) $(PROGRAMS)
|
3
thin-provisioning-tools-0.1.5.tar.bz2
Normal file
3
thin-provisioning-tools-0.1.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5694d3c3fba28e53dd5f91bef705265f05f84c464c934eaab6d050861dea46fc
|
||||||
|
size 174167
|
17
thin-provisioning-tools.changes
Normal file
17
thin-provisioning-tools.changes
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 6 13:29:41 UTC 2013 - martin@pluskal.org
|
||||||
|
|
||||||
|
- Cleanup .spec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 6 12:59:38 UTC 2013 - martin@pluskal.org
|
||||||
|
|
||||||
|
- Add patch for ldflags - ldflags.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 31 14:44:47 CEST 2012 - fehr@suse.de
|
||||||
|
|
||||||
|
- Make initial version of package from version 0.1.5 of
|
||||||
|
thin-provisioning-tools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
56
thin-provisioning-tools.spec
Normal file
56
thin-provisioning-tools.spec
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#
|
||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user