123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Name: libxshmfence
- Version: 1.3
- Release: 2%{?_dist_release}
- Summary: X11 shared memory fences
- Group: system
- Vendor: Project Vine
- Distribution: Vine Linux
- License: MIT
- URL: http://www.x.org/
- Source0: http://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
- # upstream tarball has broken libtool because libtool is never not broken
- BuildRequires: autoconf
- BuildRequires: automake
- BuildRequires: libtool
- BuildRequires: xorg-x11-util-macros
- BuildRequires: xorg-x11-proto-devel
- %description
- Shared memory fences for X11, as used in DRI3.
- %package devel
- Summary: Development files for %{name}
- Group: programming
- Requires: %{name} = %{version}-%{release}
- %description devel
- The %{name}-devel package contains libraries and header files for
- developing applications that use %{name}.
- # compat32
- %package -n compat32-%{name}
- Summary: X11 shared memory fences
- Group: system,legacy
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}
- This package contains libraries and header files for
- developing applications that use %{name}.
- %debug_package
- %prep
- %setup -q
- %build
- autoreconf -v -i -f
- %configure --disable-static
- make %{?_smp_mflags}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
- %clean
- rm -rf $RPM_BUILD_ROOT
- %files
- %license COPYING
- %doc ChangeLog README
- %defattr(-,root,root,-)
- %{_libdir}/libxshmfence.so.1*
- %files devel
- %defattr(-,root,root,-)
- %{_includedir}/*
- %{_libdir}/pkgconfig/xshmfence.pc
- %{_libdir}/*.so
- # compat32
- %if %{build_compat32}
- %files -n compat32-%{name}
- %defattr(-,root,root,-)
- %{_libdir}/libxshmfence.so.1*
- %endif
- %changelog
- * Tue Sep 13 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-2
- - rebuilt with current environment.
- - dropped ldconfig scriptlets.
- * Fri Sep 06 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3-1
- - new upstream release.
- * Thu May 05 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1
- - update to 1.2
- * Sat Nov 1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1-3
- - added Group tag to devel package
- - added %%clean section to spec file
- * Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-2
- - add compat32 subpackage for mesa
- * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1-1
- - initial build for Vine Linux
- * Thu Dec 12 2013 Adam Jackson <ajax@redhat.com> 1.1-1
- - xshmfence 1.1
- * Wed Nov 06 2013 Adam Jackson <ajax@redhat.com> 1.0-1
- - Initial packaging
|