]> git.pld-linux.org Git - packages/json-c.git/blame - json-c.spec
- pl
[packages/json-c.git] / json-c.spec
CommitLineData
990e8f22 1Summary: A JSON implementation in C
d42ebe80 2Summary(pl.UTF-8): Implementacja JSON w C
990e8f22
AM
3Name: json-c
4Version: 0.9
5Release: 1
d42ebe80 6License: MIT
990e8f22
AM
7Group: Development/Libraries
8Source0: http://oss.metaparadigm.com/json-c/%{name}-%{version}.tar.gz
9# Source0-md5: 3a13d264528dcbaf3931b0cede24abae
10URL: http://oss.metaparadigm.com/json-c/
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14JSON-C implements a reference counting object model that allows you to
15easily construct JSON objects in C, output them as JSON formatted
16strings and parse JSON formatted strings back into the C
17representation of JSON objects.
18
d42ebe80
JB
19%description -l pl.UTF-8
20JSON-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
22formacie JSON i analizować łańcuchy w formacie JSON tworząc z powrotem
23reprezentacje obiektów JSON w C.
24
990e8f22
AM
25%package devel
26Summary: Header files for the json-c library
d42ebe80 27Summary(pl.UTF-8): Pliki nagłówkowe biblioteki json-c
990e8f22
AM
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32Header files for the json-c library.
33
d42ebe80
JB
34%description devel -l pl.UTF-8
35Pliki nagłówkowe biblioteki json-c.
36
990e8f22
AM
37%package static
38Summary: Static json-c library
d42ebe80 39Summary(pl.UTF-8): Statyczna biblioteka json-c
990e8f22
AM
40Group: Development/Libraries
41Requires: %{name}-devel = %{version}-%{release}
42
43%description static
44Static json-c library.
45
d42ebe80
JB
46%description static -l pl.UTF-8
47Statyczna biblioteka json-c.
48
990e8f22
AM
49%prep
50%setup -q
51
52%build
53%configure
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(644,root,root,755)
d42ebe80 70%doc AUTHORS COPYING ChangeLog README README.html
990e8f22
AM
71%attr(755,root,root) %{_libdir}/libjson.so.*.*.*
72%attr(755,root,root) %ghost %{_libdir}/libjson.so.0
73
74%files devel
75%defattr(644,root,root,755)
990e8f22
AM
76%attr(755,root,root) %{_libdir}/libjson.so
77%{_libdir}/libjson.la
d42ebe80 78%{_includedir}/json
990e8f22
AM
79%{_pkgconfigdir}/json.pc
80
81%files static
82%defattr(644,root,root,755)
83%{_libdir}/libjson.a
This page took 0.040072 seconds and 4 git commands to generate.