]> git.pld-linux.org Git - packages/pinfo.git/blobdiff - pinfo.spec
- up to 0.6.9
[packages/pinfo.git] / pinfo.spec
index 55f44e3e96692db6d54df0fde3a23fc94a9f09e9..724dcceb01cba08673eb93ac7d11a2d0321c6ebe 100644 (file)
@@ -1,28 +1,32 @@
+#
 Summary:       Lynx-style info browser
 Summary(es):   Visualizador de páginas info y man
-Summary(pl):   Przêgl±darka info w stylu lynksa
+Summary(pl):   Przegl±darka info w stylu lynksa
 Summary(pt_BR):        Visualizador de páginas info e man
 Summary(ru):   ðÒÏÇÒÁÍÍÁ ÐÒÏÓÍÏÔÒÁ info- É man-ÄÏËÕÍÅÎÔÏ× × ÓÔÉÌÅ lynx
 Summary(uk):   ðÒÏÇÒÁÍÁ ÐÅÒÅÇÌÑÄÕ info- ÔÁ man-ÄÏËÕÍÅÎԦנՠÓÔÉ̦ lynx
 Name:          pinfo
-Version:       0.6.6p1
-Release:       2
-License:       GPL
+Version:       0.6.9
+Release:       1
+License:       GPL v2
 Group:         Applications/System
-Vendor:                Przemek Borys <pborys@dione.ids.pl>
-Source0:       http://zeus.polsl.gliwice.pl/~pborys/stable-version/%{name}-%{version}.tar.gz
+Source0:       https://alioth.debian.org/download.php/1498/%{name}-%{version}.tar.bz2
+# Source0-md5: e0c788467945f5f97fbacad55863e5b8
 Source1:       %{name}.sh
 Source2:       %{name}.csh
 Patch0:                %{name}-amfix.patch
-Patch1:                %{name}-info.patch
+Patch1:                %{name}-home_etc.patch
+URL:           http://pinfo.alioth.debian.org/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: gettext-devel
 BuildRequires: ncurses-devel >= 5.0
+BuildRequires: readline-devel
+BuildRequires: texinfo
 Requires:      man-config
+Requires:      setup >= 2.4.6-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _sysconfdir     /etc
-
 %description
 Pinfo is a curses based lynx-style info browser.
 
@@ -52,8 +56,12 @@ Pinfo - 
 %patch0 -p1
 %patch1 -p1
 
+rm -f doc/pinfo.info
+
 %build
-aclocal -I macros
+CPPFLAGS="-I%{_includedir}/ncurses"
+%{__gettextize}
+%{__aclocal} -I macros
 %{__autoconf}
 %{__automake}
 %configure \
@@ -63,12 +71,13 @@ aclocal -I macros
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
+install -d $RPM_BUILD_ROOT/etc/shrc.d
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.sh
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/%{name}.csh
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.sh
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.csh
 
 %find_lang %{name}
 
@@ -85,7 +94,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS AUTHORS README
 %attr(755,root,root) %{_bindir}/pinfo
-%attr(755,root,root) %{_sysconfdir}/profile.d/*
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pinforc
+/etc/shrc.d/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pinforc
 %{_mandir}/man1/*
 %{_infodir}/pinfo*
This page took 0.073129 seconds and 4 git commands to generate.