]> git.pld-linux.org Git - packages/libspnav.git/blob - libspnav.spec
- rel 1
[packages/libspnav.git] / libspnav.spec
1 Summary:        A free, compatible alternative for 3Dconnexion's 3D input device drivers and SDK
2 Summary(pl.UTF-8):      -
3 Name:           libspnav
4 Version:        0.2.2
5 Release:        1
6 License:        BSD
7 Group:          Development
8 Source0:        http://downloads.sourceforge.net/spacenav/%{name}-%{version}.tar.gz
9 # Source0-md5:  b85a0f4ab711e2d4f73a40e2e371f5ae
10 Patch0:         %{name}-build_fix.patch
11 URL:            http://spacenav.sourceforge.net/
12 BuildRequires:  automake
13 BuildRequires:  xorg-lib-libX11-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A free, compatible alternative for 3Dconnexion's 3D input device
18 drivers and SDK.
19
20 %description -l pl.UTF-8
21 Darmowa alternatywa dla oprogramowania urządzeń wejściowych i SDK
22 firmy 3Dconnexion.
23
24 %package devel
25 Summary:        Header files for %{name} library
26 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki %{name}
27 Group:          Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 Header files for %{name} library.
32
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki %{name}.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %configure \
42         --disable-opt
43
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_libdir}
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README
62 %attr(755,root,root) %{_libdir}/libspnav.so.*.*
63 %attr(755,root,root) %ghost %{_libdir}/libspnav.so.0
64
65 %files devel
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_libdir}/libspnav.so
68 %{_includedir}/spnav*.h
This page took 0.045442 seconds and 3 git commands to generate.