]> git.pld-linux.org Git - SPECS.git/blob - tetex-latex-multienum.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / tetex-latex-multienum.spec
1
2 %define short_name multienum
3 %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
4
5 Summary:        Multi-column enumerated lists
6 Summary(hu.UTF-8):      Több oszlopos számozott lista.
7 Name:           tetex-latex-%{short_name}
8 Version:        1.0
9 Release:        1
10 License:        LaTeX Project Public License
11 Group:          Applications/Publishing/TeX
12 Source0:        http://tug.ctan.org/get/macros/latex/contrib/multenum.zip
13 # Source0-md5:  9d825be0ee818aa5ff76dc9f7f42317c
14 BuildRequires:  unzip
15 Requires(post,postun):  /usr/bin/texhash
16 Requires:       tetex-latex
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Defines an environment multienumerate, that produces an enumerated
21 array in which columns are vertically aligned on the counter. The
22 motivation was lists of answers for a text book, where there are many
23 rather small items; the multienumerate environment goes some way to
24 making such lists look neater.
25
26 %description -l hu.UTF-8
27 A 'multienumerate' környezet definíciója, amely egy számozott listát
28 készít, amelyben az oszlopok a számozáshoz igazodnak. A motivációja az
29 volt, hogy vannak válaszok rövid listái, amelyet valahogy el kell
30 helyezni; a 'multienumerate' környezet épp ezt oldja meg.
31
32 %prep
33 %setup -q -n multenum
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
38
39 install %{short_name}.sty $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
40
41 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/%{short_name}
42 install %{short_name}.{article,pdf,sample} $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/%{short_name}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %post
48 %texhash
49
50 %postun
51 %texhash
52
53 %files
54 %defattr(644,root,root,755)
55 %{_datadir}/texmf/tex/latex/%{short_name}
56 %{_datadir}/texmf/doc/latex/%{short_name}
This page took 1.042197 seconds and 3 git commands to generate.