Użytkownik Andrzej Krzysztofowicz napisał:

1. Its
ok

2. znajdzie sie w /etc/shells ?

owszem


3. Jak z implementacja /etc/profile.d, /etc/shrc.d i /etc/env.d ?



   prawdę mówiąc nie wiem... po prostu się nie znam


# $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}-Makefile.patch
Patch1:         %{name}-configure.patch
URL:            http://roo.no-ip.org/fish/
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  doxygen
BuildRequires:  ncurses-devel
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
fish is a shell geared towards interactive use. Its 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 u�ywanie. Jego cech� jest
przyjazne nastawienie dla u�ytkownika. Sk�adnia j�zyka jest prosta ale
nie jest zgodna z innymi j�zykami pow�oki.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
CFLAGS="-I /usr/include/ncurses"
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
        DESTDIR=$RPM_BUILD_ROOT

%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 <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: fish.spec,v $
--- fish-1.6/Makefile.in.orig   2005-04-10 17:34:23.610792088 +0200
+++ fish-1.6/Makefile.in        2005-04-10 18:27:54.849609584 +0200
@@ -187,25 +187,25 @@
        echo "}" >>$@
 #man -- doc_src/builtin_doc/man/man1/`basename $@ .c`.1 | cat -s | ./gen_hdr2 
>>$@
 install: all 
-       $(INSTALL) -m 755 -o 0 -g 0 -d $(DESTDIR)/usr/local/bin/ 
+       $(INSTALL) -m 755  -d $(DESTDIR)/usr/bin/ 
        for i in fish tokenize set_color xsel-0.9.6/xsel mimedb; do\
-               $(INSTALL) -m 755 -o 0 -g 0 $$i $(DESTDIR)/usr/local/bin; \
+               $(INSTALL) -m 755  $$i $(DESTDIR)/usr/bin; \
        done;
-       $(INSTALL) -m 755 -o 0 -g 0 -d $(DESTDIR)/etc/fish.d 
-       $(INSTALL) -o 0 -g 0 -m 644 init/fish $(DESTDIR)/etc 
-       $(INSTALL) -o 0 -g 0 -m 644 init/fish_alias.fish $(DESTDIR)/etc/fish.d/;
-       $(INSTALL) -o 0 -g 0 -m 644 init/fish_complete.fish 
$(DESTDIR)/etc/fish.d/;
-       $(INSTALL) -o 0 -g 0 -m 644 init/fish_inputrc 
$(DESTDIR)/etc/fish_inputrc;
-       $(INSTALL) -o 0 -g 0 -m 755 -d $(DESTDIR)/usr/share/doc/fish
+       $(INSTALL) -m 755  -d $(DESTDIR)/etc/fish.d 
+       $(INSTALL)  -m 644 init/fish $(DESTDIR)/etc 
+       $(INSTALL)  -m 644 init/fish_alias.fish $(DESTDIR)/etc/fish.d/;
+       $(INSTALL)  -m 644 init/fish_complete.fish $(DESTDIR)/etc/fish.d/;
+       $(INSTALL)  -m 644 init/fish_inputrc $(DESTDIR)/etc/fish_inputrc;
+       $(INSTALL)  -m 755 -d $(DESTDIR)/usr/share/doc/fish
        for i in user_doc/html/*; do \
-               $(INSTALL) -m 644 -o 0 -g 0 $$i $(DESTDIR)/usr/share/doc/fish/; 
\
+               $(INSTALL) -m 644  $$i $(DESTDIR)/usr/share/doc/fish/; \
        done
-       $(INSTALL) -o 0 -g 0 -m 755 -d $(DESTDIR)/usr/local/man/man1
+       $(INSTALL)  -m 755 -d $(DESTDIR)/usr/share/man/man1
        for i in doc_src/fish.1 xsel-0.9.6/xsel.1x 
doc_src/builtin_doc/man/man1/mimedb.1 doc_src/builtin_doc/man/man1/set_color.1 
doc_src/builtin_doc/man/man1/tokenize.1; do \
-               $(INSTALL) -m 644 -o 0 -g 0 $$i $(DESTDIR)/usr/local/man/man1/; 
\
+               $(INSTALL) -m 644  $$i $(DESTDIR)/usr/share/man/man1/; \
        done;
        echo If you want to use fish as the default shell, remember to first
-       echo add the line \'/usr/local/bin/fish\' to the file \'/etc/shells\'.
+       echo add the line \'/usr/bin/fish\' to the file \'/etc/shells\'.
 
 #Local install
 linstall: all 
@@ -226,7 +226,7 @@
        echo add the line \'$(HOME)/bin/fish\' to the file \'/etc/shells\'.
 
 uninstall:
-       rm -f $(DESTDIR)/usr/local/bin/fish $(DESTDIR)/usr/local/bin/tokenize 
$(DESTDIR)/usr/local/bin/set_color $(DESTDIR)/usr/local/bin/xsel 
$(DESTDIR)/usr/local/bin/mimedb
+       rm -f $(DESTDIR)/usr/bin/fish $(DESTDIR)/usr/local/bin/tokenize 
$(DESTDIR)/usr/local/bin/set_color $(DESTDIR)/usr/local/bin/xsel 
$(DESTDIR)/usr/local/bin/mimedb
        rm -f $(DESTDIR)/etc/fish 
        rm -f $(DESTDIR)/etc/fish_inputrc
        rm -f $(DESTDIR)/etc/fish.d/fish_alias 
$(DESTDIR)/etc/fish.d/fish_complete; 
--- fish-1.6/configure.orig     2005-04-10 18:33:23.793602496 +0200
+++ fish-1.6/configure  2005-04-10 18:48:43.513783776 +0200
@@ -253,7 +253,7 @@
 #
 # Initializations.
 #
-ac_default_prefix=/usr/local
+ac_default_prefix=/usr
 ac_config_libobj_dir=.
 cross_compiling=no
 subdirs=
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym