Initial packaging
This commit is contained in:
parent
340ddc1fac
commit
6d58af13b3
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/libxshmfence-1.0.tar.bz2
|
53
libxshmfence.spec
Normal file
53
libxshmfence.spec
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user