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