2.4.62, spec cleanups
This commit is contained in:
parent
9ac816321c
commit
5ecf149449
43
.gitignore
vendored
43
.gitignore
vendored
@ -1,42 +1 @@
|
|||||||
libdrm-20100529.tar.bz2
|
/libdrm-2.*.tar.bz2
|
||||||
libdrm-20100612.tar.bz2
|
|
||||||
/libdrm-2.4.22.tar.bz2
|
|
||||||
/libdrm-20101019.tar.bz2
|
|
||||||
/libdrm-20101108.tar.bz2
|
|
||||||
/libdrm-20101123.tar.bz2
|
|
||||||
/libdrm-20101212.tar.bz2
|
|
||||||
/libdrm-2.4.23.tar.bz2
|
|
||||||
/libdrm-20110106.tar.bz2
|
|
||||||
/libdrm-2.4.24.tar.bz2
|
|
||||||
/libdrm-2.4.25.tar.bz2
|
|
||||||
/libdrm-2.4.26.tar.bz2
|
|
||||||
/libdrm-2.4.27.tar.bz2
|
|
||||||
/libdrm-2.4.30.tar.bz2
|
|
||||||
/libdrm-2.4.31.tar.bz2
|
|
||||||
/libdrm-2.4.32.tar.bz2
|
|
||||||
/libdrm-2.4.33.tar.bz2
|
|
||||||
/libdrm-20120424.tar.bz2
|
|
||||||
/libdrm-2.4.34.tar.bz2
|
|
||||||
/libdrm-2.4.35.tar.bz2
|
|
||||||
/libdrm-2.4.36.tar.bz2
|
|
||||||
/libdrm-2.4.37.tar.bz2
|
|
||||||
/libdrm-2.4.38.tar.bz2
|
|
||||||
/libdrm-2.4.39.tar.bz2
|
|
||||||
/libdrm-2.4.40.tar.bz2
|
|
||||||
/libdrm-20130117.tar.bz2
|
|
||||||
/libdrm-2.4.42.tar.bz2
|
|
||||||
/libdrm-2.4.43.tar.bz2
|
|
||||||
/libdrm-2.4.44.tar.bz2
|
|
||||||
/libdrm-2.4.45.tar.bz2
|
|
||||||
/libdrm-2.4.46.tar.bz2
|
|
||||||
/libdrm-2.4.47.tar.bz2
|
|
||||||
/libdrm-2.4.49.tar.bz2
|
|
||||||
/libdrm-2.4.50.tar.bz2
|
|
||||||
/libdrm-2.4.52.tar.bz2
|
|
||||||
/libdrm-2.4.53.tar.bz2
|
|
||||||
/libdrm-2.4.54.tar.bz2
|
|
||||||
/libdrm-2.4.56.tar.bz2
|
|
||||||
/libdrm-2.4.58.tar.bz2
|
|
||||||
/libdrm-2.4.59.tar.bz2
|
|
||||||
/libdrm-2.4.60.tar.bz2
|
|
||||||
/libdrm-2.4.61.tar.bz2
|
|
||||||
|
37
libdrm.spec
37
libdrm.spec
@ -2,38 +2,38 @@
|
|||||||
|
|
||||||
Summary: Direct Rendering Manager runtime library
|
Summary: Direct Rendering Manager runtime library
|
||||||
Name: libdrm
|
Name: libdrm
|
||||||
Version: 2.4.61
|
Version: 2.4.62
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://dri.sourceforge.net
|
URL: http://dri.sourceforge.net
|
||||||
|
|
||||||
%if 0%{?gitdate}
|
%if 0%{?gitdate}
|
||||||
Source0: %{name}-%{gitdate}.tar.bz2
|
Source0: %{name}-%{gitdate}.tar.bz2
|
||||||
%else
|
%else
|
||||||
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
Source0: http://dri.freedesktop.org/libdrm/%{name}-%{version}.tar.bz2
|
||||||
%endif
|
%endif
|
||||||
Source1: make-git-snapshot.sh
|
Source1: make-git-snapshot.sh
|
||||||
|
Source2: 91-drm-modeset.rules
|
||||||
Requires: udev
|
|
||||||
|
|
||||||
BuildRequires: pkgconfig automake autoconf libtool
|
BuildRequires: pkgconfig automake autoconf libtool
|
||||||
BuildRequires: kernel-headers
|
BuildRequires: kernel-headers
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
|
%if 0%{?fedora} > 17 || 0%{?rhel} > 6
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
|
Requires: systemd
|
||||||
%else
|
%else
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
|
Requires: udev
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libatomic_ops-devel
|
BuildRequires: libatomic_ops-devel
|
||||||
BuildRequires: libpciaccess-devel
|
BuildRequires: libpciaccess-devel
|
||||||
BuildRequires: libxslt docbook-style-xsl
|
BuildRequires: libxslt docbook-style-xsl
|
||||||
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64
|
%ifnarch s390
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: xorg-x11-util-macros
|
BuildRequires: xorg-x11-util-macros
|
||||||
|
|
||||||
Source2: 91-drm-modeset.rules
|
|
||||||
|
|
||||||
# hardcode the 666 instead of 660 for device nodes
|
# hardcode the 666 instead of 660 for device nodes
|
||||||
Patch3: libdrm-make-dri-perms-okay.patch
|
Patch3: libdrm-make-dri-perms-okay.patch
|
||||||
# remove backwards compat not needed on Fedora
|
# remove backwards compat not needed on Fedora
|
||||||
@ -77,35 +77,36 @@ autoreconf -v --install || exit 1
|
|||||||
%endif
|
%endif
|
||||||
--enable-install-test-programs \
|
--enable-install-test-programs \
|
||||||
--enable-udev
|
--enable-udev
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
pushd tests
|
pushd tests
|
||||||
make %{?smp_mflags} `make check-programs`
|
make %{?smp_mflags} `make check-programs`
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot}
|
||||||
pushd tests
|
pushd tests
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
for foo in $(make check-programs) ; do
|
for foo in $(make check-programs) ; do
|
||||||
install -m 0755 .libs/$foo $RPM_BUILD_ROOT%{_bindir}
|
install -m 0755 .libs/$foo %{buildroot}%{_bindir}
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
# SUBDIRS=libdrm
|
# SUBDIRS=libdrm
|
||||||
mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d/
|
mkdir -p %{buildroot}/lib/udev/rules.d/
|
||||||
install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT/lib/udev/rules.d/
|
install -m 0644 %{SOURCE2} %{buildroot}/lib/udev/rules.d/
|
||||||
|
|
||||||
# NOTE: We intentionally don't ship *.la files
|
# NOTE: We intentionally don't ship *.la files
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || :
|
find %{buildroot} -type f -name "*.la" -delete
|
||||||
|
|
||||||
for i in r300_reg.h via_3d_reg.h
|
for i in r300_reg.h via_3d_reg.h
|
||||||
do
|
do
|
||||||
rm -f $RPM_BUILD_ROOT/usr/include/libdrm/$i
|
rm -f %{buildroot}/usr/include/libdrm/$i
|
||||||
done
|
done
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README
|
%doc README
|
||||||
%{_libdir}/libdrm.so.2
|
%{_libdir}/libdrm.so.2
|
||||||
%{_libdir}/libdrm.so.2.4.0
|
%{_libdir}/libdrm.so.2.4.0
|
||||||
@ -134,7 +135,6 @@ done
|
|||||||
/lib/udev/rules.d/91-drm-modeset.rules
|
/lib/udev/rules.d/91-drm-modeset.rules
|
||||||
|
|
||||||
%files -n drm-utils
|
%files -n drm-utils
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/dristat
|
%{_bindir}/dristat
|
||||||
%{_bindir}/drmstat
|
%{_bindir}/drmstat
|
||||||
%{_bindir}/getclient
|
%{_bindir}/getclient
|
||||||
@ -155,7 +155,6 @@ done
|
|||||||
%exclude %{_bindir}/random
|
%exclude %{_bindir}/random
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
# FIXME should be in drm/ too
|
# FIXME should be in drm/ too
|
||||||
%{_includedir}/xf86drm.h
|
%{_includedir}/xf86drm.h
|
||||||
%{_includedir}/xf86drmMode.h
|
%{_includedir}/xf86drmMode.h
|
||||||
@ -224,6 +223,10 @@ done
|
|||||||
%{_mandir}/man7/drm*.7*
|
%{_mandir}/man7/drm*.7*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 12 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.62-1
|
||||||
|
- libdrm 2.4.62
|
||||||
|
- Minor spec cleanups
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.61-4
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.61-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user