tstclair pushed to picojson (epel7). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 6 15:19:50 UTC 2015


>From 5d01ac9cf3dd04d76c96c145d8579efb651acf70 Mon Sep 17 00:00:00 2001
From: "Timothy St. Clair" <tstclair at redhat.com>
Date: Wed, 25 Jun 2014 12:04:27 -0500
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..6abc09c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/picojson-1.1.1-05f8f10.tar.gz
diff --git a/picojson.spec b/picojson.spec
new file mode 100644
index 0000000..f68e408
--- /dev/null
+++ b/picojson.spec
@@ -0,0 +1,57 @@
+%global commit 05f8f10a2ae77a55da6724e7cdabc4dec97941e8
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name:           picojson
+Summary:        A header-file-only, JSON parser / serializer in C++
+Version:        1.1.1
+Release:        1.%{shortcommit}%{?dist}
+
+Group:          Development/Libraries
+License:        BSD
+# http://opensource.org/licenses/BSD-2-Clause
+URL:            https://github.com/kazuho/picojson
+
+Source0:        https://github.com/kazuho/picojson/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
+BuildRequires:  make
+#BuildRequires:  gcc-libstdc++-devel
+#Requires:       gcc-libstdc++-devel
+
+%description
+PicoJSON is a tiny JSON parser / serializer for C++ with following properties:
+Header-file only, No external dependencies (only uses standard C++ libraries),
+STL-friendly (arrays are represented by using std::vector, objects are std::map)
+provides both pull interface and streaming (event-based) interface.
+
+%package devel
+Summary:        Header files for picojson development
+Group:          Development/Libraries
+Provides:       %{name}-static = %{version}-%{release}
+
+%description devel
+Provide header file for %{name}.
+
+%prep
+%setup -qn %{name}-%{commit}
+
+%build
+echo "Nothing to do"
+
+%check
+make test
+
+%install
+mkdir -p %{buildroot}%{_includedir}
+install -p -m 0644 picojson.h %{buildroot}%{_includedir}/picojson.h
+
+%files devel
+%{_includedir}/picojson.h
+%doc LICENSE README.mkdn examples
+
+%changelog
+* Wed Jun 25 2014 Timothy St. Clair <tstclair at redhat.com> 1.1.1-1
+- update per review
+
+* Mon Jun 23 2014 Timothy St. Clair <tstclair at redhat.com> 1.0.0-1
+- initial rpm
+
diff --git a/sources b/sources
index e69de29..b2edcea 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+35a6fb9b256ce5409cc27bbea0c3ceb9  picojson-1.1.1-05f8f10.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/picojson.git/commit/?h=epel7&id=5d01ac9cf3dd04d76c96c145d8579efb651acf70


More information about the scm-commits mailing list