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