]> git.pld-linux.org Git - packages/eqascii.git/blob - eqascii.spec
- release 3 for Ac
[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:        3
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 w linii poleceñ równania w notacji podobnej do
20 LaTeXa.
21
22 %package devel
23 Summary:        EQuation ASCII renderer for programmers
24 Summary(pl):    Biblioteka do zamiany równañ na postaæ ASCII
25 Group:          Development/Libraries
26 # note: there is no reason to require eqascii
27
28 %description devel
29 Package contains static library, header file and documentation useful
30 for developing programs that draw equations in text mode.
31
32 %description devel -l pl
33 Pakiet zawiera bibliotekê statyczn±, plik nag³ówkowy i dokumentacjê
34 przydatne przy pisaniu programów wy¶wietlaj±cych wzory jako ASCII.
35
36 %prep
37 %setup -q -n %{name}
38
39 %build
40 %{__make} \
41         DEBUG="%{rpmcflags}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}/man{1,3}}
46
47 install eqascii $RPM_BUILD_ROOT%{_bindir}
48 install eqascii.1 $RPM_BUILD_ROOT%{_mandir}/man1
49 install eqascii.3 $RPM_BUILD_ROOT%{_mandir}/man3
50 install eqascii.a $RPM_BUILD_ROOT%{_libdir}
51 install eqascii.h $RPM_BUILD_ROOT%{_includedir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc HISTORY test
59 %attr(755,root,root) %{_bindir}/*
60 %{_mandir}/man1/*
61
62 %files devel
63 %defattr(644,root,root,755)
64 %{_libdir}/*.a
65 %{_includedir}/*.h
66 %{_mandir}/man3/*
This page took 0.067074 seconds and 3 git commands to generate.