]> git.pld-linux.org Git - packages/bofh.git/blob - bofh.spec
- tabs in preamble
[packages/bofh.git] / bofh.spec
1 Summary:        Console utility for maintaing user accounts
2 Summary(pl.UTF-8):      Konsolowe narzędzie do zarządzania kontami użytkowników
3 Name:           bofh
4 Version:        0.2
5 Release:        4
6 License:        GPL
7 Group:          Applications/Console
8 Source0:        ftp://morgoth.uznam.net.pl/bofh/%{name}-%{version}.tar.gz
9 # Source0-md5:  aa3af230280e36c0dcaf20e87014cd52
10 Patch0:         %{name}-pl.po_fix.patch
11 BuildRequires:  gettext-devel
12 Requires:       bash
13 Requires:       dml
14 Requires:       gettext
15 Requires:       grep
16 Requires:       shadow
17 Requires:       textutils
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 It is a utility that lets you maintain user accounts easily. Currently
23 it supports adding, removing and modifying accounts. It has nice,
24 DML-based interface.
25
26 %description -l pl.UTF-8
27 Jest to narzędzie, które pozwala na łatwe zarządzanie kontami
28 użytkowników. Aktualnie pozwala na ich usuwanie, dodawanie oraz
29 poprawianie. Posiada ładny, oparty na DMLu interfejs.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37
38 # %{_datadir} is intentional here. Everything inside _is_ arch independent
39 ./install.sh DESTDIR=$RPM_BUILD_ROOT \
40         libdir=%{_datadir}/bofh \
41         sbindir=%{_sbindir} \
42         localedir=%{_datadir}/locale
43
44 %find_lang %{name}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f %{name}.lang
50 %defattr(644,root,root,755)
51 %doc README ChangeLog TODO CREDITS
52 %dir %{_sysconfdir}/bofh
53 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bofh/config
54 %attr(755,root,root) %{_sbindir}/bofh
55 %{_datadir}/bofh
This page took 0.03609 seconds and 3 git commands to generate.