From 76882aa9eb32a7019b0ccbfa1b2e327a0d1cae73 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 8 Sep 2015 10:28:44 -0600 Subject: [PATCH] Mark license correctly. - Drop unneeded --- .gitignore | 1 + libXpresent.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+) create mode 100644 libXpresent.spec diff --git a/.gitignore b/.gitignore index e69de29..9a74c46 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libXpresent-1.0.0.tar.bz2 diff --git a/libXpresent.spec b/libXpresent.spec new file mode 100644 index 0000000..a4a60fe --- /dev/null +++ b/libXpresent.spec @@ -0,0 +1,66 @@ +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 1.0.0-2 +- Mark license correctly. +- Drop unneeded + +* Sat May 16 2015 Kevin Fenzi 1.0.0-1 +- Initial version of packaging for Fedora diff --git a/sources b/sources index e69de29..166a27a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +edd87ac15bb666081898dd7382fcbff5 libXpresent-1.0.0.tar.bz2