]> git.pld-linux.org Git - SPECS.git/blob - texlive-latex-circuitikz.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / texlive-latex-circuitikz.spec
1 %define short_name circuitikz
2 %define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
3
4 Summary:        CircuiTikz is a set of LaTeX macros designed to make it easy to draw electrical networks in scientific publications
5 Summary(hu.UTF-8):      A CircuiTikz LaTeX makrók gyűjteménye, amelyek elektromos hálózatok könnyű rajzolására készült.
6 Summary(pl.UTF-8):      Zestaw makr LaTeXa do rysowania schematów sieci elektrycznych
7 Name:           texlive-latex-%{short_name}
8 Version:        0.2
9 Release:        1
10 License:        LaTeX Project Public License
11 Group:          Applications/Publishing/TeX
12 URL:            http://home.dei.polimi.it/mredaelli/circuitikz/index.html
13 Source0:        http://home.dei.polimi.it/mredaelli/downloads/circuitikz.zip
14 # Source0-md5:  45f4bf3eb88812f1dfacaed0c92f9d8b
15 BuildRequires:  unzip
16 Requires(post,postun):  /usr/bin/texhash
17 Requires:       texlive-latex
18 Requires:       texlive-latex-pgf
19 Obsoletes:      tetex-latex-%{short_name}
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 CircuiTikz is a set of LaTeX macros designed to make it easy to draw
25 electrical networks in scientific publications.
26
27 %description -l hu.UTF-8
28 A CircuiTikz Latex makrók gyűjteménye, amelyek elektromos hálózatok
29 könnyű rajzolására készült.
30
31 %description -l pl.UTF-8
32 CircuiTikz jest zbiorem makr LaTeXa mającym ułatwić rysowanie shematów
33 sieci elektrycznych w publikacjach naukowych.
34
35 %prep
36 %setup -q -c
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 install -d $RPM_BUILD_ROOT%{_datadir}/texmf-dist/tex/latex/%{short_name}
42 install tex/latex/%{short_name}/* $RPM_BUILD_ROOT%{_datadir}/texmf-dist/tex/latex/%{short_name}
43
44 install -d $RPM_BUILD_ROOT%{_datadir}/texmf-dist/doc/latex/%{short_name}
45 install doc/latex/%{short_name}/* $RPM_BUILD_ROOT%{_datadir}/texmf-dist/doc/latex/%{short_name}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %post
51 %texhash
52
53 %postun
54 %texhash
55
56 %files
57 %defattr(644,root,root,755)
58 %doc %{_datadir}/texmf-dist/doc/latex/%{short_name}
59 %{_datadir}/texmf-dist/tex/latex/%{short_name}
This page took 0.476423 seconds and 3 git commands to generate.