summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornail2k2005-03-08 22:41:08 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit6a963cfb24b2853dacd005e18969d5db5a18ffb5 (patch)
tree909ab951b7c41af84d0e3e5a96bb4c8159db043a
downloadxtail-6a963cfb24b2853dacd005e18969d5db5a18ffb5.zip
xtail-6a963cfb24b2853dacd005e18969d5db5a18ffb5.tar.gz
- new
Changed files: xtail-Makefile.patch -> 1.1 xtail.spec -> 1.1
-rw-r--r--xtail-Makefile.patch17
-rw-r--r--xtail.spec47
2 files changed, 64 insertions, 0 deletions
diff --git a/xtail-Makefile.patch b/xtail-Makefile.patch
new file mode 100644
index 0000000..dc5584e
--- /dev/null
+++ b/xtail-Makefile.patch
@@ -0,0 +1,17 @@
+--- Makefile.in.dist 2005-03-08 14:36:35.223146904 +0100
++++ Makefile.in 2005-03-08 14:38:48.532880744 +0100
+@@ -42,10 +42,12 @@
+ install : $(bindir)/xtail $(mandir)/man1/xtail.1
+
+ $(bindir)/xtail : xtail
+- $(INSTALL_PROGRAM) $? $@
++ $(INSTALL) -d $(DESTDIR)/$(bindir)
++ $(INSTALL_PROGRAM) $? $(DESTDIR)$@
+
+ $(mandir)/man1/xtail.1 : xtail.1
+- $(INSTALL_DATA) $? $@
++ $(INSTALL) -d $(DESTDIR)/$(mandir)/man1
++ $(INSTALL_DATA) $? $(DESTDIR)$@
+
+ clean :
+ rm -f xtail $(XTAIL_OBJECTS) $(TARBALL)
diff --git a/xtail.spec b/xtail.spec
new file mode 100644
index 0000000..254c5b0
--- /dev/null
+++ b/xtail.spec
@@ -0,0 +1,47 @@
+Summary: xtail watches the growth of files
+Summary(pl): xtail obserwuje przyrost zawartości plików
+Name: xtail
+Version: 2.1
+Release: 0.1
+License: GPL v2
+Group: Applications/System
+Source0: http://www.unicom.com/sw/xtail/%{name}-%{version}.tar.gz
+# Source0-md5: 2e4717c591a2cbbd4aeb63d00c87a0cb
+Patch0: %{name}-Makefile.patch
+URL: http://www.unicom.com/sw/xtail/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+xtail is sort of a tail -f for many files. It's a great way to monitor
+log files.
+
+%description -l pl
+xtail działa jak polecenie tail -f, ale dla wielu plików jednocześnie.
+Jest bardzo dobrym sposobem na monitorowanie logów.
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+chmod u+w configure
+%{__autoconf}
+%{__autoheader}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+
+%attr(755,root,root) %{_bindir}/xtail
+%{_mandir}/man1/*