]> git.pld-linux.org Git - packages/xorg-driver-input-joystick.git/blobdiff - xorg-driver-input-joystick.spec
- updated to 1.6.4
[packages/xorg-driver-input-joystick.git] / xorg-driver-input-joystick.spec
index 85d281be3a8abe9acf419e99d9aad21b238c597b..49a6534228a4d9bce4477c245b9b71ae7dc23139 100644 (file)
@@ -1,24 +1,27 @@
 Summary:       X.org input driver for joysticks
 Summary(pl.UTF-8):     Sterownik wejściowy X.org dla joysticków
 Name:          xorg-driver-input-joystick
-Version:       1.3.1
+Version:       1.6.4
 Release:       1
 License:       MIT
 Group:         X11/Applications
-Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.bz2
-# Source0-md5: ff25ea697cfa1570cc28f4b9cf9c761f
-URL:           http://xorg.freedesktop.org/
-BuildRequires: autoconf >= 2.57
+Source0:       https://xorg.freedesktop.org/releases/individual/driver/xf86-input-joystick-%{version}.tar.xz
+# Source0-md5: 9868474dd471c95f326552929556981d
+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-kbproto-devel
+BuildRequires: xorg-proto-xproto-devel
+BuildRequires: xorg-util-util-macros >= 1.8
+BuildRequires: xorg-xserver-server-devel >= 1.9.99.2
+BuildRequires: xz
+%{?requires_xorg_xserver_xinput}
+Requires:      xorg-xserver-server >= 1.9.99.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -27,6 +30,20 @@ X.org input driver for joysticks.
 %description -l pl.UTF-8
 Sterownik wejściowy X.org dla joysticków.
 
+%package devel
+Summary:       X.org joystick input driver - properties definition
+Summary(pl.UTF-8):     Sterownik wejściowy X.org dla joysticków - definicje właściwości
+Group:         Development/Libraries
+# for dir
+Requires:      xorg-xserver-server-devel
+# doesn't require base
+
+%description devel
+X.org joystick input driver - properties definition.
+
+%description devel -l pl.UTF-8
+Sterownik wejściowy X.org dla joysticków - definicje właściwości.
+
 %prep
 %setup -q -n xf86-input-joystick-%{version}
 
@@ -47,13 +64,18 @@ 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 COPYING ChangeLog
+%doc COPYING ChangeLog README.md
 %attr(755,root,root) %{_libdir}/xorg/modules/input/joystick_drv.so
 %{_mandir}/man4/joystick.4*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/xorg/joystick-properties.h
+%{_pkgconfigdir}/xorg-joystick.pc
This page took 0.154144 seconds and 4 git commands to generate.