102 lines
3.2 KiB
RPMSpec
102 lines
3.2 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
|
|
Release: 1mamba
|
|
Summary: openchrome X.Org video drivers
|
|
Group: System/X11
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://x.org
|
|
# git clone git://anongit.freedesktop.org/~xavierb/xf86-video-openchrome
|
|
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-%{pkgver}
|
|
|
|
%build
|
|
%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
|
|
* 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
|