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

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Thu Mar 24 02:03:26 UTC 2005


Author: jpo

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

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


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

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

Name:           tetex-%{texpkg}
Version:        2.01
Release:        1
Summary:        Driver-independent color extensions for LaTeX and pdfLaTeX

Group:          Applications/Publishing
License:        LaTeX Project Public License
URL:            http://www.ctan.org/tex-archive/help/Catalogue/entries/xcolor.html
# DANTE generates CTAN packages tarballs on-the-fly
# ftp://ftp.dante.de/tex-archive/macros/latex/contrib/xcolor.tar.gz
Source0:        xcolor-2.01-20050323.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
Provides easy driver-independent access to several kinds of color
tints, shades, tones, and mixes of arbitrary colors.  It allows a user
to select a document-wide target color model and offers complete tools
for conversion between eight color models.  Additionally, there is a
command for alternating row colors plus repeated non-aligned material
(like horizontal lines) in tables.  Colors can be mixed like
\color{red!30!green!40!blue}.


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

%build
latex xcolor.ins
for example in xcolor1.tex xcolor3.tex; do
    pdflatex $example
    pdflatex $example
done

%install
rm -rf $RPM_BUILD_ROOT
 
install -d -m 755 $RPM_BUILD_ROOT{%{texpkgdir},%{texpkgdoc}}
install -d -m 755 $RPM_BUILD_ROOT%{_texmf}/dvips/%{texpkg}
install -p -m 644 *.sty *.def $RPM_BUILD_ROOT%{texpkgdir}/
install -p -m 644 *.pro $RPM_BUILD_ROOT%{_texmf}/dvips/%{texpkg}/
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 ChangeLog README xcolor?.tex
%{texpkgdir}/
%{_texmf}/dvips/%{texpkg}/
%{_texmf}/doc/


%changelog
* Wed Mar 23 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.01-1
- Update to 2.01.

* Wed Feb 23 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 2.00-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/tetex-xcolor/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Mar 2005 02:02:51 -0000	1.1
+++ .cvsignore	24 Mar 2005 02:03:24 -0000	1.2
@@ -0,0 +1 @@
+xcolor-2.01-20050323.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/tetex-xcolor/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Mar 2005 02:02:51 -0000	1.1
+++ sources	24 Mar 2005 02:03:24 -0000	1.2
@@ -0,0 +1 @@
+d60c7a02fc9f04b785f31c96c1fd8d4d  xcolor-2.01-20050323.tar.gz




More information about the scm-commits mailing list