SPECS: pmk.spec (NEW) - alternative to autoconf/libtool/pkgconfig ...

glen glen at pld-linux.org
Wed Jun 22 11:53:48 CEST 2005


Author: glen                         Date: Wed Jun 22 09:53:48 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- alternative to autoconf/libtool/pkgconfig on POSIX platforms

---- Files affected:
SPECS:
   pmk.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pmk.spec
diff -u /dev/null SPECS/pmk.spec:1.1
--- /dev/null	Wed Jun 22 11:53:48 2005
+++ SPECS/pmk.spec	Wed Jun 22 11:53:43 2005
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+# TODO
+# - better summary?
+# - mandir should be passed in build not install (pmk bug?)
+Summary:	The meaning of PMK is "Pre Make Kit".
+Name:		pmk
+Version:	0.9.3
+Release:	0.1
+Epoch:		0
+License:	BSD
+Group:		Development/Building
+Source0:	http://dl.sourceforge.net/pmk/%{name}-%{version}.tar.gz
+# Source0-md5:	6f117a9282ee92f2f973c6973f6f822f
+URL:		http://pmk.sourceforge.net/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The meaning of PMK is "Pre Make Kit". It started as an alternative to
+GNU Autoconf for POSIX platforms. Now, it's also an alternative to GNU
+Libtool and pkg-config.
+
+Goals:
+- Make it easy to use for both users and developers.
+- Let the configure stage as secure as possible
+- Keep the number of needed dependencies as low as possible (actually
+  only libc).
+- Provide the package in a free and usable license for everybody
+  (three clauses BSD).
+- Limit the changes in sources for a transition from autoconf.
+
+%prep
+%setup -q
+
+%build
+PREFIX=%{_prefix} \
+SYSCONFDIR=%{_sysconfdir} \
+DATADIR=%{_datadir} \
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+sh pmkcfg.sh
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	MANDIR=%{_mandir} \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BONUS README BUGS STATUS CREDITS TODO Changelog INSTALL LICENSE
+%attr(755,root,root) %{_bindir}/pmk
+%attr(755,root,root) %{_bindir}/pmkinstall
+%attr(755,root,root) %{_bindir}/pmkpc
+%attr(755,root,root) %{_bindir}/pmkscan
+%attr(755,root,root) %{_bindir}/pmksetup
+%{_mandir}/man[158]/*
+%{_datadir}/pmk/pmkcfgtool.dat
+%{_datadir}/pmk/pmkcomp.dat
+%{_datadir}/pmk/pmkcpu.dat
+%{_datadir}/pmk/pmkfile.sample
+%{_datadir}/pmk/pmkscan.dat
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/06/22 09:53:43  glen
+- alternative to autoconf/libtool/pkgconfig on POSIX platforms
+
================================================================



More information about the pld-cvs-commit mailing list