]> git.pld-linux.org Git - packages/ltunify.git/blob - ltunify.spec
description must be in C locale, quote CC, install to /lib/udev
[packages/ltunify.git] / ltunify.spec
1 Summary:        Logitech Unifying for Linux
2 Name:           ltunify
3 Version:        0.2
4 Release:        1
5 License:        GPL v2
6 Group:          Applications/System
7 # git clone https://git.lekensteyn.nl/ltunify.git
8 Source0:        %{name}-%{version}.tar.xz
9 # Source0-md5:  7f13f1f3b9603f58629e16cfe91bf485
10 URL:            https://lekensteyn.nl/logitech-unifying.html
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Pair, unpair or list information about wireless devices like keyboards
15 and mice that use the Logitech(r) Unifying receiver.
16
17 %description -l en_US.utf8
18 Pair, unpair or list information about wireless devices like keyboards
19 and mice that use the Logitech® Unifying receiver.
20
21 %prep
22 %setup -q
23
24 %build
25 %{__make} \
26         PACKAGE_VERSION=%{version} \
27         CC="%{__cc}" \
28         CFLAGS="%{rpmcflags}" \
29         LDFLAGS="%{rpmldflags}"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 %{__make} install \
34         udevrulesdir=/lib/udev/rules.d \
35         bindir=%{_bindir} \
36         DESTDIR=$RPM_BUILD_ROOT
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc NEWS README.txt keyboard.txt notes.txt registers.txt
44 %attr(755,root,root) %{_bindir}/%{name}
45 /lib/udev/rules.d/42-logitech-unify-permissions.rules
This page took 0.079334 seconds and 4 git commands to generate.