Group :: Sistema/Bibliotecas
RPM: libXp
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libXp
Version: 1.0.2
Release: alt1
Summary: X Print Library
License: MIT/X11
Group: System/Libraries
Url: http://xorg.freedesktop.org
Packager: XOrg Maintainer Team <xorg at packages.altlinux.org>
Source: %name-%version.tar.gz
##BuildRequires: libX11-devel libXau-devel libXext-devel libXdmcp-devel
##BuildRequires: xorg-proto-devel xorg-printproto-devel xorg-util-macros
BuildRequires: xorg-util-macros
# Automatically added by buildreq on Wed Jun 05 2013
# optimized out: libX11-devel libXau-devel pkg-config xorg-xproto-devel
BuildRequires: libXext-devel xorg-printproto-devel
%description
X Print Library
%package devel
Summary: X Print Library and Header Files
Group: Development/C
Requires: %name = %version-%release
%description devel
%name-devel contains the libraries and header files needed to
develop programs which make use of %name.
%prep
%setup
%build
%autoreconf
%configure \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
%files
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_pkgconfigdir/*.pc
%_man3dir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0.2
Release: alt1
Summary: X Print Library
License: MIT/X11
Group: System/Libraries
Url: http://xorg.freedesktop.org
Packager: XOrg Maintainer Team <xorg at packages.altlinux.org>
Source: %name-%version.tar.gz
##BuildRequires: libX11-devel libXau-devel libXext-devel libXdmcp-devel
##BuildRequires: xorg-proto-devel xorg-printproto-devel xorg-util-macros
BuildRequires: xorg-util-macros
# Automatically added by buildreq on Wed Jun 05 2013
# optimized out: libX11-devel libXau-devel pkg-config xorg-xproto-devel
BuildRequires: libXext-devel xorg-printproto-devel
%description
X Print Library
%package devel
Summary: X Print Library and Header Files
Group: Development/C
Requires: %name = %version-%release
%description devel
%name-devel contains the libraries and header files needed to
develop programs which make use of %name.
%prep
%setup
%build
%autoreconf
%configure \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
%files
%_libdir/*.so.*
%files devel
%_libdir/*.so
%_pkgconfigdir/*.pc
%_man3dir/*
%changelog
…
Todas as alterações você pod ver aqui