]> git.pld-linux.org Git - packages/dalc.git/blob - dalc.spec
patch fixes broken includes:
[packages/dalc.git] / dalc.spec
1 Summary:        A powerful scientific DAL calculator
2 Summary(pl):    Zaawansowany kalkulator naukowy
3 Name:           dalc
4 Version:        0.1
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Group(pl):      Aplikacje/Matematyczne
9 Source:         http://linuxberg.iol.it/files/console/scientific/%{name}-%{version}.tgz
10 Patch0:         dalc-fixincludes.patch
11 BuildRequires:  ncurses-devel
12 BuildRequires:  libstdc++-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Dalc is designed to be both powerful and easy to use at the same time.
17
18 %description -l pl
19 Dalc ma du¿e mo¿liwo¶ci, jednocze¶nie bêd±c ³atwym w u¿yciu.
20
21 %prep
22 %setup -q
23 %patch0 -p1
24
25 %build
26 make CFLAGS="$RPM_OPT_FLAGS -DVIEWER=\\\"xv\\\" -DCONVERTER=\\\"ppmtogif\\\" -I/usr/include/ncurses" \
27         LDFLAGS="-L/usr/X11R6/lib -s" \
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT/%{_mandir}/man1
32 install -d $RPM_BUILD_ROOT/%{_bindir}
33 make install \
34         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
35         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc *.gz
43 %attr(755,root,root) %{_bindir}/*
44 %{_mandir}/man1/*
This page took 0.093189 seconds and 3 git commands to generate.