Matthew Booth 2e9c8e5
Name:           libldm
303dc2d
Version:        0.2.4
b916d17
Release:        9%{?dist}%{?extra_release}
Matthew Booth 2e9c8e5
Summary:        A tool to manage Windows dynamic disks
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
License:        LGPLv3+ and GPLv3+
Matthew Booth 2e9c8e5
URL:            https://github.com/mdbooth/libldm 
303dc2d
Source0:        https://github.com/mdbooth/libldm/archive/%{name}-%{version}.tar.gz
Matthew Booth 2e9c8e5
303dc2d
BuildRequires:  autoconf, automake, libtool
Matthew Booth 2e9c8e5
BuildRequires:  glib2-devel >= 2.26.0
Matthew Booth 2e9c8e5
BuildRequires:  json-glib-devel >= 0.14.0
Matthew Booth 2e9c8e5
BuildRequires:  device-mapper-devel >= 1.0
Matthew Booth 2e9c8e5
BuildRequires:  zlib-devel libuuid-devel readline-devel
05160ab
BuildRequires:  gtk-doc
fb447cc
BuildRequires: make
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%description
Matthew Booth 2e9c8e5
libldm is a library for managing Microsoft Windows dynamic disks, which use
Matthew Booth 2e9c8e5
Microsoft's LDM metadata. It can inspect them, and also create and remove
Matthew Booth 2e9c8e5
device-mapper block devices which can be mounted. It includes ldmtool, which
Matthew Booth 2e9c8e5
exposes this functionality as a command-line tool.
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
libldm is released under LGPLv3+. ldmtool is released under GPLv3+.
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%package        devel
Matthew Booth 2e9c8e5
Summary:        Development files for %{name}
Matthew Booth 2e9c8e5
Requires:       %{name}%{?_isa} = %{version}-%{release}
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%description    devel
Matthew Booth 2e9c8e5
The %{name}-devel package contains libraries and header files for
Matthew Booth 2e9c8e5
developing applications that use %{name}.
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%prep
303dc2d
%setup -q -n %{name}-%{name}-%{version}
746b12c
sed -i -e 's/-Werror //' src/Makefile.*
303dc2d
gtkdocize
303dc2d
autoreconf -i
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%build
Matthew Booth 2e9c8e5
%configure --disable-static --enable-gtk-doc
05160ab
make %{?_smp_mflags} V=1
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%install
Matthew Booth 2e9c8e5
%make_install
Matthew Booth 2e9c8e5
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
551f637
%ldconfig_scriptlets
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%files
Matthew Booth 2e9c8e5
%doc COPYING.lgpl COPYING.gpl
Matthew Booth 2e9c8e5
%{_libdir}/*.so.*
Matthew Booth 2e9c8e5
%{_bindir}/ldmtool
Matthew Booth 2e9c8e5
%{_mandir}/man1/ldmtool.1.gz
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%files devel
Matthew Booth 2e9c8e5
%{_includedir}/*
Matthew Booth 2e9c8e5
%{_libdir}/*.so
Matthew Booth 2e9c8e5
%{_libdir}/pkgconfig/ldm-1.0.pc
Matthew Booth 2e9c8e5
%{_datadir}/gtk-doc
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
Matthew Booth 2e9c8e5
%changelog
b916d17
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-9
b916d17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
b916d17
36a33e6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-8
36a33e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
36a33e6
f7ca407
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-7
f7ca407
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f7ca407
8762bc0
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-6
8762bc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8762bc0
8f07804
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-5
8f07804
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8f07804
bec421b
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.4-4
bec421b
- Rebuild for readline 8.0
bec421b
f0c83e4
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-3
f0c83e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f0c83e4
86db519
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
86db519
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
86db519
303dc2d
* Thu Apr 26 2018 Richard W.M. Jones <rjones@redhat.com> - 0.2.4-1
303dc2d
- New upstream version 0.2.4.
303dc2d
- Remove all upstream patches.
303dc2d
- Build from github tarball.
303dc2d
cb289ff
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-14
cb289ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cb289ff
e4891ec
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-13
e4891ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e4891ec
9bf39e6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-12
9bf39e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9bf39e6
eb90251
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-11
eb90251
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
eb90251
Igor Gnatenko 364fc92
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.2.3-10
Igor Gnatenko 364fc92
- Rebuild for readline 7.x
Igor Gnatenko 364fc92
aabb434
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-9
aabb434
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
aabb434
e516293
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-8
e516293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e516293
051f100
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-7
051f100
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
051f100
02a3055
* Tue Jul 15 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.3-6
02a3055
- Add patch to fix Werror=format-security issues
02a3055
d923323
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-5
d923323
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d923323
05160ab
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.3-4
05160ab
- Add gtk-doc to fix FTBFS
05160ab
- Add patch for deprecated g_type_init
05160ab
1679a4f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
1679a4f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1679a4f
ad62b06
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
ad62b06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ad62b06
05160ab
* Mon Sep 24 2012 Matthew Booth <mbooth@redhat.com> - 0.2.3-1
Matthew Booth 2e9c8e5
- Initial packaging