X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=xorg-driver-video-apm.spec;h=d3c0094183c4b27b93986c7a5d8810552af6dbc4;hb=HEAD;hp=bc8f6c5944675fca06a412e1bb0ca600948a05ec;hpb=67415935ffef9a7f03379303808ea0723c38f7bd;p=packages%2Fxorg-driver-video-apm.git diff --git a/xorg-driver-video-apm.spec b/xorg-driver-video-apm.spec index bc8f6c5..d3c0094 100644 --- a/xorg-driver-video-apm.spec +++ b/xorg-driver-video-apm.spec @@ -1,27 +1,32 @@ Summary: X.org video driver for Alliance ProMotion video adapters -Summary(pl): Sterownik obrazu X.org do kart graficznych Alliance ProMotion +Summary(pl.UTF-8): Sterownik obrazu X.org do kart graficznych Alliance ProMotion Name: xorg-driver-video-apm -Version: 1.0.1.3 -Release: 0.1 +Version: 1.3.0 +Release: 2 License: MIT Group: X11/Applications -Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC3/driver/xf86-video-apm-%{version}.tar.bz2 -# Source0-md5: 50843ecd9f3e51a02156c6d5fd21a7d1 -URL: http://xorg.freedesktop.org/ -BuildRequires: autoconf >= 2.57 +Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-video-apm-%{version}.tar.bz2 +# Source0-md5: 6f59f323c6d3fe7217a8728f17c137a6 +URL: https://xorg.freedesktop.org/ +BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig >= 1:0.19 -# temporary -BuildRequires: sed >= 4.0 +BuildRequires: rpmbuild(macros) >= 1.389 +BuildRequires: xorg-lib-libpciaccess-devel >= 0.8.0 BuildRequires: xorg-proto-fontsproto-devel BuildRequires: xorg-proto-randrproto-devel BuildRequires: xorg-proto-renderproto-devel BuildRequires: xorg-proto-videoproto-devel -BuildRequires: xorg-proto-xextproto-devel -BuildRequires: xorg-proto-xf86rushproto-devel -BuildRequires: xorg-util-util-macros >= 0.99.2 -BuildRequires: xorg-xserver-server-devel >= 0.99.3 +BuildRequires: xorg-proto-xextproto-devel >= 7.0.99.1 +BuildRequires: xorg-util-util-macros >= 1.8 +BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 +%{?requires_xorg_xserver_videodrv} +Requires: xorg-xserver-server >= 1.0.99.901 +Provides: xorg-driver-video +Obsoletes: X11-driver-apm < 1:7.0.0 +Obsoletes: XFree86-Alliance +Obsoletes: XFree86-driver-apm < 1:7.0.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -29,25 +34,21 @@ X.org video driver for Alliance ProMotion video adapters. It supports PCI and ISA video cards based on the following chipsets: ProMotion 6420, ProMotion 6422, AT24, AT3D, AT25. -%description -l pl +%description -l pl.UTF-8 Sterownik obrazu X.org do kart graficznych Alliance ProMotion. -Obs³uguje karty PCI i ISA oparte na nastêpuj±cych uk³adach: ProMotion +Obsługuje karty PCI i ISA oparte na następujących układach: ProMotion 6420, ProMotion 6422, AT24, AT3D, AT25. %prep %setup -q -n xf86-video-apm-%{version} -# wrong test -sed -i -e 's/xxf86rush/xf86rushproto/' configure.ac - %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__autoheader} %{__automake} -%configure \ - --disable-static +%configure %{__make} @@ -57,13 +58,13 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc ChangeLog README +%doc COPYING ChangeLog README %attr(755,root,root) %{_libdir}/xorg/modules/drivers/apm_drv.so %{_mandir}/man4/apm.4*