]> git.pld-linux.org Git - packages/json-c.git/commitdiff
- initial auto/th/json-c-0_9-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 13 Apr 2010 09:43:33 +0000 (09:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    json-c.spec -> 1.1

json-c.spec [new file with mode: 0644]

diff --git a/json-c.spec b/json-c.spec
new file mode 100644 (file)
index 0000000..15e6d1d
--- /dev/null
@@ -0,0 +1,68 @@
+Summary:       A JSON implementation in C
+Name:          json-c
+Version:       0.9
+Release:       1
+License:       LGPL v2
+Group:         Development/Libraries
+Source0:       http://oss.metaparadigm.com/json-c/%{name}-%{version}.tar.gz
+# Source0-md5: 3a13d264528dcbaf3931b0cede24abae
+URL:           http://oss.metaparadigm.com/json-c/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+JSON-C implements a reference counting object model that allows you to
+easily construct JSON objects in C, output them as JSON formatted
+strings and parse JSON formatted strings back into the C
+representation of JSON objects.
+
+%package devel
+Summary:       Header files for the json-c library
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for the json-c library.
+
+%package static
+Summary:       Static json-c library
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static json-c library.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README INSTALL AUTHORS NEWS README
+%attr(755,root,root) %{_libdir}/libjson.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libjson.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/json
+%attr(755,root,root) %{_libdir}/libjson.so
+%{_libdir}/libjson.la
+%{_pkgconfigdir}/json.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libjson.a
This page took 0.113097 seconds and 4 git commands to generate.