X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=chkconfig.spec;h=cd2defb1597b01bbbdb46e5f9ef24ba4878f3f05;hb=1f791d10e97178e4526c83557f098561dc1ded68;hp=487618b38d8c553ecf5c19332249e88502ef0303;hpb=26ff7d6995067cd2c54f85e65bab846ba6728d95;p=packages%2Fchkconfig.git diff --git a/chkconfig.spec b/chkconfig.spec index 487618b..cd2defb 100644 --- a/chkconfig.spec +++ b/chkconfig.spec @@ -5,13 +5,17 @@ Summary(pl): Narz Summary(pt_BR): Ferramenta para atualizar e listar serviços do sistema, pelo nível de execução (runlevel) Summary(tr): Sistem servis bilgilerini sorgular ve yeniler Name: chkconfig -Version: 0.9.5 -Release: 3 +Version: 1.0.5 +Release: 1 Copyright: GPL Group: Utilities/System -Group(pt): Utilitários/Sistema -Group(pl_BR): Narzêdzia/System +Group(pt_BR): Utilitários/Sistema +Group(pl): Narzêdzia/System Source: ftp://ftp.redhat.com/pub/redhat/code/chkconfig/%{name}-%{version}.tar.gz +Source1: chkconfig.pl.po +Patch: chkconfig-opt.patch +BuildPrereq: slang-devel +BuildPrereq: newt-devel BuildRoot: /tmp/%{name}-%{version}-root %description @@ -51,7 +55,7 @@ Summary(pt_BR): Interface com menus para configura Group: Utilities/System Group(pt_BR): Utilitários/Sistema Group(pl): Narzêdzia/System -Requires: chkconfig = %{version} +Requires: %{name} = %{version} %description -n ntsysv ntsysv provides a full-screen tool for updating the /etc/rc.d directory @@ -69,6 +73,9 @@ termina %prep %setup -q +%patch -p1 + +install %{SOURCE1} po/pl.po %build @@ -76,38 +83,60 @@ termina LIBMHACK=-lm %endif -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBMHACK=$LIBMHACK +make \ + OPTIMIZE="$RPM_OPT_FLAGS" \ + LIBMHACK="$LIBMHACK" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT/etc/rc.d/rc{0,1,2,3,4,5,6}.d +install -d $RPM_BUILD_ROOT/etc/rc.d/{init,rc{0,1,2,3,4,5,6}}.d make instroot=$RPM_BUILD_ROOT install +gzip -9nf $RPM_BUILD_ROOT/usr/man/man8/* + %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(644, root, root, 755) -%attr(755, root, root) /sbin/chkconfig -%attr(644, root, man) /usr/man/man8/* -/etc/rc.d +%defattr(644,root,root,755) +%attr(755,root,root) /sbin/chkconfig + %lang(cs) /usr/share/locale/cs/LC_MESSAGES/chkconfig.mo %lang(de) /usr/share/locale/de/LC_MESSAGES/chkconfig.mo %lang(en) /usr/share/locale/en*/LC_MESSAGES/chkconfig.mo %lang(fr) /usr/share/locale/fr/LC_MESSAGES/chkconfig.mo %lang(no) /usr/share/locale/no/LC_MESSAGES/chkconfig.mo +%lang(pl) /usr/share/locale/pl/LC_MESSAGES/chkconfig.mo %lang(pt_BR) /usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo %lang(ro) /usr/share/locale/ro/LC_MESSAGES/chkconfig.mo %lang(sk) /usr/share/locale/sk/LC_MESSAGES/chkconfig.mo %lang(sr) /usr/share/locale/sr/LC_MESSAGES/chkconfig.mo %lang(tr) /usr/share/locale/tr/LC_MESSAGES/chkconfig.mo +/usr/man/man8/chkconfig.8* + +%dir /etc/rc.d +%dir /etc/rc.d/* + %files -n ntsysv -%attr(755, root, root) /usr/sbin/ntsysv -%attr(644, root, man) /usr/man/man8/* +%defattr(644,root,root,755) +%attr(755,root,root) /usr/sbin/ntsysv +/usr/man/man8/ntsysv.8* %changelog +* Wed Apr 21 1999 Piotr Czerwiñski + [1.0.5-1] +- updated to 1.0.5, +- removed man group from man pages, +- added %defattr description in %files -n ntsysv, +- replacements in %files, +- added gzipping man pages, +- added %dir macros, +- fixed Requires in ntsysv, +- cosmetic changes, +- recompiled on rpm 3. + * Tue Jan 26 1999 Micha³ Kuratczyk [0.9.5-3] - fixed pl translation,