X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpinfo.git;a=blobdiff_plain;f=pinfo.spec;h=53e82e7d464ef7573d3a0cca9304773772f46ab5;hp=199b3d2f0ecb92f8540347cf2e63b013afda8115;hb=3e6433897a85466e8868cf6b0e129e243a127646;hpb=73e4bec4371a7eaf2ae44c9b811ba11e5ec81897 diff --git a/pinfo.spec b/pinfo.spec index 199b3d2..53e82e7 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -5,27 +5,31 @@ Summary(pt_BR.UTF-8): Visualizador de páginas info e man Summary(ru.UTF-8): Программа просмотра info- и man-документов в стиле lynx Summary(uk.UTF-8): Програма перегляду info- та man-документів у стилі lynx Name: pinfo -Version: 0.6.9 +Version: 0.6.10 Release: 1 License: GPL v2 Group: Applications/System -Source0: https://alioth.debian.org/download.php/1498/%{name}-%{version}.tar.bz2 -# Source0-md5: e0c788467945f5f97fbacad55863e5b8 +#Source0Download: https://github.com/baszoetekouw/pinfo/releases +Source0: https://github.com/baszoetekouw/pinfo/archive/%{version}/%{name}-%{version}.tar.gz +# Source0-md5: de82923e08cac4940d8c91770cc1ff63 Source1: %{name}.sh Source2: %{name}.csh Patch0: %{name}-amfix.patch Patch1: %{name}-home_etc.patch Patch2: %{name}-pl.po-update.patch Patch3: %{name}-info.patch -URL: http://pinfo.alioth.debian.org/ +Patch4: %{name}-ncurses.patch +Patch5: %{name}-color.patch +URL: https://github.com/baszoetekouw/pinfo BuildRequires: autoconf >= 2.57 BuildRequires: automake -BuildRequires: gettext-devel +BuildRequires: gettext-tools +BuildRequires: libtool BuildRequires: ncurses-devel >= 5.0 BuildRequires: readline-devel >= 4.0 BuildRequires: texinfo -Requires: man-config Requires: setup >= 2.4.6-2 +Suggests: man BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -58,17 +62,17 @@ Pinfo - це програма перегляду info-файлів та man-ст %patch1 -p1 %patch2 -p1 %patch3 -p1 - -rm -f doc/pinfo.info po/stamp-po +%patch4 -p1 +%patch5 -p1 %build -CPPFLAGS="-I%{_includedir}/ncurses" +CPPFLAGS="-I%{_includedir}/ncursesw" %{__gettextize} +%{__libtoolize} %{__aclocal} -I macros %{__autoconf} %{__automake} -%configure \ - --without-included-gettext +%configure %{__make} @@ -87,17 +91,17 @@ install %{SOURCE2} $RPM_BUILD_ROOT/etc/shrc.d/%{name}.csh %clean rm -rf $RPM_BUILD_ROOT -%post -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 +%post -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} -%postun -[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 +%postun -p /sbin/postshell +-/usr/sbin/fix-info-dir -c %{_infodir} %files -f %{name}.lang %defattr(644,root,root,755) %doc ChangeLog NEWS AUTHORS README %attr(755,root,root) %{_bindir}/pinfo -/etc/shrc.d/* +%config(noreplace) %verify(not md5 mtime size) /etc/shrc.d/pinfo.* %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pinforc -%{_mandir}/man1/* -%{_infodir}/pinfo* +%{_mandir}/man1/pinfo.1* +%{_infodir}/pinfo.info*