]> git.pld-linux.org Git - packages/dalc.git/blobdiff - dalc.spec
- release i3: use %%{__cc} as %{__cxx} and remove libstdc++-devel from
[packages/dalc.git] / dalc.spec
index 1f7b804c9d040396a042080847ff16b8d6fe69bf..820f02adee311366268fca72643aadf97813b171 100644 (file)
--- a/dalc.spec
+++ b/dalc.spec
@@ -2,16 +2,32 @@ Summary:      A powerful scientific DAL calculator
 Summary(pl):   Zaawansowany kalkulator naukowy
 Name:          dalc
 Version:       0.1
-Release:       1
+Release:       3
 License:       GPL
 Group:         Applications/Math
+Group(cs):     Aplikace/Matematické
+Group(da):     Programmer/Matematik
 Group(de):     Applikationen/Mathematik
+Group(es):     Aplicaciones/Matemáticas
+Group(fr):     Applications/Mathématiques
+Group(it):     Applicazioni/Matematiche
+Group(no):     Applikasjoner/Matematiske
 Group(pl):     Aplikacje/Matematyczne
+Group(pt):     Aplicações/Matemática
+Group(ru):     ðÒÉÌÏÖÅÎÉÑ/íÁÔÅÍÁÔÉÞÅÓËÉÅ
+Group(sl):     Programi/Matematièni
+Group(sv):     Tillämpningar/Matemataisk
+Group(uk):     ðÒÉËÌÁÄΦ ðÒÏÇÒÁÍÉ/íÁÔÅÍÁÔÉËÁ
 Source0:       http://linuxberg.iol.it/files/console/scientific/%{name}-%{version}.tgz
-Patch0:                %{name}-fixincludes.patch
+Patch0:                %{name}-ac_am.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                __cxx           %{__cc}
+
 %description
 Dalc is designed to be both powerful and easy to use at the same time.
 
@@ -23,22 +39,24 @@ Dalc ma du
 %patch0 -p1
 
 %build
-%{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} \
-       -DVIEWER=\\\"xv\\\" -DCONVERTER=\\\"ppmtogif\\\" -I%{_includedir}/ncurses" \
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+autoheader
+automake -a -c
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir}}
-
 %{__make} install \
-        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
-        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
This page took 0.093117 seconds and 4 git commands to generate.