auto-import changelog data from amtu-0.1-2RHEL.src.rpm
Wed May 26 2004 ccb <ccb@redhat.com> 0.1-2RHEL - move docs to a version-qualified directory name Sat May 01 2004 root <chavezt@cs679156-153.austin.rr.com> - Initial build.
This commit is contained in:
parent
4b3e40312f
commit
9ed67357bc
3 changed files with 68 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
amtu-0.1.tar.gz
|
||||
66
amtu.spec
Normal file
66
amtu.spec
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
Name: amtu
|
||||
Version: 0.1
|
||||
Release: 2RHEL
|
||||
Autoreqprov: on
|
||||
Summary: Abstract Machine Test Utility (AMTU)
|
||||
License: Common Public License
|
||||
Group: Productivity/Security
|
||||
Requires: laus-libs
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Excludearch: ia64
|
||||
|
||||
# Red Hat AMTU SPEC file
|
||||
|
||||
%description
|
||||
Abstract Machine Test Utility (AMTU) is an administrative utility to check
|
||||
whether the underlying protection mechanism of the hardware are still being
|
||||
enforced. This is a requirement of the Controlled Access Protection Profile
|
||||
FTP_AMT.1, see
|
||||
http://www.radium.ncsc.mil/tpep/library/protection_profiles/CAPP-1.d.pdf
|
||||
|
||||
%prep
|
||||
%setup -n amtu
|
||||
|
||||
%build
|
||||
# Determine appropriate compiler
|
||||
CC="gcc"
|
||||
%ifarch ppc64 ppc64iseries ppc64pseries
|
||||
CC="/usr/bin/ppc64-redhat-linux-gcc"
|
||||
%endif
|
||||
# Determine appropriate compiler flags
|
||||
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -Wall -pipe"
|
||||
%ifarch x86_64
|
||||
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -Wall -pipe -m64"
|
||||
%endif
|
||||
export CC CFLAGS
|
||||
autoheader || true
|
||||
autoreconf --install
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--bindir=/usr/bin \
|
||||
--mandir=%{_mandir}
|
||||
make
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/amtu-%{version}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install-strip
|
||||
gzip doc/amtu.8
|
||||
install -m 644 doc/AMTUHowTo.txt $RPM_BUILD_ROOT/%{_defaultdocdir}/amtu-%{version}/AMTUHowTo.txt
|
||||
install -m 644 doc/amtu.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/amtu.8.gz
|
||||
|
||||
%clean
|
||||
make clean
|
||||
|
||||
%files
|
||||
/usr/bin/amtu
|
||||
%doc %{_mandir}/man8/amtu.8.gz
|
||||
%doc %{_defaultdocdir}/amtu-%{version}/AMTUHowTo.txt
|
||||
|
||||
%changelog
|
||||
* Wed May 26 2004 ccb <ccb@redhat.com> 0.1-2RHEL
|
||||
- move docs to a version-qualified directory name
|
||||
* Sat May 1 2004 root <chavezt@cs679156-153.austin.rr.com>
|
||||
- Initial build.
|
||||
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
b0aa74ad4d0b20ac381fb278f1bbc1f6 amtu-0.1.tar.gz
|
||||
Reference in a new issue