]>
Commit | Line | Data |
---|---|---|
ea64e143 | 1 | Summary: EQuation ASCII renderer |
7012ef24 | 2 | Summary(pl.UTF-8): Program wyświetlający równania jako ASCII |
ea64e143 | 3 | Name: eqascii |
ca78116c | 4 | Version: 0.3.1 |
bad38643 | 5 | Release: 3 |
ca78116c | 6 | License: GPL |
ea64e143 | 7 | Group: Applications/Text |
ea64e143 | 8 | Source0: http://dione.ids.pl/~pborys/software/linux/%{name}-%{version}.tar.gz |
d4cc641e | 9 | # Source0-md5: 71b79c3d3987ed125293e9b6e0bd017c |
ea64e143 JB |
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 | ||
f6efd109 JR |
17 | %description -l pl.UTF-8 |
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 | |
bad38643 | 20 | LaTeXa. |
ea64e143 | 21 | |
961891bd JB |
22 | %package devel |
23 | Summary: EQuation ASCII renderer for programmers | |
7012ef24 | 24 | Summary(pl.UTF-8): Biblioteka do zamiany równań na postać ASCII |
961891bd | 25 | Group: Development/Libraries |
961891bd JB |
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 | ||
f6efd109 JR |
32 | %description devel -l pl.UTF-8 |
33 | Pakiet zawiera bibliotekę statyczną, plik nagłówkowy i dokumentację | |
34 | przydatne przy pisaniu programów wyświetlających wzory jako ASCII. | |
961891bd | 35 | |
ea64e143 JB |
36 | %prep |
37 | %setup -q -n %{name} | |
38 | ||
39 | %build | |
bad38643 JB |
40 | %{__make} \ |
41 | DEBUG="%{rpmcflags}" | |
ea64e143 JB |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
961891bd | 45 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_includedir},%{_mandir}/man{1,3}} |
ea64e143 JB |
46 | |
47 | install eqascii $RPM_BUILD_ROOT%{_bindir} | |
48 | install eqascii.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
961891bd JB |
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} | |
ea64e143 | 52 | |
ea64e143 JB |
53 | %clean |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
023c798c | 58 | %doc HISTORY test |
ea64e143 JB |
59 | %attr(755,root,root) %{_bindir}/* |
60 | %{_mandir}/man1/* | |
961891bd JB |
61 | |
62 | %files devel | |
63 | %defattr(644,root,root,755) | |
64 | %{_libdir}/*.a | |
65 | %{_includedir}/*.h | |
66 | %{_mandir}/man3/* |