]> git.pld-linux.org Git - packages/eqascii.git/blob - eqascii.spec
9c65607a024e045ee694d4503ee2adc6e63a3a95
[packages/eqascii.git] / eqascii.spec
1 Summary:        EQuation ASCII renderer
2 Summary(pl):    Program wy¶wietlaj±cy równania jako ASCII
3 Name:           eqascii
4 Version:        0.3.1
5 Release:        2
6 License:        GPL
7 Group:          Applications/Text
8 Source0:        http://dione.ids.pl/~pborys/software/linux/%{name}-%{version}.tar.gz
9 # Source0-md5:  71b79c3d3987ed125293e9b6e0bd017c
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 eqascii is an ascii equation renderer, which as a command argument
14 accepts an equation in a form similar to LaTeX equation description.
15 It outputs the result to stdout.
16
17 %description -l pl
18 eqascii jest programem wy¶wietlaj±cym równania przy u¿yciu znaków
19 ASCII, przyjmuj±cym równania w notacji podobnej do LaTeXa.
20
21 %package devel
22 Summary:        EQuation ASCII renderer for programmers
23 Summary(pl):    Biblioteka do zamiany równañ na postaæ ASCII
24 Group:          Development/Libraries
25 # note: there is no reason to require eqascii
26
27 %description devel
28 Package contains static library, header file and documentation useful
29 for developing programs that draw equations in text mode.
30
31 %description devel -l pl
32 Pakiet zawiera bibliotekê statyczn±, plik nag³ówkowy i dokumentacjê
33 przydatne przy pisaniu programów wy¶wietlaj±cych wzory jako ASCII.
34
35 %prep
36 %setup -q -n %{name}
37
38 %build
39 %{__make} DEBUG="%{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}/man{1,3}}
44
45 install eqascii $RPM_BUILD_ROOT%{_bindir}
46 install eqascii.1 $RPM_BUILD_ROOT%{_mandir}/man1
47 install eqascii.3 $RPM_BUILD_ROOT%{_mandir}/man3
48 install eqascii.a $RPM_BUILD_ROOT%{_libdir}
49 install eqascii.h $RPM_BUILD_ROOT%{_includedir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc HISTORY test
57 %attr(755,root,root) %{_bindir}/*
58 %{_mandir}/man1/*
59
60 %files devel
61 %defattr(644,root,root,755)
62 %{_libdir}/*.a
63 %{_includedir}/*.h
64 %{_mandir}/man3/*
This page took 0.066759 seconds and 2 git commands to generate.