summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Allum <breakfast@10.am>2003-12-24 09:32:31 +0000
committerMatthew Allum <breakfast@10.am>2003-12-24 09:32:31 +0000
commit721c103d189bd4ec0c966ac679e6fbf084cc316c (patch)
tree4d781bed1d1fdb7a3990f9920aabfc7ff3be9590
parent8afc29c9cdb0c9b1148573d8c2ad496f2ef6293e (diff)
added spec fileRELEASE_0_2
-rw-r--r--ChangeLog9
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac4
-rw-r--r--doc/Makefile.am1
-rw-r--r--xrestop.spec.in39
5 files changed, 52 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 75c6246..00e055b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-12-24 Matthew Allum <mallum@handhelds.com>
+
+ * Makefile.am:
+ * configure.ac:
+ * doc/Makefile.am:
+ * xrestop.spec.in:
+ Added spec file from Ralph Loader.
+ Put the man page in EXTRA_DIST
+
2003-12-21 Matthew Allum <mallum@handhelds.com>
* xrestop.c: (xrestop_client_get_info), (xrestop_display),
diff --git a/Makefile.am b/Makefile.am
index 333bf6b..d16cfa2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,3 +8,4 @@ xrestop_SOURCES = xrestop.c
xrestop_LDADD = @XLIBS_LIBS@
+extra_DIST = xrestop.spec xrestop.spec.in
diff --git a/configure.ac b/configure.ac
index b8cdaaa..1f00f86 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
-AC_INIT([xrestop], 0.1, [mallum@handhelds.org])
+AC_INIT([xrestop], 0.2, [mallum@handhelds.org])
AC_CONFIG_SRCDIR([xrestop.c])
AM_INIT_AUTOMAKE()
@@ -64,4 +64,4 @@ AC_TYPE_PID_T
AC_CHECK_FUNCS([memset strdup])
-AC_OUTPUT([Makefile doc/Makefile])
+AC_OUTPUT([Makefile doc/Makefile xrestop.spec])
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1a4fc66..6f3e24e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1 +1,2 @@
+extra_DIST = xrestop.1
man_MANS = xrestop.1 \ No newline at end of file
diff --git a/xrestop.spec.in b/xrestop.spec.in
new file mode 100644
index 0000000..dae6e56
--- /dev/null
+++ b/xrestop.spec.in
@@ -0,0 +1,39 @@
+Summary: X Resource Monitor
+Name: xrestop
+Version: @VERSION@
+Release: 1
+License: GPL
+Group: Development/Tools
+URL: http://www.freedesktop.org/Software/xrestop
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+
+%description
+A utility to monitor the usage of resources within the X Server, and
+display them in a manner similar to top.
+
+%prep
+%setup -q
+
+%build
+%configure
+%__make SUBDIRS=
+
+%install
+rm -rf "$RPM_BUILD_ROOT"
+%__make SUBDIRS= DESTDIR="$RPM_BUILD_ROOT" install
+
+%clean
+rm -rf "$RPM_BUILD_ROOT"
+
+%files
+%defattr(-,root,root,-)
+/usr/bin/xrestop
+%doc
+
+
+%changelog
+* Wed Dec 24 2003 <suckfish@ihug.co.nz>
+- Initial build.
+
+