fish.spec

Jacek 'jackass' Brzozowski metallowiec at op.pl
Sun Apr 10 15:41:22 CEST 2005


Witam
Dorzucam nowego speca

-------------- next part --------------
# $Revision: 1.30 $, $Date: 2004/12/16 13:01:38 $
Summary:	fish - A friendly interactive shell
Summary(pl):	fish - przyjazna interaktywna pow³oka
Name:		fish
Version:	1.6
Release:	1
License:	GPL
Group:		Applications/Shells
Source0:	http://roo.no-ip.org/fish/files/%{version}/%{name}-%{version}.tar.gz
# Source0-md5:	ab1b3603bdeaf4a758194d6236eb8da2
Patch0:		%{name}-ncurses.patch
URL:		http://roo.no-ip.org/fish/
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	ncurses-devel
BuildRequires:	doxygen
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
fish is a shell geared towards interactive use. It's features are
focused on user friendlieness and discoverability. The language syntax
is simple but incompatible with other shell languages.

%description -l pl
fish jest pow³ok± nastawion± na interaktywne urzywanie. Jego cech±
jest przyjezne nastawienie dla urzytkownika. Sk³adnia jêzyka jest
prosta ale nie jest zgodna z innymi jêzykami pow³oki.

%prep
%setup -q
%patch0 -p1
find -name "Makefile.in" -exec \
	sed -i -e "s at -o 0 -g 0@@" \
	-e "s@/usr/local/@/usr/@" \
	"{}" ";" \

find -name "configure" -exec \
        sed -i -e "s@/usr/local/@/usr/@" \
        "{}" ";"

%build
#%{__aclocal}
#%{__autoconf}
#%{__autoheader}
#%{__automake}

%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_prefix}/man/man1
install -d $RPM_BUILD_ROOT/%{_mandir}/man1

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

mv -f $RPM_BUILD_ROOT%{_prefix}/man/man1/*.1* $RPM_BUILD_ROOT/%{_mandir}/man1/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc INSTALL README
%doc %{_docdir}/%{name}/*
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*.1*
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: fish.spec,v $
-------------- next part --------------
--- fish-1.6/input.c.orig        2005-04-10 11:41:14.819977912 +0200
+++ fish-1.6/input.c     2005-04-10 11:42:36.639539448 +0200
@@ -28,9 +28,9 @@
 #include <sys/ioctl.h>
 #include <unistd.h>
 #if HAVE_NCURSES_H
-#include <ncurses.h>
+#include <ncurses/ncurses.h>
 #else
-#include <curses.h>
+#include <ncurses/curses.h>
 #endif


@@ -38,7 +38,7 @@
 #include <termio.h>
 #endif

-#include <term.h>
+#include <ncurses/term.h>
 #include <signal.h>
 #include <dirent.h>
 #include <wctype.h>
--- fish-1.6/proc.c.orig 2005-04-10 11:45:18.444941288 +0200
+++ fish-1.6/proc.c      2005-04-10 11:45:42.793239784 +0200
@@ -27,16 +27,16 @@
 #include <sys/time.h>

 #if HAVE_NCURSES_H
-#include <ncurses.h>
+#include <ncurseees/ncurses.h>
 #else
-#include <curses.h>
+#include <ncurses/curses.h>
 #endif

 #if HAVE_TERMIO_H
 #include <termio.h>
 #endif

-#include <term.h>
+#include <ncurses/term.h>

 #include "util.h"
 #include "wutil.h"
--- fish-1.6/reader.c.orig       2005-04-10 11:46:02.679216656 +0200
+++ fish-1.6/reader.c    2005-04-10 11:46:23.376070256 +0200
@@ -27,9 +27,9 @@
 #include <unistd.h>

 #if HAVE_NCURSES_H
-#include <ncurses.h>
+#include <ncurses/ncurses.h>
 #else
-#include <curses.h>
+#include <ncurses/curses.h>
 #endif


@@ -37,7 +37,7 @@
 #include <termio.h>
 #endif

-#include <term.h>
+#include <ncurses/term.h>
 #include <signal.h>
 #include <fcntl.h>
 #include <dirent.h>
--- fish-1.6/set_color.c.orig    2005-04-10 11:47:17.434852072 +0200
+++ fish-1.6/set_color.c 2005-04-10 11:47:41.721159992 +0200
@@ -9,9 +9,9 @@
 #include <unistd.h>

 #if HAVE_NCURSES_H
-#include <ncurses.h>
+#include <ncurses/ncurses.h>
 #else
-#include <curses.h>
+#include <ncurses/curses.h>
 #endif


@@ -19,7 +19,7 @@
 #include <termio.h>
 #endif

-#include <term.h>
+#include <ncurses/term.h>
 #include <errno.h>

 /*



More information about the pld-devel-pl mailing list