1 Summary: A JSON implementation in C
2 Summary(pl.UTF-8): Implementacja JSON w C
7 Group: Development/Libraries
8 Source0: http://oss.metaparadigm.com/json-c/%{name}-%{version}.tar.gz
9 # Source0-md5: 3a13d264528dcbaf3931b0cede24abae
10 URL: http://oss.metaparadigm.com/json-c/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 JSON-C implements a reference counting object model that allows you to
15 easily construct JSON objects in C, output them as JSON formatted
16 strings and parse JSON formatted strings back into the C
17 representation of JSON objects.
19 %description -l pl.UTF-8
20 JSON-C implementuje model obiektów ze zliczaniem odwołań, pozwalający
21 łatwo konstruować obiekty JSON w C, wypisywać je w postaci łańcuchów w
22 formacie JSON i analizować łańcuchy w formacie JSON tworząc z powrotem
23 reprezentacje obiektów JSON w C.
26 Summary: Header files for the json-c library
27 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki json-c
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 Header files for the json-c library.
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki json-c.
38 Summary: Static json-c library
39 Summary(pl.UTF-8): Statyczna biblioteka json-c
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
44 Static json-c library.
46 %description static -l pl.UTF-8
47 Statyczna biblioteka json-c.
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
70 %doc AUTHORS COPYING ChangeLog README README.html
71 %attr(755,root,root) %{_libdir}/libjson.so.*.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libjson.so.0
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/libjson.so
79 %{_pkgconfigdir}/json.pc
82 %defattr(644,root,root,755)