first prelimiary (working however) version of rpmbuild spec file.
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 12 Aug 2003 04:11:33 +0000 (04:11 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 12 Aug 2003 04:11:33 +0000 (04:11 +0000)
charm.spec [new file with mode: 0644]

diff --git a/charm.spec b/charm.spec
new file mode 100644 (file)
index 0000000..d41d383
--- /dev/null
@@ -0,0 +1,32 @@
+#
+# Example spec file for cdplayer app...
+#
+Summary: Charm++
+Name: Charm
+Version: 5.6
+Release: 10
+Copyright: GPL
+Group: Applications/System
+BuildRoot: /var/tmp/%{name}-root
+Source: http://charm.cs.uiuc.edu/distrib/Charm-5.6.tar.bz2
+URL: http://charm.cs.uiuc.edu
+Vendor: PPL <ppl@uiuc.edu>
+
+%description
+Charm++ for Redhat
+
+%prep
+%setup -n %{name}-%{version}
+bzip2 -dc  %{_sourcedir}/%{name}-%{version}.tar.bz2 | tar xvf -
+%build
+./build charm++ net-linux -O -DCMK_OPTIMIZE
+%clean
+rm -f $RPM_BUILD_ROOT
+%install
+mkdir -p $RPM_BUILD_ROOT
+cd tmp; make DESTDIR=$RPM_BUILD_ROOT/usr/local/charm  install 
+%post
+%files
+/usr/local/charm/*
+%doc README LICENSE CHANGES README.cygwin README.win32