Blame SPECS/xmlstarlet.spec

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