[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/tetex-perltex/devel tetex-perltex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: jpo

Update of /cvs/extras/rpms/tetex-perltex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3518/devel

Modified Files:
	.cvsignore sources 
Added Files:
	tetex-perltex.spec 
Log Message:
auto-import tetex-perltex-1.2-1 on branch devel from tetex-perltex-1.2-1.src.rpm


--- NEW FILE tetex-perltex.spec ---
%{!?_texmf: %define _texmf %(eval "echo `kpsewhich -expand-var '$TEXMFMAIN'`")}

%define texpkg      perltex
%define texpkgdir   %{_texmf}/tex/latex/%{texpkg}
%define texpkgdoc   %{_texmf}/doc/latex/%{texpkg}

Name:           tetex-%{texpkg}
Version:        1.2
Release:        1
Summary:        Define LaTeX macros in terms of Perl code

Group:          Applications/Publishing
License:        LaTeX Project Public License
URL:            http://www.ctan.org/tex-archive/help/Catalogue/entries/perltex.html
# DANTE generates CTAN packages tarballs on-the-fly
# ftp://ftp.dante.de/tex-archive/macros/latex/contrib/perltex.tar.gz
Source0:        perltex-1.2.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  tetex-latex
Requires:       tetex-latex
Requires(post): /usr/bin/texhash
Requires(postun): /usr/bin/texhash

%description
PerlTeX is a combination Perl script (perltex) and LaTeX2e style file
(perltex.sty) that, together, give the user the ability to define
LaTeX macros in terms of Perl code.  Once defined, a Perl macro
becomes indistinguishable from any other LaTeX macro.  PerlTeX thereby
combines LaTeX's typesetting power with Perl's programmability.


%prep
%setup -q -n %{texpkg}

%build
latex %{texpkg}.ins
%{__sed} -i 's,^#! /usr/bin/env perl$,#!%{__perl},' perltex.pl

%install
rm -rf $RPM_BUILD_ROOT
 
install -d -m 755 $RPM_BUILD_ROOT{%{_bindir},%{texpkgdir},%{texpkgdoc}}
install -p -m 755 perltex.pl $RPM_BUILD_ROOT%{_bindir}/perltex
install -p -m 644 *.sty $RPM_BUILD_ROOT%{texpkgdir}/
install -p -m 644 *.pdf $RPM_BUILD_ROOT%{texpkgdoc}/

%clean
rm -rf $RPM_BUILD_ROOT


%post
texhash >/dev/null 2>&1 || :

%postun
texhash >/dev/null 2>&1 || :


%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/*
%{texpkgdir}/
%{_texmf}/doc/


%changelog
* Wed Mar 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.2-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tetex-perltex/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	18 Jun 2005 14:59:56 -0000	1.1
+++ .cvsignore	18 Jun 2005 15:00:33 -0000	1.2
@@ -0,0 +1 @@
+perltex-1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tetex-perltex/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	18 Jun 2005 14:59:56 -0000	1.1
+++ sources	18 Jun 2005 15:00:33 -0000	1.2
@@ -0,0 +1 @@
+55128cbfaaf4d1d8db74028ad10d77a2  perltex-1.2.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]