]> git.pld-linux.org Git - packages/dalc.git/blob - dalc.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[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:        3
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        http://linuxberg.iol.it/files/console/scientific/%{name}-%{version}.tgz
9 Patch0:         %{name}-ac_am.patch
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  libtool
13 BuildRequires:  ncurses-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
17 %if %{_gcc_ver} == 2
18 %define         __cxx           "%{__cc}"
19 %endif
20
21 %description
22 Dalc is designed to be both powerful and easy to use at the same time.
23
24 %description -l pl
25 Dalc ma du¿e mo¿liwo¶ci, jednocze¶nie bêd±c ³atwym w u¿yciu.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 rm -f missing
33 %{__libtoolize}
34 aclocal
35 %{__autoconf}
36 autoheader
37 %{__automake}
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/*
52 %{_mandir}/man1/*
This page took 0.026314 seconds and 3 git commands to generate.