package created using the webbuild interface [release 2.6-1mamba;Wed Aug 06 2014]
This commit is contained in:
parent
9a77d5c5ea
commit
88611e9f0f
@ -1,2 +1,4 @@
|
||||
# jansson
|
||||
|
||||
Jansson is a C library for encoding, decoding and manipulating JSON data.
|
||||
|
||||
|
71
jansson.spec
Normal file
71
jansson.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: jansson
|
||||
Version: 2.6
|
||||
Release: 1mamba
|
||||
Summary: A C library for encoding, decoding and manipulating JSON data
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.digip.org/jansson/
|
||||
Source: http://www.digip.org/jansson/releases/jansson-%{version}.tar.bz2
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Jansson is a C library for encoding, decoding and manipulating JSON data.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
This package contains shared libraries for %{name}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libjansson.so.*
|
||||
%doc LICENSE
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/jansson.h
|
||||
%{_includedir}/jansson_config.h
|
||||
%{_libdir}/libjansson.so
|
||||
%{_libdir}/pkgconfig/jansson.pc
|
||||
%doc CHANGES README.rst
|
||||
|
||||
%changelog
|
||||
* Wed Aug 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user