Репозитории ALT
5.1: | 1.4p6-alt5 |
4.1: | 1.4p6-alt3 |
4.0: | 1.4p6-alt3 |
3.0: | 1.4p6-alt3 |
Группа :: Разработка/Прочее
Пакет: automake_1.4
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define realname automake
%define realver 1.4
%define dialect _1.4
%define suff -1.4
Name: %realname%dialect
%define patchlevel p6
Version: %realver%patchlevel
Release: alt3
Serial: 1
%set_compress_method gzip
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-%realver-%patchlevel
Source: ftp://ftp.gnu.org/gnu/%realname/%srcname.tar.bz2
Source1: %name.buildreq
Patch1: automake-1.4-rh-libtoolize.patch
Patch2: automake-1.4-rh-subdir.patch
Patch3: automake-1.4-rh-backslash.patch
Patch4: automake-1.4-rh-subdirs-89656.patch
Patch5: automake-1.4-alt-texinfo.patch
Patch6: automake-1.4-alt-aclocal_libtool.patch
Provides: %realname = %serial:%realver-%{release}0.%patchlevel
Provides: aclocal(libtool)
Obsoletes: %realname
PreReq: %install_info, %uninstall_info, automake-common, alternatives >= 0.0.6
# Automatically added by buildreq on Sat May 03 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 -p0
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
%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">20</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, %name < 1:1.4-alt6.p5
%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
…
Полный changelog можно просмотреть здесь
%define realver 1.4
%define dialect _1.4
%define suff -1.4
Name: %realname%dialect
%define patchlevel p6
Version: %realver%patchlevel
Release: alt3
Serial: 1
%set_compress_method gzip
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-%realver-%patchlevel
Source: ftp://ftp.gnu.org/gnu/%realname/%srcname.tar.bz2
Source1: %name.buildreq
Patch1: automake-1.4-rh-libtoolize.patch
Patch2: automake-1.4-rh-subdir.patch
Patch3: automake-1.4-rh-backslash.patch
Patch4: automake-1.4-rh-subdirs-89656.patch
Patch5: automake-1.4-alt-texinfo.patch
Patch6: automake-1.4-alt-aclocal_libtool.patch
Provides: %realname = %serial:%realver-%{release}0.%patchlevel
Provides: aclocal(libtool)
Obsoletes: %realname
PreReq: %install_info, %uninstall_info, automake-common, alternatives >= 0.0.6
# Automatically added by buildreq on Sat May 03 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 -p0
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%build
%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">20</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, %name < 1:1.4-alt6.p5
%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
…
Полный changelog можно просмотреть здесь