.gear/rules | 2 ++ .gear/tags/list | 1 + yajl.spec | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..4fcfd99 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. +diff: @version@:. . diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..eaea595 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +a0ecdde0c042b9256170f2f8890dd9451a4240aa 2.1.0 diff --git a/yajl.spec b/yajl.spec new file mode 100644 index 0000000..8c00292 --- /dev/null +++ b/yajl.spec @@ -0,0 +1,86 @@ +# vim: set ft=spec : -*- rpm-spec -*- + +Name: yajl +Version: 2.1.0 +Release: alt1.1 + +Summary: Yet Another JSON Library +Group: Development/C +License: BSD +Url: http://github.com/lloyd/yajl + +Requires: lib%name = %version-%release + +Source: %name-%version.tar +Patch: %name-%version-%release.patch + +BuildRequires(pre): rpm-macros-cmake +BuildRequires: cmake + +%description +Yet Another JSON Library (YAJL). + +%package -n lib%name +Summary: Yet Another JSON Library +Group: Development/C + +%description -n lib%name +Yet Another JSON Library (YAJL). + +%package -n lib%name-devel +Summary: Yet Another JSON Library (development headers) +Group: Development/C +Requires: lib%name = %version-%release + +%description -n lib%name-devel +Development headers for Yet Another JSON Library (YAJL). + +%prep +%setup +%patch -p1 + +%build +%cmake +%cmake_build + +%install +%cmake_install +mkdir -p %buildroot%_pkgconfigdir +mv %buildroot%_datadir/pkgconfig/*.pc %buildroot%_pkgconfigdir/ + +%check +%cmake_build --target test + +%files +%doc README TODO +%_bindir/json_reformat +%_bindir/json_verify + +%files -n lib%name +%_libdir/libyajl.so.* + +%files -n lib%name-devel +%_includedir/yajl +%_libdir/libyajl.so +%_pkgconfigdir/*.pc + +%changelog +* Wed Apr 28 2021 Arseny Maslennikov 2.1.0-alt1.1 +- NMU: spec: adapted to new cmake macros. + +* Mon May 12 2014 Alexey Shabalin 2.1.0-alt1 +- 2.1.0 + +* Wed Jun 13 2012 Alexey Shabalin 2.0.4-alt1 +- 2.0.4 + +* Fri Apr 15 2011 Alexey Shabalin 1.0.11-alt1 +- 1.0.11 +- rebuild for debuginfo + +* Tue Jan 25 2011 Igor Vlasenko 1.0.9-alt1.1 +- rebuild for set:provides by request of mithraen + +* Sun Apr 11 2010 Alexey I. Froloff 1.0.9-alt1 +- Built for Sisyphus +