Blame SPECS/xmlstarlet.spec

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