SPECS/autogen/autogen.spec
92e58245
 Summary:	The Automated Text and Program Generation Tool
 Name:		autogen
626d1f1e
 Version:	5.18.12
d2a41a6b
 Release:	2%{?dist}
92e58245
 License:        GPLv3+
 URL:            http://www.gnu.org/software/autogen/
30aed4f1
 Source0:        ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz
626d1f1e
 %define sha1 autogen=6b88bb1e3d3e789d721d0000d2aff963eff60bab
92e58245
 Group:		System Environment/Tools
 Vendor:		VMware, Inc.
 BuildRequires:	guile-devel
 BuildRequires:	gc-devel
 BuildRequires:	which
 #BuildRequires:	libunistring-devel
 #BuildRequires:	libltdl-devel
 Requires:	guile
 Requires:	gc
b31ba2da
 Requires:	gmp
935eec1d
 Requires:   %{name}-libopts
92e58245
 Distribution:	Photon
 %description
 AutoGen is a tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text. It is especially valuable in programs that have several blocks of text that must be kept synchronized.
 
935eec1d
 %package libopts
 Summary:	Automated option processing library.
 License:	LGPLv3+
 Group:		System Environment/Libraries
92e58245
 
935eec1d
 %description libopts
 Libopts is very powerful command line option parser. 
 
 %package libopts-devel
 Summary:	Development files for libopts
 License:	LGPLv3+
 Group:		Development/Libraries
 Requires:	%{name}
 Requires:	%{name}-libopts
 
 %description libopts-devel
 This package contains development files for libopts.
92e58245
 
 %prep
 %setup -q
 %build
 ./configure \
 	--prefix=%{_prefix}
 make %{?_smp_mflags}
 %install
 make DESTDIR=%{buildroot} install
aebccd16
 
d2a41a6b
 %check
 make %{?_smp_mflags} check
 
935eec1d
 %post	libopts -p /sbin/ldconfig
 %postun	libopts -p /sbin/ldconfig
 
92e58245
 %files
 %defattr(-,root,root)
 %{_bindir}/*
935eec1d
 %exclude %{_bindir}/autoopts-config
92e58245
 %{_libdir}/autogen/*.tlib
 %{_datadir}/autogen/*
 %{_mandir}/man1/*
935eec1d
 %exclude %{_mandir}/man1/autoopts-config.1.gz
 
 
 %files libopts
 %{_libdir}/*.so.*
 
 %files libopts-devel
92e58245
 %defattr(-,root,root)
 %{_includedir}/autoopts/*.h
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
935eec1d
 %{_bindir}/autoopts-config
 %{_datadir}/aclocal/*
 %{_mandir}/man1/autoopts-config.1.gz
 %{_mandir}/man3/*
 %{_libdir}/*.a
 %{_libdir}/*.la
 
92e58245
 %changelog
d2a41a6b
 *       Mon May 01 2017 Dheeraj Shetty <dheerajs@vmware.com> 5.18.12-2
 -       Adding Make Check
626d1f1e
 *       Tue Apr 18 2017 Dheeraj Shetty <dheerajs@vmware.com> 5.18.12-1
 -       Updated version to 5.18.12
c3a3fd12
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 5.18.7-2
 -	GA - Bump release of all rpms
0bc3a918
 *       Wed Feb 24 2016 Kumar Kaushik <kaushikk@vmware.com> 5.18.7-1
 -       Updated version tp 5.16.7.
 *       Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 5.18.6-1
 -       Updated to version 5.18.6
 *       Tue Sep 29 2015 Xiaolin Li <xiaolinl@vmware.com> 5.18.5-2
 -       Create a seperate libopts package.
92e58245
 *	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 5.18.5-1
 -	Initial build. First version