2 %define short_name fncychap
3 %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
5 Summary: Six fancy chapter styles
6 Summary(pl.UTF-8): Sześć eleganckich stylów dla rozdziałów
7 Name: tetex-latex-%{short_name}
10 License: LaTeX Project Public License
11 Group: Applications/Publishing/TeX
12 Source0: ftp://cam.ctan.org/tex-archive/macros/latex/contrib/fncychap.zip
13 # Source0-md5: 626535090eb82a4c14180b7561f31921
15 Requires(post,postun): /usr/bin/texhash
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The package contains six fancy chapter styles to use in your LaTeX
23 %description -l pl.UTF-8
24 Pakiet zawiera sześć ozdobnych stylów rozdziałów do używania w
25 dokumentach LaTeXowych.
28 %setup -q -n %{short_name}
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
34 install %{short_name}.sty $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
37 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc fncychap.pdf readme.txt
48 %{_datadir}/texmf/tex/latex/%{short_name}