8baf67
Summary: Linux UDF Filesystem userspace utilities
8baf67
Name: udftools
8baf67
Version: 1.0.0b3
fdd94d
Release: 29%{?dist}
2d07f9
License: GPLv2+
8baf67
Group: Applications/Archiving
8baf67
URL: http://sourceforge.net/projects/linux-udf/
b84cd2
#Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
b84cd2
Source: https://sourceforge.net/projects/linux-udf/files/%{name}/%{version}/%{name}-%{version}.tar.gz
70e1ed
Source2: wrudf.1
ba8184
Patch0: udftools-1.0.0b3-pktsetup-chardev.patch
ba8184
Patch1: udftools-1.0.0b3-mkudffs-bigendian.patch
ba8184
Patch2: udftools-1.0.0b3-wrudf-gcc4.patch
690cef
Patch3: udftools-1.0.0b3-warningfixes.patch
2d07f9
Patch4: udftools-1.0.0b3-fixcompile.patch
2d07f9
Patch5: udftools-1.0.0b3-warningfixes2.patch
ec629e
Patch6: udftools-1.0.0b3-extsize.patch
f712e0
Patch7: udftools-1.0.0b3-staticanal.patch
021bc4
Patch8: udftools-1.0.0b3-wrudf_help.patch
145ce0
Patch9: udftools-1.0.0b3-man-missing-options.patch
690cef
BuildRequires: readline-devel, ncurses-devel
c57230
BuildRequires: autoconf, automake, libtool, perl-Carp
8baf67
8baf67
%description
8baf67
Linux UDF Filesystem userspace utilities.
8baf67
8baf67
8baf67
%prep
8baf67
%setup
ba8184
%patch0 -p1 -b .pktsetup-chardev
ba8184
%patch1 -p1 -b .mkudffs-bigendian
ba8184
%patch2 -p1 -b .wrudf-gcc4
690cef
%patch3 -p1 -b .warningfixes
2d07f9
%patch4 -p1 -b .fixcompile
2d07f9
%patch5 -p1 -b .warningfixes2
ec629e
%patch6 -p1 -b .extsize
f712e0
%patch7 -p1 -b .staticanal
021bc4
%patch8 -p1 -b .wrudfhelp
145ce0
%patch9 -p1 -b .man
8baf67
8baf67
8baf67
%build
16cb64
./bootstrap
fdd94d
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing --std=gnu89"
e27f07
%configure
fb25eb
%{__make} %{?_smp_mflags}
8baf67
8baf67
%install
8baf67
%makeinstall
aa7ea7
./libtool --finish %{buildroot}%{_libdir}
70e1ed
install -m 644 %{SOURCE2} %buildroot%{_mandir}/man1/
145ce0
ls %{buildroot}
145ce0
rm -rf %{buildroot}%{_bindir}/udffsck
8baf67
8baf67
%files
8baf67
%doc AUTHORS ChangeLog COPYING
8baf67
%{_bindir}/*
278b2b
#udffsck does nothing (in version 1.0.0b3), do not package
278b2b
%exclude %{_bindir}/udffsck
3ae025
%exclude %{_libdir}/libudffs.a
8baf67
%exclude %{_libdir}/libudffs.la
8baf67
%{_mandir}/man?/*
8baf67
8baf67
8baf67
%changelog
fdd94d
* Fri Feb 20 2015 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-29
fdd94d
- FTBFS fixed, --std=gnu89 is no longer default with gcc-5
fdd94d
5e453d
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-28
5e453d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5e453d
2d0e47
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-27
2d0e47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2d0e47
145ce0
* Wed Apr 09 2014 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-26
145ce0
- added missing option in man pages
145ce0
b84cd2
* Fri Oct 04 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-25
b84cd2
- invalid source url fixed
b84cd2
48c028
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-24
48c028
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
48c028
70e1ed
* Tue Apr 16 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-23
70e1ed
- Build dependency on txt2man unacceptable. Included final man page wrudf.1 instead of source.
70e1ed
684113
* Tue Apr 16 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-22
684113
- added man page for wrudf
684113
021bc4
* Mon Apr 15 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-21
021bc4
- added "--help"/"-h" with basic info to wrudf
021bc4
278b2b
* Fri Apr 05 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.0.0b3-20
278b2b
- udffsck is an empty placeholder, erased
278b2b
ce2fb3
* Mon Mar 25 2013 Harald Hoyer <harald@redhat.com> 1.0.0b3-19
ce2fb3
- run autoreconf to support aarch64 architecture
ce2fb3
Resolves: rhbz#926671
ce2fb3
44bc47
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-18
44bc47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
44bc47
7986d0
* Tue Sep 18 2012 Honza Horak <hhorak@redhat.com> - 1.0.0b3-17
7986d0
- Minor spec file fixes
7986d0
1d261c
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-16
1d261c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1d261c
a1f7d2
* Thu Jan 26 2012 Honza Horak <hhorak@redhat.com> - 1.0.0b3-15
ec629e
- fixed segmentation fault
ec629e
  Resolves: #685005
f712e0
- fixed some most obvious issues from static analysis
ec629e
f26533
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-14
f26533
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f26533
7887b4
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-13
7887b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7887b4
Roman Rakus 5479a3
* Wed Jun 23 2010 Roman Rakus <rrakus@redhat.com> - 1.0.0b3-12
Roman Rakus 5479a3
- Build with -fno-strict-aliasing CFLAG
Roman Rakus 5479a3
e54a8c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-11
e54a8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e54a8c
a8ed02
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0b3-10
a8ed02
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a8ed02
d6bf98
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.0b3-9
d6bf98
- Autorebuild for GCC 4.3
d6bf98
16cb64
* Thu Aug 23 2007 Harald Hoyer <harald@redhat.com> - 1.0.0b3-8
2d07f9
- fixed compile issues
2d07f9
- added more bigendian patches
2d07f9
- changed license tag
2d07f9
d3f4d9
* Mon Aug 28 2006 Matthias Saou <http: freshrpms.net=""/> 1.0.0b3-7
690cef
- FC6 rebuild.
d3f4d9
d3f4d9
* Mon Mar  6 2006 Matthias Saou <http: freshrpms.net=""/> 1.0.0b3-6
690cef
- Add ncurses-devel build requirement, since it's not pulled in anymore.
690cef
- Add patch to fix as many trivial warnings as possible. Some stuff seems to
690cef
  still not be 64bit clean, though.
690cef
b51b2d
* Mon Mar  6 2006 Matthias Saou <http: freshrpms.net=""/> 1.0.0b3-5
b51b2d
- FC5 rebuild.
b51b2d
3ae025
* Thu Feb  9 2006 Matthias Saou <http: freshrpms.net=""/> 1.0.0b3-4
3ae025
- Rebuild for new gcc/glibc.
3ae025
- Exclude the static library... there isn't even a header file.
3ae025
ba8184
* Tue May  3 2005 Matthias Saou <http: freshrpms.net=""/> 1.0.0b3-3
ba8184
- Include patches to fix big endian issue and gcc4 compile.
385d4e
8baf67
* Mon Feb  7 2005 Matthias Saou <http: freshrpms.net=""/> 1.0.0b3-1
8baf67
- Initial RPM release, based on spec file from John Treacy.
8baf67
- Exclude .la file.
8baf67
- Remove unneeded /sbin/ldconfig calls (only a static lib for now).
8baf67