]> git.pld-linux.org Git - packages/tetex-latex-beamer.git/blob - tetex-latex-beamer.spec
- updated to 3.05
[packages/tetex-latex-beamer.git] / tetex-latex-beamer.spec
1 #
2 # TODO:
3 # - package emacs and LyX files
4 #
5 %define short_name      beamer
6 %define texhash         [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
7 #
8 Summary:        A LaTeX class for producing beamer presentations
9 Summary(pl):    Klasa LaTeXa do tworzenia prezentacji rzutnikowych
10 Name:           tetex-latex-beamer
11 Version:        3.05
12 Release:        1
13 License:        GPL
14 Group:          Applications/Publishing/TeX
15 Source0:        http://dl.sourceforge.net/latex-beamer/latex-beamer-%{version}.tar.gz
16 # Source0-md5:  0524000157e657a2006f74f67ef7ae28
17 Requires:       tetex-latex
18 Requires:       tetex-latex-xcolor >= 2.00
19 Requires:       tetex-pgf >= 0.63
20 Requires(post,postun):  /usr/bin/texhash
21 URL:            http://latex-beamer.sf.net/
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A LaTeX class for producing beamer presentations.
26
27 %description -l pl
28 Klasa LaTeXa do tworzenia prezentacji rzutnikowych.
29
30 %package examples
31 Summary:        Example presentations created using the LaTeX Beamer class
32 Summary(pl):    Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer
33 Group:          Applications/Publishing/TeX
34 Requires:       %{name} = %{version}-%{release}
35
36 %description examples
37 Example presentations created using the LaTeX Beamer class.
38
39 %description examples -l pl
40 Przyk³adowe prezentacje stworzone z wykorzystaniem klasy LaTeX Beamer.
41
42 %prep
43 %setup -q -n latex-%{short_name}-%{version}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_datadir}/texmf/tex/latex/%{short_name},%{_examplesdir}/%{name}-%{version}}
48
49 cp -ar base emulation extensions themes $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
50
51 cp -ar examples/* solutions $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 %texhash
58
59 %postun
60 %texhash
61
62 %files
63 %defattr(644,root,root,755)
64 %doc AUTHORS ChangeLog doc/*.pdf README TODO
65 %{_datadir}/texmf/tex/latex/%{short_name}
66
67 %files examples
68 %defattr(644,root,root,755)
69 %{_examplesdir}/%{name}-%{version}
This page took 0.091961 seconds and 4 git commands to generate.