]> git.pld-linux.org Git - packages/dalc.git/blob - dalc.spec
- massive change ( validate errors warrings from desktop-file-validate)
[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.UTF-8):      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:  libstdc++-devel
18 BuildRequires:  libtool
19 BuildRequires:  ncurses-ext-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
23 %if %{_gcc_ver} == 2
24 %define         __cxx           "%{__cc}"
25 %endif
26
27 %description
28 Dalc is designed to be both powerful and easy to use at the same time.
29
30 %description -l pl.UTF-8
31 Dalc ma duże możliwości, jednocześnie będąc łatwym w użyciu.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36
37 %build
38 rm -f missing
39 %{__libtoolize}
40 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_desktopdir}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
62 %{_mandir}/man1/*
63 %{_desktopdir}/*.desktop
This page took 0.09233 seconds and 3 git commands to generate.