remove internal perl automatic deps [release 1.22.3-2mamba;Fri Jan 29 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 23:28:34 +01:00
parent 05e511016d
commit 1c0b3900ed

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: groff
Version: 1.22.2
Release: 1mamba
Version: 1.22.3
Release: 2mamba
Summary: groff (GNU Troff) is a typesetting package
Group: Applications/Publishing
Vendor: openmamba
@ -12,8 +12,6 @@ Source: ftp://ftp.gnu.org/gnu/groff/groff-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
%if "%{stage1}" != "1"
BuildRequires: libICE-devel
BuildRequires: libSM-devel
@ -22,9 +20,8 @@ BuildRequires: libXaw-devel
BuildRequires: libXmu-devel
BuildRequires: libXt-devel
%endif
BuildRequires: netpbm
BuildRequires: perl-devel
BuildRequires: psutils
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel >= 0.14.1
%if "%{stage1}" != "1"
@ -66,6 +63,27 @@ Group: Documentation
%prep
%setup -q
#-D -T
%define _use_internal_dependency_generator 0
%define __find_provides %{_builddir}/groff-%{version}/find_provides.sh
cat > find_provides.sh << _EOF
#! /bin/sh
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
exit 0
_EOF
chmod +x find_provides.sh
%define __find_requires %{_builddir}/groff-%{version}/find_requires.sh
cat > find_requires.sh << _EOF
#! /bin/sh
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null | \
grep -v "perl(.*\.pl"
exit 0
_EOF
chmod +x find_requires.sh
%build
%configure \
@ -102,21 +120,71 @@ exit 0
%files
%defattr(-,root,root)
%{_bindir}/*
%if "%{stage1}" != "1"
%exclude %{_bindir}/xtotroff
%exclude %{_bindir}/gxditview
%endif
%{_bindir}/addftinfo
%{_bindir}/afmtodit
%{_bindir}/chem
%{_bindir}/eqn
%{_bindir}/eqn2graph
%{_bindir}/gdiffmk
%{_bindir}/geqn
%{_bindir}/glilypond
%{_bindir}/gperl
%{_bindir}/gpinyin
%{_bindir}/grap2graph
%{_bindir}/grn
%{_bindir}/grodvi
%{_bindir}/groff
%{_bindir}/groffer
%{_bindir}/grog
%{_bindir}/grolbp
%{_bindir}/grolj4
%{_bindir}/gropdf
%{_bindir}/grops
%{_bindir}/grotty
%{_bindir}/gtbl
%{_bindir}/hpftodit
%{_bindir}/indxbib
%{_bindir}/lkbib
%{_bindir}/lookbib
%{_bindir}/mmroff
%{_bindir}/neqn
%{_bindir}/nroff
%{_bindir}/pdfmom
%{_bindir}/pdfroff
%{_bindir}/pfbtops
%{_bindir}/pic
%{_bindir}/pic2graph
%{_bindir}/post-grohtml
%{_bindir}/pre-grohtml
%{_bindir}/preconv
%{_bindir}/refer
%{_bindir}/roff2dvi
%{_bindir}/roff2html
%{_bindir}/roff2pdf
%{_bindir}/roff2ps
%{_bindir}/roff2text
%{_bindir}/roff2x
%{_bindir}/soelim
%{_bindir}/tbl
%{_bindir}/tfmtodit
%{_bindir}/troff
%{_bindir}/zsoelim
%dir %{_libdir}/groff/glilypond
%{_libdir}/groff/glilypond/*
%dir %{_libdir}/groff/gpinyin
%{_libdir}/groff/gpinyin/subs.pl
%{_libdir}/groff/groff_opts*.txt
%{_libdir}/groff/grog/subs.pl
%dir %{_libdir}/groff/groffer
%{_libdir}/groff/groffer/*
%dir %{_datadir}/groff
%dir %{_datadir}/groff/%{version}
%{_datadir}/groff/%{version}/*
%dir %{_datadir}/groff/site-tmac
%{_datadir}/groff/site-tmac/*
%{_datadir}/man/man?/*
%{_libdir}/groff/groffer/*.pl
%{_libdir}/groff/groffer/*.sh
%{_infodir}/*
%{_datadir}/groff/current
%{_infodir}/groff.info*
%{_mandir}/man?/*
%doc COPYING LICENSES
%if "%{stage1}" != "1"
@ -133,6 +201,12 @@ exit 0
%doc ChangeLog BUG-REPORT NEWS PROBLEMS README TODO
%changelog
* Fri Jan 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.3-2mamba
- remove internal perl automatic deps
* Wed Nov 05 2014 Automatic Build System <autodist@mambasoft.it> 1.22.3-1mamba
- automatic version update by autodist
* Sat Feb 09 2013 Automatic Build System <autodist@mambasoft.it> 1.22.2-1mamba
- automatic version update by autodist