Initial packaging

This commit is contained in:
Adam Jackson 2013-11-18 12:24:39 -05:00
parent 340ddc1fac
commit 6d58af13b3
3 changed files with 55 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/libxshmfence-1.0.tar.bz2

53
libxshmfence.spec Normal file
View File

@ -0,0 +1,53 @@
Name: libxshmfence
Version: 1.0
Release: 1%{?dist}
Summary: X11 shared memory fences
License: MIT
URL: http://www.x.org/
Source0: http://ftp.x.org/pub/individual/lib/libxshmfence-1.0.tar.bz2
# upstream tarball has broken libtool because libtool is never not broken
BuildRequires: autoconf automake libtool xorg-x11-util-macros
#Requires:
%description
Shared memory fences for X11, as used in DRI3.
%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 -i -f
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc
%{_libdir}/libxshmfence.so.1*
%files devel
%doc
%{_includedir}/*
%{_libdir}/pkgconfig/xshmfence.pc
%{_libdir}/*.so
%changelog
* Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
- Initial packaging

View File

@ -0,0 +1 @@
b4437ce302bd6c3f4abda3d9330ddcf9 libxshmfence-1.0.tar.bz2