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