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