]>
Commit | Line | Data |
---|---|---|
8213f38d | 1 | Summary: Console utility for maintaing user accounts |
cdfb3f61 | 2 | Summary(pl.UTF-8): Konsolowe narzędzie do zarządzania kontami użytkowników |
8213f38d | 3 | Name: bofh |
e66c1a9a | 4 | Version: 0.2 |
8d122a20 | 5 | Release: 4 |
8213f38d | 6 | License: GPL |
7 | Group: Applications/Console | |
7cac8acb | 8 | Source0: ftp://morgoth.uznam.net.pl/bofh/%{name}-%{version}.tar.gz |
b1008652 | 9 | # Source0-md5: aa3af230280e36c0dcaf20e87014cd52 |
aebaea25 | 10 | Patch0: %{name}-pl.po_fix.patch |
16ab36fa | 11 | BuildRequires: gettext-tools |
4ac35ca1 | 12 | Requires: bash |
8213f38d | 13 | Requires: dml |
4ac35ca1 | 14 | Requires: gettext |
8213f38d | 15 | Requires: grep |
16 | Requires: shadow | |
17 | Requires: textutils | |
594f79ef | 18 | BuildArch: noarch |
8213f38d | 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 | |
2726dbab | 23 | it supports adding, removing and modifying accounts. It has nice, |
7cac8acb | 24 | DML-based interface. |
8213f38d | 25 | |
aa465299 JR |
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. | |
8213f38d | 30 | |
31 | %prep | |
32 | %setup -q | |
aebaea25 | 33 | %patch0 -p1 |
8213f38d | 34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
8d122a20 | 38 | # %{_datadir} is intentional here. Everything inside _is_ arch independent |
e66c1a9a | 39 | ./install.sh DESTDIR=$RPM_BUILD_ROOT \ |
8d122a20 | 40 | libdir=%{_datadir}/bofh \ |
e66c1a9a | 41 | sbindir=%{_sbindir} \ |
42 | localedir=%{_datadir}/locale | |
8213f38d | 43 | |
185e0763 | 44 | %find_lang %{name} |
45 | ||
8213f38d | 46 | %clean |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
185e0763 | 49 | %files -f %{name}.lang |
7cac8acb | 50 | %defattr(644,root,root,755) |
a56bd782 | 51 | %doc README ChangeLog TODO CREDITS |
603b57d2 | 52 | %dir %{_sysconfdir}/bofh |
53 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bofh/config | |
7cac8acb | 54 | %attr(755,root,root) %{_sbindir}/bofh |
dd8d475d | 55 | %{_datadir}/bofh |