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