Group :: Edição
RPM: libdjvu15
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define orig_name djvulibre
%def_disable static
Summary: DjVu viewers, encoders and utilities
Name: libdjvu15
Version: 3.5.17
Release: alt2
License: GPL
Group: Publishing
Source: %orig_name-%version.tar
Url: http://%orig_name.djvuzone.org/
Patch0: djvulibre-3.5.17-alt-xgl.patch
Patch1: djvulibre-3.5-alt-xtlib-dep.patch
# Automatically added by buildreq on Fri May 21 2004 (-ba)
BuildRequires: xorg-x11-devel xorg-x11-libs fontconfig freetype2 gcc-c++ libjpeg-devel libqt3-devel libstdc++-devel
# added by hands
BuildRequires: libtiff-devel browser-plugins-npapi-devel
%description
DjVu shared libraries.
%prep
%setup -q -n %orig_name-%version
%patch0 -p1
%patch1 -p1
%build
# hack for NPAPI location
%__subst 's,netscape\/plugins,browser-plugins-%browser_plugins_api,' gui/nsdejavu/Makefile.in
%__autoreconf
%configure %{subst_enable static} PTHREAD_LIBS="-lpthread"
%make #NO SMP
%install
%makeinstall
# Quick cleanup of the docs
rm -rf doc/CVS 2>/dev/null || :
%files
%_libdir/*.so.*
%changelog
…
Todas as alterações você pod ver aqui
%def_disable static
Summary: DjVu viewers, encoders and utilities
Name: libdjvu15
Version: 3.5.17
Release: alt2
License: GPL
Group: Publishing
Source: %orig_name-%version.tar
Url: http://%orig_name.djvuzone.org/
Patch0: djvulibre-3.5.17-alt-xgl.patch
Patch1: djvulibre-3.5-alt-xtlib-dep.patch
# Automatically added by buildreq on Fri May 21 2004 (-ba)
BuildRequires: xorg-x11-devel xorg-x11-libs fontconfig freetype2 gcc-c++ libjpeg-devel libqt3-devel libstdc++-devel
# added by hands
BuildRequires: libtiff-devel browser-plugins-npapi-devel
%description
DjVu shared libraries.
%prep
%setup -q -n %orig_name-%version
%patch0 -p1
%patch1 -p1
%build
# hack for NPAPI location
%__subst 's,netscape\/plugins,browser-plugins-%browser_plugins_api,' gui/nsdejavu/Makefile.in
%__autoreconf
%configure %{subst_enable static} PTHREAD_LIBS="-lpthread"
%make #NO SMP
%install
%makeinstall
# Quick cleanup of the docs
rm -rf doc/CVS 2>/dev/null || :
%files
%_libdir/*.so.*
%changelog
…
Todas as alterações você pod ver aqui