Files
perl-Gtk2-Ex-PodViewer/perl-Gtk2-Ex-PodViewer.spec
2025-08-12 18:14:28 +02:00

58 lines
1.3 KiB
RPMSpec

Name: perl-Gtk2-Ex-PodViewer
# List of additional build dependencies
BuildRequires: perl-Pod-Simple perl-Gtk2 perl-IO-stringy
BuildRequires: perl-macros
Requires: perl-Pod-Simple perl-Gtk2 perl-IO-stringy
Version: 0.18
Release: 1
License: Artistic license
Source: Gtk2-Ex-PodViewer-0.18.tar.gz
Source100: README.md
Group: Development/Libraries/Perl
Summary: Gtk2::Ex::PodViewer - a Gtk2 widget for displaying Plain old Documentation (POD)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
Gtk2::Ex::PodViewer - a Gtk2 widget for displaying Plain old
Documentation (POD). This module used to be called Gtk2::PodViewer.
%prep
%setup -q -n Gtk2-Ex-PodViewer-%version
%build
perl Makefile.PL
make
%install
make DESTDIR=%buildroot install_vendor
%perl_process_packlist
# Write a proper %%files section and remove these two commands and
# the '-f filelist' option to %%files
echo '%%defattr(-,root,root)' >filelist
find %buildroot -type f -printf '/%%P*\n' >>filelist
%clean
rm -rf %buildroot
%files -f filelist
%defattr(-,root,root)
%dir %{perl_vendorlib}/Gtk2
%dir %{perl_vendorlib}/Gtk2/Ex
%dir %{perl_vendorlib}/Gtk2/Ex/PodViewer
%dir %{perl_vendorarch}/auto/Gtk2/Ex
%dir %{perl_vendorarch}/auto/Gtk2/Ex/PodViewer
%changelog -n %{name}