]> git.pld-linux.org Git - packages/bofh.git/blob - bofh.spec
f74cf97a3e6e5090443bad0b21f568b30833b48f
[packages/bofh.git] / bofh.spec
1 Summary:        Console utility for maintaing user accounts
2 Summary(pl):    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 Requires:       dml
12 Requires:       grep
13 Requires:       shadow
14 Requires:       textutils
15 Requires:       bash
16 Requires:       gettext
17 BuildRequires:  gettext-devel
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
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.046651 seconds and 2 git commands to generate.