xorg-drv-video-openchrome/xorg-drv-video-openchrome.spec

112 lines
3.6 KiB
RPMSpec

%define xorg_ver %(pkg-config xorg-server --modversion|cut -d. -f 1-2)
%define pkgver %(echo %version | cut -d. -f1-3)
Name: xorg-drv-video-openchrome
Version: 0.3.3.20150430git
Release: 2mamba
Summary: openchrome X.Org video drivers
Group: System/X11
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://x.org
Source: git://anongit.freedesktop.org/openchrome/xf86-video-openchrome.git/master/xf86-video-openchrome-%{version}.tar.bz2
#Source: ftp://x.org/pub/individual/driver/xf86-video-openchrome-%{version}.tar.bz2
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libdrm-devel
## AUTOBUILDREQ-END
BuildRequires: xorg-server-devel >= 1.1.0
BuildRequires: xorg-proto-devel
BuildRequires: libXvMC-devel >= 1.0.2
BuildRequires: libXrender >= 0.9.1
BuildRequires: libXrandr >= 1.1.1
BuildRequires: libXv >= 1.0.1
BuildRequires: libdrm-devel >= 2.3.0
BuildRequires: libXinerama-devel >= 1.0.1
BuildRequires: libpthread-stubs-devel
Requires: xorg-server >= %{xorg_ver}
Requires: xorg-server <= %{xorg_ver}.255
%description
openchrome X.Org video drivers.
%prep
%setup -q -n xf86-video-openchrome-%{version}
%build
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%ifarch %{ix86} x86_64
%{_libdir}/libchromeXvMC.la
%{_libdir}/libchromeXvMC.so
%{_libdir}/libchromeXvMC.so.1
%{_libdir}/libchromeXvMC.so.1.0.0
%{_libdir}/libchromeXvMCPro.la
%{_libdir}/libchromeXvMCPro.so
%{_libdir}/libchromeXvMCPro.so.1
%{_libdir}/libchromeXvMCPro.so.1.0.0
%endif
%{_libdir}/xorg/modules/drivers/openchrome_drv.la
%{_libdir}/xorg/modules/drivers/openchrome_drv.so
%{_mandir}/man4/openchrome.4.gz
%changelog
* Fri Aug 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3.20150430git-2mamba
- rebuilt with xorg-server 1.17.2
* Thu Apr 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.3.20150430git-1mamba
- update to 0.3.3.20150430git
* Sat Jun 14 2014 Automatic Build System <autodist@mambasoft.it> 0.3.3-2mamba
- X.org 1.15 rebuild
* Sun May 26 2013 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
- automatic update by autodist
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
- automatic version update by autodist
* Thu Dec 06 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-2mamba
- backport to xorg-server 1.10 from devel-xorg
* Fri Oct 12 2012 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
- automatic version update by autodist
* Mon Aug 13 2012 Automatic Build System <autodist@mambasoft.it> 0.3.0-1mamba
- automatic version update by autodist
* Thu Jun 07 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.906-1mamba
- automatic update by autodist
* Fri Feb 17 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.904.git20111021-2mamba
- automatic update by autodist
* Fri Oct 21 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.904.git20111021-1mamba
- update to 0.2.904.git20111021
* Fri Aug 12 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.904-3mamba
- automatic port from devel
* Fri Feb 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.904-2mamba
- rebuild with xorg-server 1.7.5
* Sat Oct 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.904-1mamba
- update to 0.2.904
* Sat Jun 06 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.2.903-1mamba
- Package created