Blame SPECS/xmlstarlet.spec

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