Group :: Sistema/Bibliotecas
RPM: libxcbutil-xrm
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_disable static
%define origname xcb-util-xrm
Name: libxcbutil-xrm
Version: 1.3
Release: alt1
Summary: The XCB util modules provides a number of libraries which sit on top of libxcb
License: MIT
Group: System/Libraries
Url: https://github.com/Airblader/xcb-util-xrm
Source: %origname-%version.tar
Packager: Konstantin Artyushkin <akv at altlinux.org>
BuildRequires: libxcb-devel
BuildRequires: libxcbutil-devel
BuildRequires: xorg-util-macros
BuildRequires: doxygen
BuildRequires: pkgconfig(xcb-aux)
BuildRequires: pkgconfig(x11)
%description
The XCB util modules provides a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which have traditionally been provided by Xlib.
#--------------------------------------------------------------------------------
%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Headers for building software that uses %name
%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libs for building statically linked software that uses %name
%endif
#--------------------------------------------------------------------------------
%prep
%setup -n %origname-%version
%build
%configure %{subst_enable static}
%make_build
%install
%makeinstall_std
%files
%_libdir/libxcb-xrm.so.0
%_libdir/libxcb-xrm.so.0.0.0
%doc ChangeLog README COPYING
#--------------------------------------------------------------------------------
%files devel
%_includedir/xcb/*.h
%_libdir/*.so
%_pkgconfigdir/*.pc
%if_enabled static
%files devel-static
%_libdir/lib%name.a
%endif
#--------------------------------------------------------------------------------
%changelog
…
Todas as alterações você pod ver aqui
%define origname xcb-util-xrm
Name: libxcbutil-xrm
Version: 1.3
Release: alt1
Summary: The XCB util modules provides a number of libraries which sit on top of libxcb
License: MIT
Group: System/Libraries
Url: https://github.com/Airblader/xcb-util-xrm
Source: %origname-%version.tar
Packager: Konstantin Artyushkin <akv at altlinux.org>
BuildRequires: libxcb-devel
BuildRequires: libxcbutil-devel
BuildRequires: xorg-util-macros
BuildRequires: doxygen
BuildRequires: pkgconfig(xcb-aux)
BuildRequires: pkgconfig(x11)
%description
The XCB util modules provides a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension
libraries. These experimental libraries provide convenience functions
and interfaces which make the raw X protocol more usable. Some of the
libraries also provide client-side code which is not strictly part of
the X protocol but which have traditionally been provided by Xlib.
#--------------------------------------------------------------------------------
%package devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release
%description devel
Headers for building software that uses %name
%if_enabled static
%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Static libs for building statically linked software that uses %name
%endif
#--------------------------------------------------------------------------------
%prep
%setup -n %origname-%version
%build
%configure %{subst_enable static}
%make_build
%install
%makeinstall_std
%files
%_libdir/libxcb-xrm.so.0
%_libdir/libxcb-xrm.so.0.0.0
%doc ChangeLog README COPYING
#--------------------------------------------------------------------------------
%files devel
%_includedir/xcb/*.h
%_libdir/*.so
%_pkgconfigdir/*.pc
%if_enabled static
%files devel-static
%_libdir/lib%name.a
%endif
#--------------------------------------------------------------------------------
%changelog
…
Todas as alterações você pod ver aqui