]> git.pld-linux.org Git - packages/xorg-driver-input-mouse.git/blobdiff - xorg-driver-input-mouse.spec
- release 2 (by relup.sh)
[packages/xorg-driver-input-mouse.git] / xorg-driver-input-mouse.spec
index 1ac356e76e3da631be209476a7b3f28c29294396..d2f660b1279e4146e5b062568e34794978509676 100644 (file)
@@ -1,30 +1,44 @@
 Summary:       X.org mouse input driver
-Summary(pl):   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.0.3.1
-Release:       0.1
+Version:       1.8.1
+Release:       2
 License:       MIT
 Group:         X11/Applications
-Source0:       http://xorg.freedesktop.org/releases/X11R7.0/src/driver/xf86-input-mouse-%{version}.tar.bz2
-# Source0-md5: c1235259ee9ecdcfe28e1365ef73f570
+Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-input-mouse-%{version}.tar.bz2
+# 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 >= 0.99.3
+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
 X.org mouse input driver. It supports most available mouse types and
 interfaces, including USB and PS/2.
 
-%description -l pl
-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.
+%description -l pl.UTF-8
+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}
@@ -35,8 +49,7 @@ rodzaj
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure \
-       --disable-static
+%configure
 
 %{__make}
 
@@ -46,10 +59,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# conflict with general mouse(4) manual
-mv -f $RPM_BUILD_ROOT%{_mandir}/man4/{mouse,mouse_drv}.4
-
-rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,4 +68,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc COPYING ChangeLog README
 %attr(755,root,root) %{_libdir}/xorg/modules/input/mouse_drv.so
-%{_mandir}/man4/mouse_drv.4*
+%{_mandir}/man4/mousedrv.4*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/xorg/xf86-mouse-properties.h
+%{_pkgconfigdir}/xorg-mouse.pc
This page took 0.352983 seconds and 4 git commands to generate.