67917e7e1e5a8ab95ae21f85b6c7930c0c2c8a41
[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 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README ChangeLog TODO CREDITS
50 %defattr(644,root,root,755)
51 %{_sysconfdir}/bofh
52 %attr(755,root,root) %{_sbindir}/bofh
53 %{_libdir}/bofh
54 %lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/bofh.mo
This page took 0.065139 seconds and 2 git commands to generate.