You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.7 KiB
67 lines
1.7 KiB
9 years ago
|
Name: libXpresent
|
||
|
Version: 1.0.0
|
||
|
Release: 2%{?dist}
|
||
|
Summary: A Xlib-compatible API for the Present extension
|
||
|
|
||
|
License: MIT
|
||
|
URL: http://www.x.org
|
||
|
Source0: http://xorg.freedesktop.org/archive/individual/lib/libXpresent-%{version}.tar.bz2
|
||
|
|
||
|
BuildRequires: xorg-x11-util-macros
|
||
|
BuildRequires: autoconf automake libtool
|
||
|
BuildRequires: gettext
|
||
|
BuildRequires: pkgconfig(xproto)
|
||
|
BuildRequires: pkgconfig(presentproto)
|
||
|
BuildRequires: pkgconfig(xextproto)
|
||
|
BuildRequires: pkgconfig(x11)
|
||
|
BuildRequires: pkgconfig(xext)
|
||
|
BuildRequires: pkgconfig(xfixes)
|
||
|
BuildRequires: pkgconfig(xrandr)
|
||
|
|
||
|
%description
|
||
|
This package contains header files and documentation for the Present
|
||
|
extension. Library and server implementations are separate.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
The %{name}-devel package contains libraries and header files for
|
||
|
developing applications that use %{name}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
autoreconf -v --install --force
|
||
|
%configure --disable-static
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%license COPYING
|
||
|
%doc AUTHORS ChangeLog README
|
||
|
%{_libdir}/libXpresent.so.1
|
||
|
%{_libdir}/libXpresent.so.1.0.0
|
||
|
|
||
|
%files devel
|
||
|
%{_includedir}/X11/extensions/Xpresent.h
|
||
|
%{_libdir}/libXpresent.so
|
||
|
%{_libdir}/pkgconfig/xpresent.pc
|
||
|
%{_mandir}/man3/*.3*
|
||
|
|
||
|
%changelog
|
||
|
* Mon Sep 07 2015 Kevin Fenzi <kevin@scrye.com> 1.0.0-2
|
||
|
- Mark license correctly.
|
||
|
- Drop unneeded
|
||
|
|
||
|
* Sat May 16 2015 Kevin Fenzi <kevin@scrye.com> 1.0.0-1
|
||
|
- Initial version of packaging for Fedora
|