X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=colortail.spec;h=37a1998ac3b788b0a5d814dd54676292f0961b86;hb=4b801a889e4f2ae622784691fedd63dc25b1d1a0;hp=7fd58fedc98d153ccd77a9145e5cf345015afc41;hpb=991c7d5d123ef3b6b9d45276364be73115b206fb;p=packages%2Fcolortail.git diff --git a/colortail.spec b/colortail.spec index 7fd58fe..37a1998 100644 --- a/colortail.spec +++ b/colortail.spec @@ -1,17 +1,16 @@ Summary: Colored "tail" -Summary(pl): Kolorowy "tail" +Summary(pl.UTF-8): Kolorowy "tail" Name: colortail Version: 0.3.0 -Release: 1 -License: GNU +Release: 6 +License: GPL Group: Applications/Text -Group(de): Applikationen/Text -Group(fr): Utilitaires/Texte -Group(pl): Aplikacje/Tekst Source0: http://www.student.hk-r.se/~pt98jan/%{name}-%{version}.tar.gz +# Source0-md5: 2589d3e372080f4052d1cc0d6550508f +Patch0: %{name}-gcc3.patch URL: http://www.student.hk-r.se/~pt98jan/colortail.html -BuildRequires: automake BuildRequires: autoconf +BuildRequires: automake BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -19,19 +18,21 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Colortail works like tail but can optionally read a color config file, where it's specified which patterns result in which colors. -%description -l pl -Colortail dzia³a na podobne zasadzie jak zwyk³y tail, z t± ró¿nic±, ¿e -potrafi wy¶wietlaæ kolorowy tekst w zale¿no¶ci od ustawieñ w pliku +%description -l pl.UTF-8 +Colortail działa na podobne zasadzie jak zwykły tail, z tą różnicą, że +potrafi wyświetlać kolorowy tekst w zależności od ustawień w pliku konfiguracyjnym. %prep %setup -q -%build +%patch0 -p0 -aclocal -autoconf -automake -a -c -autoheader +%build +rm -f missing +%{__aclocal} +%{__autoconf} +%{__automake} +%{__autoheader} CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti" %configure \ --enable-ext_regex @@ -41,17 +42,17 @@ CXXFLAGS="%{rpmcflags} -fno-exceptions -fno-rtti" rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name} -%{__make} install DESTDIR="$RPM_BUILD_ROOT" +%{__make} install \ + DESTDIR="$RPM_BUILD_ROOT" install example-conf/conf.* $RPM_BUILD_ROOT%{_sysconfdir}/%{name} -gzip -9nf ChangeLog README TODO - %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz +%doc ChangeLog README TODO %attr(755,root,root) %{_bindir}/* -%config(noreplace) %verify(not mtime size md5) %{_sysconfdir}/%{name}/* +%dir %{_sysconfdir}/%{name} +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*