Blame SPECS/xmlstarlet.spec

15c2d5
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
15c2d5
15c2d5
Name: xmlstarlet
15c2d5
Version: 1.6.1
15c2d5
Release: 18%{?dist}
15c2d5
Summary: Command Line XML Toolkit
15c2d5
License: MIT
15c2d5
URL: http://xmlstar.sourceforge.net/
15c2d5
Source0: http://downloads.sourceforge.net/xmlstar/%{name}-%{version}.tar.gz
15c2d5
# https://sourceforge.net/p/xmlstar/bugs/109/
15c2d5
Patch0: xmlstarlet-1.6.1-nogit.patch
15c2d5
# http://sourceforge.net/tracker/?func=detail&aid=3266898&group_id=66612&atid=515106
15c2d5
15c2d5
BuildRequires: make
15c2d5
BuildRequires:  gcc
15c2d5
BuildRequires: xmlto automake autoconf libxslt-devel
15c2d5
BuildRequires: libxml2-devel >= 2.6.23
15c2d5
BuildRequires: docbook5-schemas
15c2d5
15c2d5
15c2d5
%description
15c2d5
XMLStarlet is a set of command line utilities which can be used
15c2d5
to transform, query, validate, and edit XML documents and files
15c2d5
using simple set of shell commands in similar way it is done for
15c2d5
plain text files using UNIX grep, sed, awk, diff, patch, join, etc
15c2d5
commands.
15c2d5
15c2d5
%prep
15c2d5
%setup -q
15c2d5
%patch0 -p1 -b .nogit
15c2d5
15c2d5
15c2d5
%build
15c2d5
autoreconf -i
15c2d5
%configure --disable-static-libs --with-libxml-include-prefix=%{_includedir}/libxml2 --docdir=%{_pkgdocdir} # --libdir=%{_libdir}
15c2d5
make %{?_smp_mflags}
15c2d5
15c2d5
15c2d5
%install
15c2d5
rm -fr %{buildroot}
15c2d5
make install DESTDIR=$RPM_BUILD_ROOT
15c2d5
# Avoid name kludging in autotools
15c2d5
mv $RPM_BUILD_ROOT%{_bindir}/xml $RPM_BUILD_ROOT%{_bindir}/xmlstarlet
15c2d5
15c2d5
15c2d5
%check
15c2d5
make check
15c2d5
15c2d5
15c2d5
15c2d5
%files
15c2d5
%doc AUTHORS ChangeLog NEWS README Copyright TODO
15c2d5
%doc %{_pkgdocdir}/*
15c2d5
%{_mandir}/man1/xmlstarlet.1*
15c2d5
%{_bindir}/xmlstarlet
15c2d5
15c2d5
15c2d5
%changelog
15c2d5
* Wed Sep 15 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 1.6.1-18
15c2d5
- rebuild from git+lookaside
15c2d5
15c2d5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-17
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
15c2d5
15c2d5
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-16
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
15c2d5
15c2d5
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-15
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
15c2d5
15c2d5
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-14
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
15c2d5
15c2d5
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-13
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
15c2d5
15c2d5
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-12
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
15c2d5
15c2d5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-11
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
15c2d5
15c2d5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-10
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
15c2d5
15c2d5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-9
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
15c2d5
15c2d5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-8
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
15c2d5
15c2d5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-7
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
15c2d5
15c2d5
* Tue Mar 01 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 1.6.1-6
15c2d5
- Mark installed documentation as %%doc (#1308255)
15c2d5
15c2d5
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
15c2d5
15c2d5
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-4
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
15c2d5
15c2d5
* Mon Dec  8 2014 Paul W. Frields <stickster@gmail.com> - 1.6.1-3
15c2d5
- Fix noisy git related spew (#1171864)
15c2d5
15c2d5
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
15c2d5
15c2d5
* Wed Aug 13 2014 Paul W. Frields <stickster@gmail.com> - 1.6.1-1
15c2d5
- Update to upstream 1.6.1 (#1129106)
15c2d5
15c2d5
* Mon Jun 16 2014 Paul W. Frields <stickster@gmail.com> - 1.6.0-1
15c2d5
- Update to upstream 1.6.0 (#1037400, #1107292)
15c2d5
15c2d5
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-3
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
15c2d5
15c2d5
* Sat Jul 27 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.5.0-2
15c2d5
- Install docs to %%{_pkgdocdir} where available.
15c2d5
15c2d5
* Wed Jul 10 2013 Paul W. Frields <stickster@gmail.com> - 1.5.0-1
15c2d5
- Update to upstream 1.5.0 (#983025)
15c2d5
- Fix man page rendering (#981050)
15c2d5
- Use standard docdir
15c2d5
15c2d5
* Mon Mar 25 2013 Paul W. Frields <stickster@gmail.com> - 1.4.2-1
15c2d5
- Update to upstream 1.4.2 (#851880)
15c2d5
15c2d5
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
15c2d5
15c2d5
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
15c2d5
15c2d5
* Wed Feb 15 2012 Paul W. Frields <stickster@gmail.com> - 1.3.1-2
15c2d5
- Fix build with configure flag
15c2d5
15c2d5
* Wed Feb 15 2012 Paul W. Frields <stickster@gmail.com> - 1.3.1-1
15c2d5
- Update to upstream 1.3.1 (#782066)
15c2d5
15c2d5
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
15c2d5
15c2d5
* Mon Oct  3 2011 Paul W. Frields <stickster@gmail.com> - 1.3.0-1
15c2d5
- Update to upstream 1.3.0
15c2d5
15c2d5
* Fri Aug 26 2011 Paul W. Frields <stickster@gmail.com> - 1.2.1-1
15c2d5
- Update to upstream 1.2.1
15c2d5
15c2d5
* Sun Apr 10 2011 Paul W. Frields <stickster@gmail.com> - 1.1.0-1
15c2d5
- Update to upstream 1.1.0
15c2d5
15c2d5
* Thu Apr 07 2011 Dan Horák <dan[at]danny.cz> - 1.0.6-2
15c2d5
- fix build on 64-bit big-endians
15c2d5
15c2d5
* Sat Mar 26 2011 Paul W. Frields <stickster@gmail.com> - 1.0.6-1
15c2d5
- Update to upstream 1.0.6
15c2d5
- Drop obsolete patch
15c2d5
15c2d5
* Thu Feb 17 2011 Paul W. Frields <stickster@gmail.com> - 1.0.5-1
15c2d5
- Update to upstream 1.0.5
15c2d5
- Update libxml2 requirement
15c2d5
- Drop unnecessary patch, naming issue fixed upstream
15c2d5
15c2d5
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-2
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
15c2d5
15c2d5
* Wed Jan 19 2011 Paul W. Frields <stickster@gmail.com> - 1.0.4-1
15c2d5
- Update to new upstream 1.0.4
15c2d5
- Drop patches for fixed upstream issues
15c2d5
15c2d5
* Fri Dec 17 2010 Paul W. Frields <stickster@gmail.com> - 1.0.3-1
15c2d5
- Update to new upstream 1.0.3
15c2d5
- Add %%check section for validation testing
15c2d5
15c2d5
* Mon Nov  1 2010 Paul W. Frields <stickster@gmail.com> - 1.0.2-1
15c2d5
- Update to new upstream 1.0.2
15c2d5
15c2d5
* Sun Jan 10 2010 Paul W. Frields <stickster@gmail.com> - 1.0.1-9
15c2d5
- Correct source URL
15c2d5
15c2d5
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-8
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
15c2d5
15c2d5
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
15c2d5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
15c2d5
15c2d5
* Fri Mar 21 2008 Paul W. Frields <stickster@gmail.com> - 1.0.1-6
15c2d5
- Rebuild to use FORTIFY_SOURCE correctly
15c2d5
15c2d5
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.1-5
15c2d5
- Autorebuild for GCC 4.3
15c2d5
15c2d5
* Sat Sep  2 2006 Paul W. Frields <stickster@gmail.com> - 1.0.1-4
15c2d5
- Bump release for FC6 mass rebuild
15c2d5
15c2d5
* Fri Feb 17 2006 Paul W. Frields <stickster@gmail.com> - 1.0.1-3
15c2d5
- FESCo mandated rebuild
15c2d5
15c2d5
* Wed Nov 23 2005 Paul W. Frields <stickster@gmail.com> - 1.0.1-2
15c2d5
- Minor changes per review
15c2d5
15c2d5
* Tue Nov 22 2005 Paul W. Frields <stickster@gmail.com> - 1.0.1-1.2
15c2d5
- Improve patching to conquer inconsistent naming
15c2d5
15c2d5
* Tue Nov 22 2005 Paul W. Frields <stickster@gmail.com> - 1.0.1-1.1
15c2d5
- Initial RPM version
15c2d5
15c2d5