Репозитории ALT
S: | 1.3-alt3 |
5.1: | 1.3-alt1.1 |
4.1: | 1.3-alt1 |
4.0: | 1.3-alt1 |
3.0: | |
+backports: | 1.3-alt0.M30.1 |
Группа :: Графика
Пакет: TexPict
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define shortname texpict
Name: TexPict
Version: 1.3
Release: alt1
Summary: Tex Pictures is a drawing program for latex documents
Summary(ru_RU.CP1251): Tex Pictures - ОПНЦПЮЛЛЮ ПХЯНБЮМХЪ ПХЯСМЙНБ LaTeX.
License: BSD like
Group: Graphics
Url: http://gatxan.cimne.upc.es/texpict/
Packager: Igor Vlasenko <viy at altlinux.ru>
Source: http://gatxan.cimne.upc.es/texpict/%name.tar.gz
BuildArch: noarch
# It is tcl file; findreq treat it as shell :(
%add_findreq_skiplist %_bindir/*
Requires: tk >= 8.0
BuildRequires: recode
%description
Tex Pictures is a program to create easy drawings to include in latex documents in both Unix and MS Windows. It is possible also to save them as postscript.
- One latex file.
Pictures are included inside the latex document. They are VERY small and
avoid too many files.
- Annotate images.
Useful to annotate one EPS or GIF image and include the figure and the
annotations inside the latex document.
- Later edition.
You can edit later the figure that you have pasted in your latex document.
Just select it, and paste inside TexPict. In this way, one drawing from
3 month ago can be edited. With a EPS or GIF file it would be no possible.
%prep
%setup -q -c -n %name-%version
#%patch -p1
%build
recode /CRLF.. TexPict.tcl
%install
%__install -d %buildroot%_bindir/
%__install -m755 TexPict.tcl %buildroot%_bindir/%shortname
ln -s %shortname %buildroot%_bindir/%name
(cd $RPM_BUILD_ROOT
mkdir -p ./%_menudir
cat > ./%_menudir/%{name} <<EOF
?package(%{name}): \
command="%_bindir/%{name}" \
title="TexPict" \
longtitle="TexPict" \
needs="x11" \
section="Multimedia/Graphics"
EOF
)
%post
%update_menus
%postun
%clean_menus
%files
%doc README TexPict.html
#doc eepic.sty eepicemu.sty epic.sty
%_bindir/%shortname
%_bindir/%name
%_menudir/%{name}
%changelog
…
Полный changelog можно просмотреть здесь
Name: TexPict
Version: 1.3
Release: alt1
Summary: Tex Pictures is a drawing program for latex documents
Summary(ru_RU.CP1251): Tex Pictures - ОПНЦПЮЛЛЮ ПХЯНБЮМХЪ ПХЯСМЙНБ LaTeX.
License: BSD like
Group: Graphics
Url: http://gatxan.cimne.upc.es/texpict/
Packager: Igor Vlasenko <viy at altlinux.ru>
Source: http://gatxan.cimne.upc.es/texpict/%name.tar.gz
BuildArch: noarch
# It is tcl file; findreq treat it as shell :(
%add_findreq_skiplist %_bindir/*
Requires: tk >= 8.0
BuildRequires: recode
%description
Tex Pictures is a program to create easy drawings to include in latex documents in both Unix and MS Windows. It is possible also to save them as postscript.
- One latex file.
Pictures are included inside the latex document. They are VERY small and
avoid too many files.
- Annotate images.
Useful to annotate one EPS or GIF image and include the figure and the
annotations inside the latex document.
- Later edition.
You can edit later the figure that you have pasted in your latex document.
Just select it, and paste inside TexPict. In this way, one drawing from
3 month ago can be edited. With a EPS or GIF file it would be no possible.
%prep
%setup -q -c -n %name-%version
#%patch -p1
%build
recode /CRLF.. TexPict.tcl
%install
%__install -d %buildroot%_bindir/
%__install -m755 TexPict.tcl %buildroot%_bindir/%shortname
ln -s %shortname %buildroot%_bindir/%name
(cd $RPM_BUILD_ROOT
mkdir -p ./%_menudir
cat > ./%_menudir/%{name} <<EOF
?package(%{name}): \
command="%_bindir/%{name}" \
title="TexPict" \
longtitle="TexPict" \
needs="x11" \
section="Multimedia/Graphics"
EOF
)
%post
%update_menus
%postun
%clean_menus
%files
%doc README TexPict.html
#doc eepic.sty eepicemu.sty epic.sty
%_bindir/%shortname
%_bindir/%name
%_menudir/%{name}
%changelog
…
Полный changelog можно просмотреть здесь