automatic version update by autodist [release 2.1.0-1mamba;Mon Mar 31 2014]

This commit is contained in:
Automatic Build System 2024-01-06 06:14:53 +01:00
parent 10695f2cc3
commit 844b94085d
2 changed files with 99 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libyajl
Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. YAJL is released under the ISC license.

97
libyajl.spec Normal file
View File

@ -0,0 +1,97 @@
%define majver %(echo %version | cut -d. -f1-3)
%define minver %(echo %version | cut -d. -f4)
Name: libyajl
Version: 2.1.0
Release: 1mamba
Summary: Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://lloyd.github.com/yajl/
# source code is dowloadable here https://nodeload.github.com/lloyd/yajl/tarball/2.0.1
Source: http://github.com/lloyd/yajl/tarball/%{majver}/yajl-%{majver}-0-g%{minver}.tar.gz
License: ISC
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Yet Another JSON Library. YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. YAJL is released under the ISC license.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Development/Tools
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q -c
mv lloyd-yajl-* lloyd-yajl
%build
cd lloyd-yajl
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd lloyd-yajl
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libyajl.so.*
%doc lloyd-yajl/COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/yajl
%{_includedir}/yajl/*.h
%{_libdir}/libyajl.so
%{_libdir}/libyajl_s.a
%{_datadir}/pkgconfig/yajl.pc
%doc lloyd-yajl/ChangeLog lloyd-yajl/README lloyd-yajl/TODO
%files tools
%defattr(-,root,root)
%{_bindir}/json_reformat
%{_bindir}/json_verify
%changelog
* Mon Mar 31 2014 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic version update by autodist
* Mon Jul 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1.f4b2b1a-1mamba
- update to 2.0.1.gf4b2b1a
- fixed source url for updates management
- fixed license and tools group
* Fri May 11 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.0.1-1mamba
- package created by autospec