X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpinfo.git;a=blobdiff_plain;f=pinfo.spec;h=adf36aeafe4e2a696975606567ed91e11e2c4169;hp=2b975c46dbf9f29ad7bd3b4883dfc8b9037b8a85;hb=a34a3298f8945c76825eab8373ff7a3b1d04bb7a;hpb=386318200cddf2df50dc1cffbec92be52d1a9819 diff --git a/pinfo.spec b/pinfo.spec index 2b975c4..adf36ae 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -2,14 +2,17 @@ Summary: Lynx-style info browser Summary(es): Visualizador de páginas info y man Summary(pl): Przêgl±darka info w stylu lynksa Summary(pt_BR): Visualizador de páginas info e man -Name: pinfo +Name: pinfo Version: 0.6.5 -Release: 1 +Release: 2 License: GPL Group: Applications/System Vendor: Przemek Borys Source0: http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz +Source1: %{name}.sh +Source2: %{name}.csh Patch0: %{name}-amfix.patch +Requires: man-config BuildRequires: autoconf BuildRequires: automake BuildRequires: ncurses-devel >= 5.0 @@ -41,14 +44,18 @@ autoconf automake -a -c -f %configure \ --without-included-gettext - -%{__make} + +%{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d +install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.sh +install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.csh + gzip -9nf ChangeLog NEWS AUTHORS README %find_lang %{name} @@ -60,6 +67,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc *.gz %attr(755,root,root) %{_bindir}/pinfo +%attr(755,root,root) %{_sysconfdir}/profile.d/* %config %verify(not md5 size mtime) %{_sysconfdir}/pinforc %{_mandir}/man1/*