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