X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=xorg-driver-input-mouse.spec;h=d2f660b1279e4146e5b062568e34794978509676;hb=31d97393901a713996df4d398a01270a2e2fbe1b;hp=7a8b1d77f6590f29590f7697221e2d645e1c2f67;hpb=5d04cb741a389e68d0ca0cc0a3bfa44603393f45;p=packages%2Fxorg-driver-input-mouse.git diff --git a/xorg-driver-input-mouse.spec b/xorg-driver-input-mouse.spec index 7a8b1d7..d2f660b 100644 --- a/xorg-driver-input-mouse.spec +++ b/xorg-driver-input-mouse.spec @@ -1,22 +1,24 @@ Summary: X.org mouse input driver -Summary(pl.UTF-8): Sterownik wejściowy myszy dla X.org +Summary(pl.UTF-8): Sterownik wejściowy myszy dla X.org Name: xorg-driver-input-mouse -Version: 1.2.1 -Release: 1 +Version: 1.8.1 +Release: 2 License: MIT Group: X11/Applications Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-mouse-%{version}.tar.bz2 -# Source0-md5: 72b07e65bbea6ab484d84c048f6835fb +# Source0-md5: f314c56e4ac6c8fc0cc2710892d5776e URL: http://xorg.freedesktop.org/ -BuildRequires: autoconf >= 2.57 +BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig >= 1:0.19 +BuildRequires: rpmbuild(macros) >= 1.389 BuildRequires: xorg-proto-inputproto-devel -BuildRequires: xorg-proto-randrproto-devel -BuildRequires: xorg-util-util-macros >= 0.99.2 -BuildRequires: xorg-xserver-server-devel >= 1.0.99.901 -Requires: xorg-xserver-server >= 1.0.99.901 +BuildRequires: xorg-proto-xproto-devel +BuildRequires: xorg-util-util-macros >= 1.8 +BuildRequires: xorg-xserver-server-devel >= 1.7 +%{?requires_xorg_xserver_xinput} +Requires: xorg-xserver-server >= 1.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -27,6 +29,17 @@ interfaces, including USB and PS/2. Sterownik wejściowy myszy dla X.org. Obsługuje większość dostępnych rodzajów myszy i interfejsów, w tym USB i PS/2. +%package devel +Summary: Header file for mouse driver +Summary(pl.UTF-8): Plik nagłówkowy sterownika myszy +Group: Development/Libraries + +%description devel +Header file for mouse driver. + +%description devel -l pl.UTF-8 +Plik nagłówkowy sterownika myszy. + %prep %setup -q -n xf86-input-mouse-%{version} @@ -36,8 +49,7 @@ rodzajów myszy i interfejsów, w tym USB i PS/2. %{__autoconf} %{__autoheader} %{__automake} -%configure \ - --disable-static +%configure %{__make} @@ -47,7 +59,7 @@ 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 @@ -57,3 +69,8 @@ rm -rf $RPM_BUILD_ROOT %doc COPYING ChangeLog README %attr(755,root,root) %{_libdir}/xorg/modules/input/mouse_drv.so %{_mandir}/man4/mousedrv.4* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/xorg/xf86-mouse-properties.h +%{_pkgconfigdir}/xorg-mouse.pc