X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=aterm.spec;h=167c41bf368d11a42c8909b338cb6cc427ab8818;hb=78752e77923f56d2404446aaf1caa85e30792d16;hp=6f9f2a95a46c94f0ee3b0b2eda385b7483823627;hpb=64cc6d829ef87b69e29bf2798c0f02063c0784b0;p=packages%2Faterm.git diff --git a/aterm.spec b/aterm.spec index 6f9f2a9..167c41b 100644 --- a/aterm.spec +++ b/aterm.spec @@ -1,70 +1,106 @@ -%define name aterm -%define version 0.3.6 -%define release 1 -%define serial 1 - -Summary: aterm - terminal emulator in an X window -Name: %{name} -Version: %{version} -Release:%{release} -Epoch: %{serial} -Copyright: GPL -Group: X11/Utilities -Vendor: Sasha Vasko -URL: http://members.xoom.com/sashav/aterm -Distribution: Freshmeat RPMs -Packager: Ryan Weaver -Source: http://members.xoom.com/sashav/aterm/%{name}-%{version}.tar.gz -Source1: aterm.wmconfig -BuildRoot: /tmp/%{name}-%{version}-root +Summary: aterm - terminal emulator in an X Window System +Summary(pl): aterm - emulator terminala dla X Window System +Summary(pt_BR): Um emulador de vt102 colorido +Name: aterm +Version: 0.4.2 +Release: 9 +License: GPL +Vendor: Sasha Vasko +Group: X11/Applications +Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +# Source0-md5: 5c29d0cde4225bdbd63ccb6a4dd94c56 +Source1: %{name}.desktop +Patch0: %{name}-utempter.patch +Patch1: %{name}-wtmp.patch +Patch2: %{name}-etc_dir.patch +Patch3: %{name}-copy.patch +Patch4: %{name}-home_end.patch +URL: http://aterm.sourceforge.net/ +BuildRequires: XFree86-devel +BuildRequires: autoconf +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: utempter-devel +Requires: terminfo +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -aterm, version %{version}, is a colour vt102 terminal emulator based on -rxvt 2.4.8 with Alfredo Kojima's additions of fast transparency, -intended as an xterm(1) replacement for users who do not require -features such as Tektronix 4014 emulation and toolkit-style -configurability. As a result, aterm uses much less swap space -- a -significant advantage on a machine serving many X sessions. +aterm is a colour vt102 terminal emulator based on rxvt 2.4.8 with +Alfredo Kojima's additions of fast transparency, intended as an +xterm(1) replacement for users who do not require features such as +Tektronix 4014 emulation and toolkit-style configurability. As a +result, aterm uses much less swap space -- a significant advantage on +a machine serving many X sessions. It was created with AfterStep +Window Manger users in mind, but is not tied to any libraries, and can +be used anywhere. + +%description -l pl +aterm jest kolorowym emulatorem terminala vt102, opartym na rxvt 2.4.8 +z dodatkami Afredo Kojima do szybkiej emulacji przezroczysto¶ci. W +za³o¿eniu ma zast±piæ program xterm(1) u¿ytkownikom nie wymagaj±cym +takich rzeczy jak emulacja terminala Tektronix 4014 oraz +"toolkit-style configurability". W efekcie aterm u¿ywa du¿o mniej +pamiêci swap -- co jest du¿± zalet± w systemach obs³uguj±cych liczne +sesje Xów. Zosta³ stworzony z my¶l± o u¿ytkownikach AfterStepa, ale +nie jest zwi±zany z ¿adnymi specyficznymi bibliotekami i mo¿e byæ +u¿ywany gdziekolwiek. -It was created with AfterStep Window Manger users in mind, but is not -tied to any libraries, and can be used anywhere. +%description -l pt_BR +Aterm é um emulador de terminal vt102 baseado no rxvt 2.4.8, com a +adição de fundo transparente. Aterm é um substituto para o xterm, mais +leve. %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 -CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ -./configure %{_target_platform} \ - --prefix=/usr/X11R6 \ - --enable-utmp \ +%build +cd autoconf +%{__autoconf} +cp -f ./configure .. +cd .. +LDFLAGS="%{rpmldflags} -lutempter -L%{_libdir}" +export LDFLAGS + +%configure \ + --enable-ttygid \ --enable-wtmp \ --enable-background-image \ + --with-term=rxvt \ --with-png \ --with-jpeg \ --enable-transparency \ + --enable-fading \ --enable-menubar \ --enable-graphics \ - --enable-next-scroll \ - --disable-backspace-key \ - --disable-delete-key \ - --enable-xgetdefault + --enable-xgetdefault \ + --enable-next-scroll +# --enable-utmp \ -%build -make +CFLAGS="%{rpmcflags}" + +%{__make} %install -if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi -mkdir -p $RPM_BUILD_ROOT/usr/X11R6 -mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_desktopdir} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} -make prefix=$RPM_BUILD_ROOT/usr/X11R6 install -install -m 644 $RPM_SOURCE_DIR/aterm.wmconfig $RPM_BUILD_ROOT/etc/X11/wmconfig/aterm +tar -cf docs.tar doc/etc doc/menu %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root) -%doc doc ChangeLog -/usr/X11R6/bin/aterm -/usr/X11R6/man/man1/aterm.1 -%config(missingok) /etc/X11/wmconfig/aterm +%defattr(644,root,root,755) +%doc ChangeLog doc/*html doc/README* doc/FAQ doc/TODO docs.tar +%attr(755,root,root) %{_bindir}/aterm +%{_desktopdir}/aterm.desktop