Merge pull request #195 from DOCGroup/jwillemsen-patch-1
[MPC.git] / rpm / MPC.templ
blobbeb66cac135019b46a7efcd7b783598d641039bd
1 Summary: MPC - The Makefile, Project and Workspace Creator.
2 Name: MPC
3 Version: VERSION
4 Release: 0
5 License: Open Software License
6 Group: Software Development
7 BuildRoot: /tmp/mpc
8 Source: %{name}-%{version}.tar.bz2
9 URL: https://objectcomputing.com/products/open-source-products/mpc
10 Vendor: Object Computing, Inc.
11 Packager: PACKAGER
12 buildarch: noarch
13 %description
14 MPC (Make, Project and workspace Creator) is an open source tool, developed
15 by OCI and written in Perl. It is designed to generate a variety of tool
16 specific project files from a common baseline.
17 %defattr(-,root,root)
18 %pre
19 %prep
20 %setup
21 %build
22 %install
23 tar cf - * | (cd $RPM_BUILD_ROOT && tar xf -)
24 %post
25 ln -sf FINALDIR/mwc.pl /usr/bin
26 ln -sf FINALDIR/mpc.pl /usr/bin
27 %postun
28 rm -f /usr/bin/mwc.pl /usr/bin/mpc.pl
29 %files
30 FINALDIR