d33e10f
%global debug_package %{nil}
d33e10f
# debug info was always empty, so disable for now
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
Name:           picojson
Timothy St. Clair 5d01ac9
Summary:        A header-file-only, JSON parser / serializer in C++
d33e10f
Version:        1.3.0
c69f1e2
Release:        7%{?dist}
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
License:        BSD
Timothy St. Clair 5d01ac9
# http://opensource.org/licenses/BSD-2-Clause
Timothy St. Clair 5d01ac9
URL:            https://github.com/kazuho/picojson
d33e10f
Source0:        https://github.com/kazuho/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Timothy St. Clair 5d01ac9
9d16554
BuildRequires:  gcc-c++
Timothy St. Clair 5d01ac9
BuildRequires:  make
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%description
Timothy St. Clair 5d01ac9
PicoJSON is a tiny JSON parser / serializer for C++ with following properties:
Timothy St. Clair 5d01ac9
Header-file only, No external dependencies (only uses standard C++ libraries),
Timothy St. Clair 5d01ac9
STL-friendly (arrays are represented by using std::vector, objects are std::map)
Timothy St. Clair 5d01ac9
provides both pull interface and streaming (event-based) interface.
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%package devel
Timothy St. Clair 5d01ac9
Summary:        Header files for picojson development
Timothy St. Clair 5d01ac9
Provides:       %{name}-static = %{version}-%{release}
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%description devel
Timothy St. Clair 5d01ac9
Provide header file for %{name}.
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%prep
d33e10f
%setup -qn %{name}-%{version}
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%build
Timothy St. Clair 5d01ac9
echo "Nothing to do"
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%check
Timothy St. Clair 5d01ac9
make test
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%install
Timothy St. Clair 5d01ac9
mkdir -p %{buildroot}%{_includedir}
Timothy St. Clair 5d01ac9
install -p -m 0644 picojson.h %{buildroot}%{_includedir}/picojson.h
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%files devel
Timothy St. Clair 5d01ac9
%{_includedir}/picojson.h
Timothy St. Clair 5d01ac9
%doc LICENSE README.mkdn examples
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
%changelog
c69f1e2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-7
c69f1e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c69f1e2
e617e94
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
e617e94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e617e94
c7d26f8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-5
c7d26f8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c7d26f8
54e263e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
54e263e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
54e263e
48ce7b7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
48ce7b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
48ce7b7
c18bbe9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
c18bbe9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c18bbe9
d33e10f
* Sun Dec 04 2016 Filipe Rosset <rosset.filipe@gmail.com> - 1.3.0-1
d33e10f
- Rebuilt for new release 1.3.0 + spec clean updisabled empty debuginfo
d33e10f
- Fixes rhbz #1114328 rhbz #1175221 and rhbz #1307862
d33e10f
6ae4758
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4.05f8f10
6ae4758
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6ae4758
1a1b29b
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3.05f8f10
1a1b29b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1a1b29b
b681ac3
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2.05f8f10
b681ac3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b681ac3
Timothy St. Clair 5d01ac9
* Wed Jun 25 2014 Timothy St. Clair <tstclair@redhat.com> 1.1.1-1
Timothy St. Clair 5d01ac9
- update per review
Timothy St. Clair 5d01ac9
Timothy St. Clair 5d01ac9
* Mon Jun 23 2014 Timothy St. Clair <tstclair@redhat.com> 1.0.0-1
Timothy St. Clair 5d01ac9
- initial rpm