X-Git-Url: https://git.pld-linux.org/?p=packages%2Fxorg-driver-input-mouse.git;a=blobdiff_plain;f=xorg-driver-input-mouse.spec;h=08d1b5bd74c057aa4976a47d00a6cf01d22a4803;hp=2f2c0f1608a9bd38c25233fb6ff397448e97d33a;hb=HEAD;hpb=7099688f3aeb4d90270b51ac8dda369b5dbb5cd5 diff --git a/xorg-driver-input-mouse.spec b/xorg-driver-input-mouse.spec index 2f2c0f1..08d1b5b 100644 --- a/xorg-driver-input-mouse.spec +++ b/xorg-driver-input-mouse.spec @@ -1,24 +1,26 @@ Summary: X.org mouse input driver Summary(pl.UTF-8): Sterownik wejściowy myszy dla X.org Name: xorg-driver-input-mouse -Version: 1.3.0 -Release: 2 +Version: 1.9.5 +Release: 1 License: MIT Group: X11/Applications -Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-mouse-%{version}.tar.bz2 -# Source0-md5: 31a51b0e5ddc4fac19754f48a3adf881 -URL: http://xorg.freedesktop.org/ -BuildRequires: autoconf >= 2.57 +Source0: https://xorg.freedesktop.org/releases/individual/driver/xf86-input-mouse-%{version}.tar.xz +# Source0-md5: 9e2c33131f804476053c618859193dd1 +URL: https://xorg.freedesktop.org/ +BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig >= 1:0.19 +BuildRequires: rpmbuild(macros) >= 1.389 +BuildRequires: tar >= 1:1.22 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 -BuildRequires: rpmbuild(macros) >= 1.389 -%requires_xorg_xserver_xinput -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 +BuildRequires: xz +%{?requires_xorg_xserver_xinput} +Requires: xorg-xserver-server >= 1.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -29,6 +31,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} @@ -38,8 +51,7 @@ rodzajów myszy i interfejsów, w tym USB i PS/2. %{__autoconf} %{__autoheader} %{__automake} -%configure \ - --disable-static +%configure %{__make} @@ -49,7 +61,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 @@ -59,3 +71,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