Add a .spec file (make dist; rpm -ts vte*.tar.gz; rpm --rebuild) to make
authorNalin Dahyabhai <nalin@src.gnome.org>
Sat, 9 Mar 2002 07:41:56 +0000 (07:41 +0000)
committerNalin Dahyabhai <nalin@src.gnome.org>
Sat, 9 Mar 2002 07:41:56 +0000 (07:41 +0000)
building a package easier.

Makefile.am
src/Makefile.am
vte.spec [new file with mode: 0644]

index af437a6..86dae6a 100644 (file)
@@ -1 +1,2 @@
 SUBDIRS = src
+EXTRA_DIST = HACKING vte.spec
index eab13c3..882cd6e 100644 (file)
@@ -1,4 +1,5 @@
 bin_PROGRAMS = vte
+pkginclude_HEADERS = caps.h pty.h termcap.h trie.h vte.h
 lib_LTLIBRARIES = libvte.la
 noinst_PROGRAMS = interpret utf8echo
 EXTRA_PROGRAMS = pty termcap trie
diff --git a/vte.spec b/vte.spec
new file mode 100644 (file)
index 0000000..35f6775
--- /dev/null
+++ b/vte.spec
@@ -0,0 +1,49 @@
+Name: vte
+Version: 0.1
+Release: 1
+Summary: A terminal emulator for testing.
+License: LGPL
+Group: User Interface/X
+BuildRoot: %{_tmppath}/%{name}-root
+Source: %{name}-%{version}.tar.gz
+
+%description
+Blah.
+
+%package devel
+Summary: Development files for use with vte.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Blah
+
+%prep
+%setup -q
+
+%build
+%configure --enable-shared --enable-static
+make
+
+%clean
+rm -fr $RPM_BUILD_ROOT
+
+%install
+rm -fr $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc COPYING HACKING NEWS README
+%{_bindir}/*
+%{_libdir}/*.so.*.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/*
+%{_libdir}/*.a
+%{_libdir}/*.so