]> git.pld-linux.org Git - packages/dalc.git/commitdiff
initial release
authorRoman Werpachowski <roman.werpachowski@gmail.com>
Fri, 24 Nov 2000 14:16:12 +0000 (14:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dalc.spec -> 1.1

dalc.spec [new file with mode: 0644]

diff --git a/dalc.spec b/dalc.spec
new file mode 100644 (file)
index 0000000..b4c9ae0
--- /dev/null
+++ b/dalc.spec
@@ -0,0 +1,44 @@
+Summary:       A powerful scientific DAL calculator
+Summary(pl):   Zaawansowany kalkulator naukowy
+Name:          dalc
+Version:       0.1
+Release:       1
+License:       GPL
+Group:         Applications/Math
+Group(pl):     Aplikacje/Matematyczne
+Source:                http://linuxberg.iol.it/files/console/scientific/%{name}-%{version}.tgz
+Patch0:                dalc-fixincludes.patch
+BuildRequires: ncurses-devel
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dalc is designed to be both powerful and easy to use at the same time.
+
+%description -l pl
+Dalc ma du¿e mo¿liwo¶ci, jednocze¶nie bêd±c ³atwym w u¿yciu.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+make CFLAGS="$RPM_OPT_FLAGS -DVIEWER=\\\"xv\\\" -DCONVERTER=\\\"ppmtogif\\\" -I/usr/include/ncurses" \
+       LDFLAGS="-L/usr/X11R6/lib -s" \
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_mandir}/man1
+install -d $RPM_BUILD_ROOT/%{_bindir}
+make install \
+        BINDIR=$RPM_BUILD_ROOT%{_bindir} \
+        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
+
+%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.08507 seconds and 4 git commands to generate.