]> git.pld-linux.org Git - packages/aterm.git/blobdiff - aterm.spec
- cosmetics
[packages/aterm.git] / aterm.spec
index e28074fe59bea1e64b4fd23ba3fef58fae61fcf6..167c41bf368d11a42c8909b338cb6cc427ab8818 100644 (file)
-Summary:       aterm - terminal emulator in an X window
+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.3.6
-Release:       1
-Copyright:     GPL
-Group:         X11/Utilities
+Version:       0.4.2
+Release:       9
+License:       GPL
 Vendor:                Sasha Vasko <sashav@sprintmail.com>
-URL:           http://members.xoom.com/sashav/aterm
-Source:                http://members.xoom.com/sashav/aterm/%{name}-%{version}.tar.gz
-Source1:       aterm.wmconfig
-BuildRoot:     /tmp/%{name}-%{version}-root
+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 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.
 
-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.
+
+%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
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target_platform} \
-       --prefix=/usr/X11R6 \
-       --enable-utmp \
+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
-make
+       --enable-xgetdefault \
+       --enable-next-scroll
+#      --enable-utmp \
+
+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
 
-make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
-install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/wmconfig/aterm
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
-gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/man/man1/aterm.1
-       ChangeLog
+tar -cf docs.tar doc/etc doc/menu
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc doc ChangeLog.gz
-%attr(755,root,root) /usr/X11R6/bin/aterm
-/usr/X11R6/man/man1/aterm.1.gz
-%config(missingok) /etc/X11/wmconfig/aterm
+%doc ChangeLog doc/*html doc/README* doc/FAQ doc/TODO docs.tar
+%attr(755,root,root) %{_bindir}/aterm
+%{_desktopdir}/aterm.desktop
This page took 0.113934 seconds and 4 git commands to generate.