]> git.pld-linux.org Git - packages/tetex-latex-beamer.git/blame - tetex-latex-beamer.spec
- Version: 3.07
[packages/tetex-latex-beamer.git] / tetex-latex-beamer.spec
CommitLineData
a4ec12d3 1%define short_name beamer
2%define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
8307f3cf 3#
b06e8040 4Summary: A LaTeX class for producing beamer presentations
4ea8976d 5Summary(pl.UTF-8): Klasa LaTeXa do tworzenia prezentacji rzutnikowych
b06e8040 6Name: tetex-latex-beamer
a73d3a11 7Version: 3.07
eadf5a52 8Release: 1
b06e8040
MM
9License: GPL
10Group: Applications/Publishing/TeX
11Source0: http://dl.sourceforge.net/latex-beamer/latex-beamer-%{version}.tar.gz
a73d3a11 12# Source0-md5: a908b9fa5c98b1e1ef49bda302dd2af6
3d8db146
ER
13URL: http://latex-beamer.sourceforge.net/
14Requires(post,postun): /usr/bin/texhash
b06e8040 15Requires: tetex-latex
e3cfbd15 16Requires: tetex-latex-xcolor >= 2.00
b6e8bc5a 17Requires: tetex-pgf >= 0.95
b06e8040
MM
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21A LaTeX class for producing beamer presentations.
22
c26d0581 23%description -l pl.UTF-8
5f8f175a
MM
24Klasa LaTeXa do tworzenia prezentacji rzutnikowych.
25
e3cfbd15 26%package examples
27Summary: Example presentations created using the LaTeX Beamer class
4ea8976d 28Summary(pl.UTF-8): Przykładowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer
e3cfbd15 29Group: Applications/Publishing/TeX
a4ec12d3 30Requires: %{name} = %{version}-%{release}
e3cfbd15 31
32%description examples
33Example presentations created using the LaTeX Beamer class.
34
c26d0581
JR
35%description examples -l pl.UTF-8
36Przykładowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
e3cfbd15 37
8d51f20a 38%package lyx
39Summary: LyX templates for the LaTeX Beamer class
4ea8976d 40Summary(pl.UTF-8): Szablony klasy LateX Beamer dla programu LyX
ee6bcdb1 41Group: Applications/Publishing/TeX
8d51f20a 42Requires: %{name} = %{version}-%{release}
43Requires: lyx
44
45%description lyx
46LyX templates for the LaTeX Beamer class.
47
c26d0581 48%description lyx -l pl.UTF-8
8d51f20a 49Szablony klasy LateX Beamer dla programu LyX.
50
b06e8040 51%prep
eadf5a52 52%setup -q -n latex-%{short_name}-%{version}
b06e8040
MM
53
54%install
55rm -rf $RPM_BUILD_ROOT
8307f3cf 56install -d $RPM_BUILD_ROOT{%{_datadir}/texmf/tex/latex/%{short_name},%{_examplesdir}/%{name}-%{version}}
a73d3a11 57install -d $RPM_BUILD_ROOT%{_datadir}/lyx/templates
8d51f20a 58install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
b06e8040 59
62c34774 60cp -a base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
b06e8040 61
62c34774 62cp -a examples/* solutions $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
e3cfbd15 63
8d51f20a 64mv $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/solutions/*/*.lyx $RPM_BUILD_ROOT%{_datadir}/lyx/templates
c5eb7b7d 65
b06e8040
MM
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post
70%texhash
71
72%postun
73%texhash
74
75%files
76%defattr(644,root,root,755)
c684a267 77%doc AUTHORS ChangeLog doc/*.pdf README TODO
b06e8040 78%{_datadir}/texmf/tex/latex/%{short_name}
e3cfbd15 79
80%files examples
81%defattr(644,root,root,755)
82%{_examplesdir}/%{name}-%{version}
8d51f20a 83
84%files lyx
85%defattr(644,root,root,755)
8d51f20a 86%{_datadir}/lyx/templates/*
This page took 0.164586 seconds and 4 git commands to generate.