cleanup of BuildRequires
This commit is contained in:
parent
3663386547
commit
aeca5257b0
19
x3270.spec
19
x3270.spec
@ -5,7 +5,7 @@
|
||||
Summary: An X Window System based IBM 3278/3279 terminal emulator
|
||||
Name: x3270
|
||||
Version: 3.3.12ga11
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/Internet
|
||||
URL: http://x3270.sourceforge.net/
|
||||
@ -26,10 +26,9 @@ BuildRequires: desktop-file-utils
|
||||
%package x11
|
||||
Summary: IBM 3278/3279 terminal emulator for the X Window System
|
||||
Group: Applications/Internet
|
||||
BuildRequires: xorg-x11-font-utils imake xorg-x11-xbitmaps
|
||||
BuildRequires: libXmu-devel libXaw-devel libXt-devel libICE-devel
|
||||
BuildRequires: libXext-devel libX11-devel libXpm-devel libSM-devel
|
||||
BuildRequires: libXt-devel
|
||||
BuildRequires: imake
|
||||
BuildRequires: xorg-x11-font-utils
|
||||
BuildRequires: libXaw-devel
|
||||
Requires: %{name} = %{version}
|
||||
Requires(post): /usr/bin/mkfontdir
|
||||
Requires(postun): /usr/bin/mkfontdir
|
||||
@ -39,6 +38,7 @@ Summary: IBM 3278/3279 terminal emulator for text mode
|
||||
Group: Applications/Internet
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
|
||||
%description
|
||||
The x3270 package contains files needed for emulating the IBM 3278/3279
|
||||
terminals, commonly used with mainframe applications.
|
||||
@ -63,6 +63,7 @@ x3270 also allows you to telnet to an IBM host from the x3270 window.
|
||||
Install the %{name}-text package if you need to access IBM hosts using an IBM
|
||||
3278/3279 terminal emulator without running X.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
# delete windows and tcl sources:
|
||||
@ -70,6 +71,7 @@ rm -rf wpr3287* wc3270* ws3270* tcl3270*
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
|
||||
%build
|
||||
# Fix end of line encodings
|
||||
perl -pi -e "s/
//" */html/Keymap.html */html/Build.html
|
||||
@ -85,6 +87,7 @@ make %{?_smp_mflags} CCOPTIONS="$RPM_OPT_FLAGS"
|
||||
)
|
||||
done
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/x3270
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
@ -133,6 +136,7 @@ desktop-file-install --vendor fedora \
|
||||
rm -f */Examples/*.rh */Examples/*.orig
|
||||
chmod -x Examples/* html*/*
|
||||
|
||||
|
||||
%post x11
|
||||
cd %{fontdir} && %{_prefix}/bin/mkfontdir
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
@ -149,6 +153,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
|
||||
%files
|
||||
%doc README* LICENSE Examples html*
|
||||
%{_bindir}/s3270
|
||||
@ -173,7 +178,11 @@ fi
|
||||
%{_bindir}/c3270
|
||||
%{_mandir}/man1/c3270*
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 27 2012 Dan Horák <dan[at]danny.cz> - 3.3.12ga11-3
|
||||
- cleanup of BuildRequires
|
||||
|
||||
* Fri Sep 21 2012 Dan Horák <dan[at]danny.cz> - 3.3.12ga11-2
|
||||
- enable DBCS character sets (#801139)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user