]> git.pld-linux.org Git - packages/blassic.git/blobdiff - blassic.spec
- many small fixes, inspired by kloczek
[packages/blassic.git] / blassic.spec
index c5b9ad526e7a40ad1b4c1649753759a3c8b84aef..8447162663f606b3e177d95fdb6dd21e0457cf7b 100644 (file)
@@ -1,13 +1,16 @@
 Summary:       Classic Basic interpreter
 Summary(pl):   Interpreter klasycznego Basica
 Name:          blassic
-Version:       0.4.2
+Version:       0.5.7
 Release:       1
 License:       GPL v2
 Group:         Development/Languages
-Source0:       http://www.xente.mundo-r.com/notfound/blassic/%{name}-%{version}.tgz
-URL:           http://www.xente.mundo-r.com/notfound/blassic/
+Source0:       http://www.arrakis.es/~ninsesabe/%{name}/%{name}-%{version}.tgz
+# Source0-md5: e99839c048d5ac81a17eeb76f9abd823
+Patch0:                %{name}-ac_fix.patch
+URL:           http://www.arrakis.es/~ninsesabe/blassic/
 BuildRequires: ncurses-devel
+BuildRequires: XFree86-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,22 +27,29 @@ mo
 
 %prep
 %setup -q
+%patch0 -p1
+mv -f aclocal.m4 acinclude.m4
 
 %build
+rm -f missing
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure
-# Yes, they don't know how to use ac properly
-%{__make} CPPFLAGS='-I%{_includedir}/ncurses' CXXFLAGS='%{rpmcflags}'
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT examplesdir=%{_examplesdir}/%{name}-%{version}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       examplesdir=%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README NEWS AUTHORS THANKS
+%doc AUTHORS NEWS README THANKS TODO
 %doc %{_examplesdir}/%{name}-%{version}
 %attr(755,root,root) %{_bindir}/*
This page took 0.078555 seconds and 4 git commands to generate.