1Name: @PACKAGE_NAME@ 2Version: @PACKAGE_VERSION@ 3Release: 1%{?dist} 4Summary: The libxo library 5 6Prefix: /usr 7 8Vendor: Juniper Networks, Inc. 9Packager: Phil Shafer <phil@juniper.net> 10License: BSD 11 12Group: Development/Libraries 13URL: https://github.com/Juniper/libxo 14Source0: https://github.com/Juniper/@PACKAGE_NAME@/releases/@PACKAGE_VERSION@/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz 15 16 17%description 18Welcome to libxo, a library that generates text, XML, JSON, and HTML 19from a single source code path. 20 21%prep 22%setup -q 23 24%build 25%configure 26make %{?_smp_mflags} 27 28%install 29rm -rf $RPM_BUILD_ROOT 30%make_install 31 32%clean 33rm -rf $RPM_BUILD_ROOT 34 35%post -p /sbin/ldconfig 36 37%files 38%{_bindir}/* 39%{_includedir}/libxo/* 40%{_libdir}/* 41%{_datadir}/doc/libxo/* 42%docdir %{_datadir}/doc/libxo/* 43%{_mandir}/*/* 44%docdir %{_mandir}/*/* 45