Group :: Development/Other
RPM: automake_1.6
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define realname automake
%define dialect _1.6
%define suff -1.6
Name: %realname%dialect
Version: 1.6.3
Release: alt6
Serial: 1
%set_compress_method gzip
%define _perl_lib_path %perl_vendor_privlib:%_datadir/%realname%suff
Summary: A GNU tool for automatically creating Makefiles
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/automake/
BuildArch: noarch
%define srcname %realname-%version
Source: ftp://ftp.gnu.org/gnu/%realname/%srcname.tar.bz2
Source1: %name.buildreq
Patch1: automake-1.6.1-alt-texinfo.patch
Patch2: automake-1.6.3-alt-aclocal_libtool.patch
Patch3: automake-1.6-cvs-pythondir.patch
Provides: %realname = %serial:%version-%release
Provides: aclocal(libtool)
Obsoletes: %realname
PreReq: %__install_info, %install_info, %uninstall_info, automake-common, alternatives >= 0.0.6
BuildPreReq: autoconf >= 2.52
# Automatically added by buildreq on Thu Mar 20 2003
BuildRequires: libalternatives-devel
%description
Automake is a tool for automatically generating Makefiles compliant with the
GNU Coding Standards.
You should install Automake if you are developing software and would like to
use its capabilities of automatically generating GNU standard Makefiles. If
you install Automake, you will also need to install GNU's Autoconf package.
%prep
%setup -q -n %srcname
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%set_autoconf_version 2.5
%configure
%make_build MAKEINFO='makeinfo --no-split'
%install
%makeinstall MAKEINFO='makeinfo --no-split'
%__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/buildreqs/files/ignore.d/%name
#%__rm -fv $RPM_BUILD_ROOT%_datadir/%realname*/[[:upper:]]*
%__install -p -m644 %realname%suff.info $RPM_BUILD_ROOT%_infodir/
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/buildreqs/packages/substitute.d
echo %realname >$RPM_BUILD_ROOT%_sysconfdir/buildreqs/packages/substitute.d/%name
%__install -d $RPM_BUILD_ROOT%_altdir
cat >$RPM_BUILD_ROOT%_altdir/%name<<EOF
<group name="candidate">
<option name="link">%_bindir/%realname-default</option>
<option name="real">%_bindir/%realname%suff</option>
<option name="weight" type="number">30</option>
<group name="slave">
<option name="link">%_bindir/aclocal-default</option>
<option name="real">%_bindir/aclocal%suff</option>
</group>
<group name="slave">
<option name="link">%_datadir/%realname</option>
<option name="real">%_datadir/%realname%suff</option>
</group>
<group name="slave">
<option name="link">%_infodir/%realname.info.gz</option>
<option name="real">%_infodir/%realname%suff.info.gz</option>
</group>
</group>
EOF
%post
%install_info %realname%suff.info
%register_alternatives %name -- %realname aclocal %{realname}data %realname.info.gz
%__install_info \
--info-file=%_infodir/%realname.info \
--info-dir=%_infodir \
--section=Development/Other \
--entry="* automake: (automake). Making Makefile.in's" \
--entry="* aclocal: (automake)Invoking aclocal. Generating aclocal.m4" \
||:
%preun
[ $1 = 0 ] || exit 0
%uninstall_info %realname%suff.info
%unregister_alternatives %name
if [ ! -e %_infodir/%realname.info.gz ]; then
%__install_info \
--delete \
--info-file=%_infodir/%realname.info \
--info-dir=%_infodir
fi
%triggerpostun -- %realname
%register_alternatives %name -- %realname aclocal %{realname}data %realname.info.gz
%__install_info \
--info-file=%_infodir/%realname.info \
--info-dir=%_infodir \
--section=Development/Other \
--entry="* automake: (automake). Making Makefile.in's" \
--entry="* aclocal: (automake)Invoking aclocal. Generating aclocal.m4" \
||:
%files
%config %_sysconfdir/buildreqs/packages/substitute.d/%name
%config %_sysconfdir/buildreqs/files/ignore.d/*
%_altdir/%name
%_bindir/*%suff
%_datadir/aclocal%suff
%_datadir/%realname%suff
%_infodir/*.info*
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%changelog
…
Full changelog you can see here
%define dialect _1.6
%define suff -1.6
Name: %realname%dialect
Version: 1.6.3
Release: alt6
Serial: 1
%set_compress_method gzip
%define _perl_lib_path %perl_vendor_privlib:%_datadir/%realname%suff
Summary: A GNU tool for automatically creating Makefiles
License: GPL
Group: Development/Other
Url: http://www.gnu.org/software/automake/
BuildArch: noarch
%define srcname %realname-%version
Source: ftp://ftp.gnu.org/gnu/%realname/%srcname.tar.bz2
Source1: %name.buildreq
Patch1: automake-1.6.1-alt-texinfo.patch
Patch2: automake-1.6.3-alt-aclocal_libtool.patch
Patch3: automake-1.6-cvs-pythondir.patch
Provides: %realname = %serial:%version-%release
Provides: aclocal(libtool)
Obsoletes: %realname
PreReq: %__install_info, %install_info, %uninstall_info, automake-common, alternatives >= 0.0.6
BuildPreReq: autoconf >= 2.52
# Automatically added by buildreq on Thu Mar 20 2003
BuildRequires: libalternatives-devel
%description
Automake is a tool for automatically generating Makefiles compliant with the
GNU Coding Standards.
You should install Automake if you are developing software and would like to
use its capabilities of automatically generating GNU standard Makefiles. If
you install Automake, you will also need to install GNU's Autoconf package.
%prep
%setup -q -n %srcname
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%set_autoconf_version 2.5
%configure
%make_build MAKEINFO='makeinfo --no-split'
%install
%makeinstall MAKEINFO='makeinfo --no-split'
%__install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/buildreqs/files/ignore.d/%name
#%__rm -fv $RPM_BUILD_ROOT%_datadir/%realname*/[[:upper:]]*
%__install -p -m644 %realname%suff.info $RPM_BUILD_ROOT%_infodir/
%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/buildreqs/packages/substitute.d
echo %realname >$RPM_BUILD_ROOT%_sysconfdir/buildreqs/packages/substitute.d/%name
%__install -d $RPM_BUILD_ROOT%_altdir
cat >$RPM_BUILD_ROOT%_altdir/%name<<EOF
<group name="candidate">
<option name="link">%_bindir/%realname-default</option>
<option name="real">%_bindir/%realname%suff</option>
<option name="weight" type="number">30</option>
<group name="slave">
<option name="link">%_bindir/aclocal-default</option>
<option name="real">%_bindir/aclocal%suff</option>
</group>
<group name="slave">
<option name="link">%_datadir/%realname</option>
<option name="real">%_datadir/%realname%suff</option>
</group>
<group name="slave">
<option name="link">%_infodir/%realname.info.gz</option>
<option name="real">%_infodir/%realname%suff.info.gz</option>
</group>
</group>
EOF
%post
%install_info %realname%suff.info
%register_alternatives %name -- %realname aclocal %{realname}data %realname.info.gz
%__install_info \
--info-file=%_infodir/%realname.info \
--info-dir=%_infodir \
--section=Development/Other \
--entry="* automake: (automake). Making Makefile.in's" \
--entry="* aclocal: (automake)Invoking aclocal. Generating aclocal.m4" \
||:
%preun
[ $1 = 0 ] || exit 0
%uninstall_info %realname%suff.info
%unregister_alternatives %name
if [ ! -e %_infodir/%realname.info.gz ]; then
%__install_info \
--delete \
--info-file=%_infodir/%realname.info \
--info-dir=%_infodir
fi
%triggerpostun -- %realname
%register_alternatives %name -- %realname aclocal %{realname}data %realname.info.gz
%__install_info \
--info-file=%_infodir/%realname.info \
--info-dir=%_infodir \
--section=Development/Other \
--entry="* automake: (automake). Making Makefile.in's" \
--entry="* aclocal: (automake)Invoking aclocal. Generating aclocal.m4" \
||:
%files
%config %_sysconfdir/buildreqs/packages/substitute.d/%name
%config %_sysconfdir/buildreqs/files/ignore.d/*
%_altdir/%name
%_bindir/*%suff
%_datadir/aclocal%suff
%_datadir/%realname%suff
%_infodir/*.info*
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%changelog
…
Full changelog you can see here