SPECS: rpm-macros.spec (NEW) - initial idea

glen glen at pld-linux.org
Sun Jun 19 19:36:38 CEST 2005


Author: glen                         Date: Sun Jun 19 17:36:38 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial idea

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

---- Diffs:

================================================================
Index: SPECS/rpm-macros.spec
diff -u /dev/null SPECS/rpm-macros.spec:1.1
--- /dev/null	Sun Jun 19 19:36:38 2005
+++ SPECS/rpm-macros.spec	Sun Jun 19 19:36:33 2005
@@ -0,0 +1,47 @@
+# $Revision$, $Date$
+# TODO
+# - contains unparsed macros:
+#  %__id        @__ID@
+#  %__chown_Rhf           @__CHOWN_RHF@
+#  %__chgrp_Rhf           @__CHGRP_RHF@
+%define	rpm_macros_rev	1.223
+Summary:	PLD Linux RPM Macros
+Name:		rpm-macros
+Version:	0.1
+Release:	0.1
+License:	GPL
+Group:		Base
+Source0:	rpm.macros
+Provides:	rpmbuild(macros) = %{rpm_macros_rev}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains rpm macros for PLD Linux.
+
+Use this package to get newer rpm macros than rpm-build provides
+(perhaps this package will be separated in the future).
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
+install %{SOURCE0} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/rpm.macros
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rpm/rpm.macros
+
+%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/19 17:36:33  glen
+- initial idea
+
================================================================



More information about the pld-cvs-commit mailing list