Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yangdawei:gbs:openSUSE:12.1
json-c
json-c.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File json-c.spec of Package json-c
Name: json-c Version: 0.9 Release: 1%{?dist} Summary: A JSON implementation in C Group: Development/Libraries License: MIT URL: http://oss.metaparadigm.com/json-c/ Source0: http://oss.metaparadigm.com/json-c/json-c-%{version}.tar.lzma Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig %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: Development headers and library for json-c Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package contains the development headers and library for json-c. %prep %setup -q for doc in ChangeLog; do iconv -f iso-8859-1 -t utf8 $doc > $doc.new && touch -r $doc $doc.new && mv $doc.new $doc done %build chmod 755 autogen.sh %reconfigure --enable-shared --disable-static make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} # Get rid of la files rm -rf %{buildroot}%{_libdir}/*.la %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING NEWS README README.html %{_libdir}/libjson.so.* %files devel %defattr(-,root,root,-) %{_includedir}/json/* %{_libdir}/libjson.so %{_libdir}/pkgconfig/json.pc
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor