summaryrefslogtreecommitdiff
path: root/rpm/MPC.templ
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-09-21 18:52:25 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-09-21 18:52:25 +0000
commit7ff4d3e170e9e5f7f53e5bfaa1f3b3183fdab55c (patch)
treefa6f6233481f36811eb368abaa2426188a1c9b13 /rpm/MPC.templ
parent2d335783fad14332e569206f6a9648d787477483 (diff)
downloadMPC-7ff4d3e170e9e5f7f53e5bfaa1f3b3183fdab55c.tar.gz
Wed Sep 21 18:51:02 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* rpm/MPC.templ: * rpm/buildrpm.sh: * rpm/MPC.spec: Renamed the MPC spec file template to .templ and update the script to read the template and create MPC.spec. Within a source package we can only have one spec file and MPC is also included in the A/T/C/D source package which will result in two spec files
Diffstat (limited to 'rpm/MPC.templ')
-rw-r--r--rpm/MPC.templ30
1 files changed, 30 insertions, 0 deletions
diff --git a/rpm/MPC.templ b/rpm/MPC.templ
new file mode 100644
index 00000000..cbb6b3d3
--- /dev/null
+++ b/rpm/MPC.templ
@@ -0,0 +1,30 @@
+Summary: MPC - The Makefile, Project and Workspace Creator.
+Name: MPC
+Version: VERSION
+Release: 0
+License: Open Software License
+Group: Software Development
+BuildRoot: /tmp/mpc
+Source: %{name}-%{version}.tar.bz2
+URL: http://www.ociweb.com/products/mpc
+Vendor: Object Computing, Inc.
+Packager: PACKAGER
+buildarch: noarch
+%description
+MPC (Make, Project and workspace Creator) is an open source tool, developed
+by OCI and written in Perl. It is designed to generate a variety of tool
+specific project files from a common baseline.
+%defattr(-,root,root)
+%pre
+%prep
+%setup
+%build
+%install
+tar cf - * | (cd $RPM_BUILD_ROOT && tar xf -)
+%post
+ln -sf FINALDIR/mwc.pl /usr/bin
+ln -sf FINALDIR/mpc.pl /usr/bin
+%postun
+rm -f /usr/bin/mwc.pl /usr/bin/mpc.pl
+%files
+FINALDIR