]> git.pld-linux.org Git - packages/bofh.git/blobdiff - bofh.spec
- it was wrong - BuildRequires: gettext-devel, but Requires: gettext
[packages/bofh.git] / bofh.spec
index 5ee211aa049cd93b32167c8cefca9c234bcd20b0..f8de4995a341ffa559c5e0c07589b98d67c1259c 100644 (file)
--- a/bofh.spec
+++ b/bofh.spec
@@ -1,8 +1,8 @@
 Summary:       Console utility for maintaing user accounts
 Summary(pl):   Konsolowe narzêdzie do zarz±dzania kontami u¿ytkowników
 Name:          bofh
-Version:       0.1
-Release:       1
+Version:       0.2
+Release:       2
 License:       GPL
 Group:         Applications/Console
 Source0:       ftp://morgoth.uznam.net.pl/bofh/%{name}-%{version}.tar.gz
@@ -10,6 +10,10 @@ Requires:    dml
 Requires:      grep
 Requires:      shadow
 Requires:      textutils
+Requires:      bash
+Requires:      gettext
+BuildRequires: gettext-devel
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,16 +32,19 @@ poprawianie. Posiada 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./install.sh DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir}/bofh sbindir=%{_sbindir}
-
-gzip -9nf README ChangeLog TODO
+./install.sh DESTDIR=$RPM_BUILD_ROOT \
+       libdir=%{_libdir}/bofh \
+       sbindir=%{_sbindir} \
+       localedir=%{_datadir}/locale
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README ChangeLog TODO CREDITS
 %defattr(644,root,root,755)
+%{_sysconfdir}/bofh
 %attr(755,root,root) %{_sbindir}/bofh
 %{_libdir}/bofh
+%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/bofh.mo
This page took 0.0504 seconds and 4 git commands to generate.