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