Group :: Escritórios
RPM: xchm
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1
Name: xchm
Version: 1.35
Release: alt1
Summary: xCHM - the CHM viewer for UNIX
License: GPL-2.0-or-later
Group: Office
URL: http://xchm.sourceforge.net
Source: %name-%version.tar
Source1: xchm.desktop
BuildRequires: gcc-c++
BuildRequires: libchm-devel
BuildRequires: libwxGTK3.2-devel
BuildRequires: libssl-devel
%description
xCHM - the CHM files viewer for UNIX.
%prep
%setup
%build
%autoreconf
%configure \
--enable-debug \
--enable-optimize
%make_build
%install
%makeinstall_std
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/xchm.desktop
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING ChangeLog README
%_bindir/xchm
%_datadir/metainfo/*
%_desktopdir/xchm.desktop
%_iconsdir/hicolor/*/apps/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
%define _unpackaged_files_terminate_build 1
Name: xchm
Version: 1.35
Release: alt1
Summary: xCHM - the CHM viewer for UNIX
License: GPL-2.0-or-later
Group: Office
URL: http://xchm.sourceforge.net
Source: %name-%version.tar
Source1: xchm.desktop
BuildRequires: gcc-c++
BuildRequires: libchm-devel
BuildRequires: libwxGTK3.2-devel
BuildRequires: libssl-devel
%description
xCHM - the CHM files viewer for UNIX.
%prep
%setup
%build
%autoreconf
%configure \
--enable-debug \
--enable-optimize
%make_build
%install
%makeinstall_std
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/xchm.desktop
%find_lang %name
%files -f %name.lang
%doc AUTHORS COPYING ChangeLog README
%_bindir/xchm
%_datadir/metainfo/*
%_desktopdir/xchm.desktop
%_iconsdir/hicolor/*/apps/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui