]> git.pld-linux.org Git - packages/bofh.git/blobdiff - bofh.spec
- updated gettext BR
[packages/bofh.git] / bofh.spec
index 2ab0978f39b0f35023f0cf1101ed503cdd0dd811..e755bbb092b73fba0ddb4a6e78fdbeb676bb59c7 100644 (file)
--- a/bofh.spec
+++ b/bofh.spec
@@ -1,20 +1,20 @@
 Summary:       Console utility for maintaing user accounts
-Summary(pl):   Konsolowe narzêdzie do zarz±dzania kontami u¿ytkowników
+Summary(pl.UTF-8):     Konsolowe narzędzie do zarządzania kontami użytkowników
 Name:          bofh
 Version:       0.2
-Release:       3
+Release:       4
 License:       GPL
 Group:         Applications/Console
 Source0:       ftp://morgoth.uznam.net.pl/bofh/%{name}-%{version}.tar.gz
 # Source0-md5: aa3af230280e36c0dcaf20e87014cd52
 Patch0:                %{name}-pl.po_fix.patch
+BuildRequires: gettext-tools
+Requires:      bash
 Requires:      dml
+Requires:      gettext
 Requires:      grep
 Requires:      shadow
 Requires:      textutils
-Requires:      bash
-Requires:      gettext
-BuildRequires: gettext-devel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,10 +23,10 @@ It is a utility that lets you maintain user accounts easily. Currently
 it supports adding, removing and modifying accounts. It has nice,
 DML-based interface.
 
-%description -l pl
-Jest to narzêdzie, które pozwala na ³atwe zarz±dzanie kontami
-u¿ytkowników. Aktualnie pozwala na ich usuwanie, dodawanie oraz
-poprawianie. Posiada ³adny, oparty na DMLu interfejs.
+%description -l pl.UTF-8
+Jest to narzędzie, które pozwala na łatwe zarządzanie kontami
+użytkowników. Aktualnie pozwala na ich usuwanie, dodawanie oraz
+poprawianie. Posiada ładny, oparty na DMLu interfejs.
 
 %prep
 %setup -q
@@ -35,19 +35,21 @@ poprawianie. Posiada 
 %install
 rm -rf $RPM_BUILD_ROOT
 
+# %{_datadir} is intentional here. Everything inside _is_ arch independent
 ./install.sh DESTDIR=$RPM_BUILD_ROOT \
-       libdir=%{_libdir}/bofh \
+       libdir=%{_datadir}/bofh \
        sbindir=%{_sbindir} \
        localedir=%{_datadir}/locale
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README ChangeLog TODO CREDITS
-%defattr(644,root,root,755)
-%{_sysconfdir}/bofh
+%dir %{_sysconfdir}/bofh
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bofh/config
 %attr(755,root,root) %{_sbindir}/bofh
-%{_libdir}/bofh
-%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/bofh.mo
+%{_datadir}/bofh
This page took 0.183845 seconds and 4 git commands to generate.