Name: libason Version: 0.1.1 Release: 1%{?dist} Summary: A library for manipulating ASON values License: GPLv3+ URL: https://github.com/sadmac7000/libason Source0: https://sadmac.fedorapeople.org/libason-0.1.1.tar.gz Patch0: no_man_symlinks.patch Patch1: config-fix.patch BuildRequires: lemon, readline-devel, automake, autoconf, libtool %description ASON is an extension of JSON which specifies a semantic, and allows for pattern expressions that can specify or match groups of JSON values. libason is a simple library for manipulating ASON programmatically in C. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 %patch1 -p1 %build autoreconf -i %configure --disable-static --disable-lcov make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' ln -s %{_mandir}/man3/ason_inspect.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_check_represented_in.3 ln -s %{_mandir}/man3/ason_inspect.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_check_equal.3 ln -s %{_mandir}/man3/ason_inspect.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_type.3 ln -s %{_mandir}/man3/ason_inspect.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_long.3 ln -s %{_mandir}/man3/ason_inspect.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_double.3 ln -s %{_mandir}/man3/ason_inspect.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_string.3 ln -s %{_mandir}/man3/ason_asprint.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_asprint_unicode.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iterate.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_enter.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_exit.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_next.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_prev.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_long.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_double.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_string.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_value.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_key.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_destroy.3 ln -s %{_mandir}/man3/ason_iterators.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_iter_type.3 ln -s %{_mandir}/man3/ason_read.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_readn.3 ln -s %{_mandir}/man3/ason_read.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_ns_read.3 ln -s %{_mandir}/man3/ason_read.3 $RPM_BUILD_ROOT%{_mandir}/man3/ason_ns_readn.3 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYING %{_libdir}/*.so.* %{_bindir}/asonq %{_mandir}/man1/* %files devel %doc COPYING %{_includedir}/* %{_libdir}/*.so %{_mandir}/man3/* %changelog * Sun Sep 28 2014 Casey Dahlin - 0.1.1-1 - Initial packaging