[libldm] Initial import

Matthew Booth mdbooth at fedoraproject.org
Thu Sep 20 16:18:45 UTC 2012


commit 2e9c8e59fe3f3547b9999e3c33044a5e652b7dea
Author: Matthew Booth <mbooth at redhat.com>
Date:   Thu Sep 20 17:18:13 2012 +0100

    Initial import

 .gitignore  |    1 +
 libldm.spec |   79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..79bef22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libldm-0.2.1.tar.gz
diff --git a/libldm.spec b/libldm.spec
new file mode 100644
index 0000000..9c38396
--- /dev/null
+++ b/libldm.spec
@@ -0,0 +1,79 @@
+Name:           libldm
+Version:        0.2.1
+Release:        1%{?dist}%{?extra_release}
+Summary:        A tool to manage Windows dynamic disks
+
+License:        LGPLv3+ and GPLv3+
+URL:            https://github.com/mdbooth/libldm 
+Source0:        %{url}/downloads/%{name}-%{version}.tar.gz
+
+BuildRequires:  glib2-devel >= 2.26.0
+BuildRequires:  json-glib-devel >= 0.14.0
+BuildRequires:  device-mapper-devel >= 1.0
+BuildRequires:  zlib-devel libuuid-devel readline-devel
+
+
+%description
+libldm is a library for managing Microsoft Windows dynamic disks, which use
+Microsoft's LDM metadata. It can inspect them, and also create and remove
+device-mapper block devices which can be mounted. It includes ldmtool, which
+exposes this functionality as a command-line tool.
+
+libldm is released under LGPLv3+. ldmtool is released under GPLv3+.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static --enable-gtk-doc
+make %{?_smp_mflags}
+
+
+%install
+%make_install
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc COPYING.lgpl COPYING.gpl
+%{_libdir}/*.so.*
+%{_bindir}/ldmtool
+%{_mandir}/man1/ldmtool.1.gz
+
+
+%files devel
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/ldm-1.0.pc
+%{_datadir}/gtk-doc
+
+
+%changelog
+* Thu Sep 20 2012 Matthew Booth <mbooth at redhat.com> - 0.2.1-1
+- Fix license
+- Include license text from upstream
+- Don't mark library documentation as doc
+
+* Wed Sep 19 2012 Matthew Booth <mbooth at redhat.com> - 0.2-2
+- Run ldconfig in post and postun
+- Define man page and gtk-doc as documentation
+- Don't delete build root in install
+
+* Wed Sep 19 2012 Matthew Booth <mbooth at redhat.com> - 0.2-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..74c4fd4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2002fc825f49a6b507d34b4e1f8c6457  libldm-0.2.1.tar.gz


More information about the scm-commits mailing list