]> git.pld-linux.org Git - SPECS.git/blob - usbmgr.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / usbmgr.spec
1 Summary:        USB Manager
2 Summary(pl.UTF-8):      Zarządca urządzeń USB
3 Name:           usbmgr
4 Version:        1.0.0
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://www.dotaster.com/~shuu/linux/usbmgr/%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  070c75f83f2bc84750a87fa685a89031
10 URL:            http://www.dotaster.com/~shuu/linux/usbmgr/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _sbin   /sbin
16
17 %description
18 The usbmgr is user-mode daemon which loads and unloads some kernel
19 modules according to the configuration and executes some scripts to
20 setup USB devices.
21
22 %description -l pl.UTF-8
23 usbmgr jest demonem ładującym i usuwającym moduły jądra w zależności
24 od konfiguracji oraz uruchamiający skrypty konfigurujące urządzenia
25 USB.
26
27 %prep
28 %setup -q
29
30 %build
31 %{__aclocal}
32 %{__autoconf}
33 %configure
34
35 %{__make} \
36         OPT="%{rpmcflags}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         sbindir=$RPM_BUILD_ROOT%{_sbindir} \
43         sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc CHANGES README TODO
51 %lang(ja) %doc README.eucJP
52 %dir %{_sysconfdir}/usbmgr
53 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/usbmgr/usbmgr.conf
54 %attr(755,root,root) %{_sysconfdir}/usbmgr/network
55 %attr(755,root,root) %{_sbindir}/dump_usbdev
56 %attr(755,root,root) %{_sbindir}/update_usbdb
57 %attr(755,root,root) %{_sbindir}/usbmgr
This page took 0.174394 seconds and 3 git commands to generate.