SPECS/asciidoc/asciidoc.spec
e0f319ad
 Summary:    AsciiDoc is a human readable text document format
 Name:       asciidoc
 Version:    8.6.9
421d1f6b
 Release:    3%{?dist}
e0f319ad
 License:    GPLv2
 URL:        http://asciidoc.org/
 Group:      System Environment/Development
 Vendor:     VMware, Inc.
 Distribution:   Photon
 Source0:    http://sourceforge.net/projects/asciidoc/files/asciidoc/%{version}/%{name}-%{version}.tar.gz
3cc43c92
 %define sha1 asciidoc=82e574dd061640561fa0560644bc74df71fb7305
421d1f6b
 BuildArch:  noarch
e0f319ad
 
 %description
 AsciiDoc is a human readable text document format that can be easily converted to other document formats.
 
 %prep
 %setup -q
 
 %build
 export CFLAGS="%{optflags}"
 ./configure  --prefix=%{_prefix}
 
 make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}%{_infodir}
 make DESTDIR=%{buildroot} install
 
02c3b9a3
 %check
 python tests/testasciidoc.py update
 python tests/testasciidoc.py run
 
e0f319ad
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
 /usr/bin/*
 /usr/etc/*
 /usr/share/man/*
 
 %changelog
421d1f6b
 *	Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 8.6.9-3
 -	Fix arch
c3a3fd12
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 8.6.9-2
 -	GA - Bump release of all rpms
e0f319ad
 *   Fri Jun 5 2015 Touseef Liaqat <tliaqat@vmware.com> 8.6.9-1
abbbaf4d
 -   Initial build.  First version