autogen/autogen.spec

233 lines
7.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: autogen
Version: 5.18.16
Release: 2mamba
Summary: Simplifies the creation and maintenance of programs
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/autogen
Source0: http://ftp.gnu.org/gnu/autogen/rel%{version}/autogen-%{version}.tar.xz
#Source0: http://downloads.sourceforge.net/autogen/autogen-%{version}.tar.gz
Patch0: autogen-5.18.6-guile-3.0.patch
License: GPL, BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libffi-devel
BuildRequires: libgc-devel
BuildRequires: libgmp-devel
BuildRequires: libguile-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libperl
BuildRequires: libunistring-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: chrpath
Requires(post):%{__install_info}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%package -n libopts
Summary: Main library for %{name}
Group: Development/Tools
Provides: autogen-libopts
Obsoletes: autogen-libopts
%description -n libopts
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.
%package -n libopts-devel
Summary: Development headers and libraries for %{name}
Group: Development/Tools
Requires: %{name}-libopts = %{version}-%{release}
Provides: autogen-libopts-devel
Obsoletes: autogen-libopts-devel
%description -n libopts-devel
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.
%package -n libopts-static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-libopts-devel = %{version}-%{release}
Provides: autogen-libopts-static
Obsoletes: autogen-libopts-static
%description -n libopts-static
%{name} is part of the autogen build system
This package contains static libraries need for development.
%debug_package
%prep
%setup -q
%patch0 -p1
# Workaround for guile 3.0
sed -i "s|2.0 1.8|3.0 2.0 1.8|" configure
sed -i 's/ -Werror / /' configure
%build
%configure
#\
# --with-libguile-cflags="`pkg-config --cflags guile-1.8`" \
# --with-libguile-libs="`pkg-config --libs guile-1.8`" \
# --with-guile-ver=`pkg-config --modversion guile-1.8`
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
# Workaround for not compiling due to using these internal generated headers
%make || {
# FIXME: Ugly workaround with ftbfs with guile
rm -rf autoopts/libguile*
%make
}
#%{_smp_mflags}
%check
# make check
# 1 out of 20 tests fail
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL="%{__install} -p" DESTDIR=%{buildroot}
rm -f %{buildroot}%{_datadir}/autogen/autoopts.m4
rm -f %{buildroot}%{_datadir}/autogen/libopts-31.1.6.tar.gz
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info autogen.info-2
%install_info autogen.info-1
%install_info autogen.info
%preun
%uninstall_info autogen.info-2
%uninstall_info autogen.info-1
%uninstall_info autogen.info
%post -n libopts -p /sbin/ldconfig
%postun -n libopts -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/autogen
%{_bindir}/columns
%{_bindir}/getdefs
%{_bindir}/xml2ag
%dir %{_datadir}/autogen
%{_datadir}/autogen/*
%{_infodir}/autogen.info-*.gz
%{_infodir}/autogen.info.gz
%{_mandir}/man1/autogen.1*
%{_mandir}/man1/columns.1*
%{_mandir}/man1/getdefs.1*
%{_mandir}/man1/xml2ag.1*
%doc AUTHORS COPYING
%files -n libopts
%defattr(-,root,root)
%{_libdir}/libopts.so.*
%doc pkg/libopts/COPYING.*
%files -n libopts-devel
%defattr(-,root,root)
%{_bindir}/autoopts-config
%dir %{_includedir}/autoopts
%{_includedir}/autoopts/*.h
%{_libdir}/libopts.so
%{_libdir}/autogen/tpl-config.tlib
%{_mandir}/man1/autoopts-config.1*
%{_mandir}/man3/ao_string_tokenize.3*
%{_mandir}/man3/configFileLoad.3*
%{_mandir}/man3/option*.3*
%{_mandir}/man3/streq*.3*
%{_mandir}/man3/strneqvcmp.3*
%{_mandir}/man3/strtransform.3*
%{_datadir}/aclocal/*.m4
%{_libdir}/pkgconfig/autoopts.pc
%doc pkg/libopts/README
%doc ChangeLog NEWS README THANKS TODO
%files -n libopts-static
%defattr(-,root,root)
%{_libdir}/libopts.a
%{_libdir}/libopts.la
%changelog
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.18.16-2mamba
- rebuilt with libguile 3.0
* Sun Mar 22 2020 Automatic Build System <autodist@mambasoft.it> 5.18.16-1mamba
- automatic version update by autodist
* Fri Feb 24 2017 Automatic Build System <autodist@mambasoft.it> 5.18.12-1mamba
- automatic version update by autodist
* Thu Dec 08 2016 Automatic Build System <autodist@mambasoft.it> 5.18.10-1mamba
- automatic version update by autodist
* Thu Mar 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.18.6-1mamba
- update to 5.18.6
* Sat Sep 20 2014 Automatic Build System <autodist@mambasoft.it> 5.18.4-1mamba
- automatic version update by autodist
* Sun Nov 17 2013 Automatic Build System <autodist@mambasoft.it> 5.18.2-1mamba
- automatic version update by autodist
* Wed Sep 18 2013 Automatic Build System <autodist@mambasoft.it> 5.18.1-1mamba
- automatic update by autodist
* Tue Aug 06 2013 Automatic Build System <autodist@mambasoft.it> 5.18-1mamba
- automatic update by autodist
* Fri May 31 2013 Automatic Build System <autodist@mambasoft.it> 5.17.4-1mamba
- automatic version update by autodist
* Thu Mar 14 2013 Automatic Build System <autodist@mambasoft.it> 5.17.2-1mamba
- automatic version update by autodist
* Fri Sep 21 2012 Automatic Build System <autodist@mambasoft.it> 5.16.2-1mamba
- update to 5.16.2
* Mon Dec 06 2010 Automatic Build System <autodist@mambasoft.it> 5.11.2-1mamba
- automatic update by autodist
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 5.10-2mamba
- automatic rebuild by autodist
* Thu Nov 19 2009 Automatic Build System <autodist@mambasoft.it> 5.10-1mamba
- automatic update by autodist
* Mon Aug 10 2009 Automatic Build System <autodist@mambasoft.it> 5.9.9-1mamba
- automatic update by autodist
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 5.9.8-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.7-1mamba
- automatic update by autodist
* Mon Dec 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.6-1mamba
- automatic update by autodist
* Sun Aug 31 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.5-2mamba
- rename library packages to libopts from autogen-libopts
- fixed text formatting
* Mon Aug 25 2008 gil <puntogil@libero.it> 5.9.5-1mamba
- package created by autospec