Репозиторий Sisyphus
Последнее обновление: 26 января 2022 | Пакетов: 17491 | Посещений: 22847721
en ru br
Репозитории ALT
S:2.4.1-alt5.1
5.1: 2.4.1-alt3.3.1
4.1: 2.4.1-alt2
4.0: 2.4.1-alt2
3.0: 2.4.1-alt1
www.altlinux.org/Changes

Группа :: Графика
Пакет: xtexcad

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name:     xtexcad
Version:  2.4.1
Release:  alt5.1
Packager: Igor Vlasenko <viy at altlinux.org>
License:  Other License(s), see package
Group:    Graphics
Url: http://www.ctan.org/tex-archive/help/Catalogue/entries/xtexcad.html
Provides: texcad xtexcad
Summary:  Drawing program for LaTeX pictures
Source:   %name-%version.tar.gz
Patch:    xtexcad-2.4-flex.patch
Patch1:   xtexcad-2.4.1-CRLF-fix.patch
Patch21:  xtexcad-2.4.diff
Patch22:  xtexcad-2.4-getcwd.patch

#TODO: \multiput


# Automatically added by buildreq on Mon Aug 25 2008 (-bi)

BuildRequires: flex gccmakedep groff-dvi imake libX11-devel libXext-devel libXaw-devel libXp-devel libXpm-devel xorg-cf-files

%description
A nice drawing program which is especially useful in cooperation
with LaTeX. Note the documentation and COPYRIGHT file in %_docdir.

Authors:
--------
   Klaus Zitzmann <zitzmann at infko.uni-koblenz.de>
   J.K.Wight <J.K.Wight at newcastle.ac.uk>
   Byron  Rakitzis <byron at netapp.com>
   Johannes Sixt <Johannes.Sixt at eudaptics.co.at>
   Notker Amann <amann at isr.uni-stuttgart.de>

%prep
%setup
%patch -p0
%patch1 -p1
%patch21 -p1
%patch22 -p0


%build
xmkmf -a
make
`grog -Tdvi xtexcad.man` > XTeXcad.dvi

%install
make install      DESTDIR=$RPM_BUILD_ROOT
make install.man  DESTDIR=$RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%_desktopdir
cat > $RPM_BUILD_ROOT%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=XTeXCAD
GenericName=X TeX CAD
Comment=%{summary}
Icon=%{name}
Exec=%{name}
Terminal=false
Categories=Graphics;2DGraphics;VectorGraphics;X-ALTLinux-TeX;
EOF
# garbage
rm -f %buildroot/usr/share/X11/app-defaults

%files
%doc COPYRIGHT HISTORY MANIFEST README XTeXcad.dvi
%config(noreplace) %_sysconfdir/X11/app-defaults/*
%_bindir/*
%_mandir/man?/*
%_desktopdir/*

%changelog -n texcad

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin