]> git.pld-linux.org Git - packages/tetex-latex-beamer.git/blame - tetex-latex-beamer.spec
- Obsoletes for dropped -emacs
[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
3d922ff8 17Requires: tetex-pgf >= 1.10
52e0583b 18Obsoletes: tetex-latex-beamer-emacs
b06e8040
MM
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22A LaTeX class for producing beamer presentations.
23
c26d0581 24%description -l pl.UTF-8
5f8f175a
MM
25Klasa LaTeXa do tworzenia prezentacji rzutnikowych.
26
e3cfbd15 27%package examples
28Summary: Example presentations created using the LaTeX Beamer class
4ea8976d 29Summary(pl.UTF-8): Przykładowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer
e3cfbd15 30Group: Applications/Publishing/TeX
a4ec12d3 31Requires: %{name} = %{version}-%{release}
e3cfbd15 32
33%description examples
34Example presentations created using the LaTeX Beamer class.
35
c26d0581
JR
36%description examples -l pl.UTF-8
37Przykładowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
e3cfbd15 38
8d51f20a 39%package lyx
40Summary: LyX templates for the LaTeX Beamer class
4ea8976d 41Summary(pl.UTF-8): Szablony klasy LateX Beamer dla programu LyX
ee6bcdb1 42Group: Applications/Publishing/TeX
8d51f20a 43Requires: %{name} = %{version}-%{release}
44Requires: lyx
45
46%description lyx
47LyX templates for the LaTeX Beamer class.
48
c26d0581 49%description lyx -l pl.UTF-8
8d51f20a 50Szablony klasy LateX Beamer dla programu LyX.
51
b06e8040 52%prep
eadf5a52 53%setup -q -n latex-%{short_name}-%{version}
b06e8040
MM
54
55%install
56rm -rf $RPM_BUILD_ROOT
8307f3cf 57install -d $RPM_BUILD_ROOT{%{_datadir}/texmf/tex/latex/%{short_name},%{_examplesdir}/%{name}-%{version}}
a73d3a11 58install -d $RPM_BUILD_ROOT%{_datadir}/lyx/templates
8d51f20a 59install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/lyx
b06e8040 60
62c34774 61cp -a base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
b06e8040 62
62c34774 63cp -a examples/* solutions $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
e3cfbd15 64
8d51f20a 65mv $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/solutions/*/*.lyx $RPM_BUILD_ROOT%{_datadir}/lyx/templates
c5eb7b7d 66
b06e8040
MM
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post
71%texhash
72
73%postun
74%texhash
75
76%files
77%defattr(644,root,root,755)
c684a267 78%doc AUTHORS ChangeLog doc/*.pdf README TODO
b06e8040 79%{_datadir}/texmf/tex/latex/%{short_name}
e3cfbd15 80
81%files examples
82%defattr(644,root,root,755)
83%{_examplesdir}/%{name}-%{version}
8d51f20a 84
85%files lyx
86%defattr(644,root,root,755)
8d51f20a 87%{_datadir}/lyx/templates/*
This page took 0.048821 seconds and 5 git commands to generate.