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