SPECS (GNOME): test.spec - something that might be useful
glen
glen at pld-linux.org
Fri Jun 15 01:38:50 CEST 2007
Author: glen Date: Thu Jun 14 23:38:50 2007 GMT
Module: SPECS Tag: GNOME
---- Log message:
- something that might be useful
---- Files affected:
SPECS:
test.spec (1.32 -> 1.32.2.1)
---- Diffs:
================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.32 SPECS/test.spec:1.32.2.1
--- SPECS/test.spec:1.32 Wed May 16 16:14:56 2007
+++ SPECS/test.spec Fri Jun 15 01:38:45 2007
@@ -1,25 +1,36 @@
# $Revision$, $Date$
-%bcond_with i18n
-%define _urlprefix http://ep09.pld-linux.org/~arekm/kde/
-%define artsver 1.5.5
-%define kdevelopver 3.3.4
-Summary: Fetch KDE packages to distfiles
-Name: kdefetch
-Version: 3.5.5
+# 2.18.0
+# http://ftp.gnome.org/pub/GNOME/teams/releng/2.18.0/versions
+Summary: Gnome updater
+Name: gnome-updater
+Version: 2.18.0
Release: 1
License: GPL
-Group: Networking/Hacking
+Group: Applications
+Source0: http://ftp.gnome.org/pub/GNOME/teams/releng/2.18.0/versions
+NoSource: 0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Alien allows you to convert Debian, Stampede and Slackware Packages
-into PLD packages, which can be installed with rpm. It can also
-convert into Slackware, Debian, and Stampede packages. This is a tool
-only suitable for binary packages.
%prep
-exit 1
+%setup -qcT
+cp %{SOURCE0} .
+
+%build
+awk -F: '
+/^##/{pkg = tolower(substr($0, 4)); d = 0; next }
+/^#/ {t = tolower(substr($0, 3)); pkg = pkg "-" t; d = 0; next }
+
+!/^$/{
+if (!d) {
+ printf("\n%%%%files %%s\n", pkg);
+ printf("\n%%%%package %%s\n", pkg);
+ d = 1;
+}
+printf("Requires: %%s >= %%s\n", $2, $3);
+}' versions > base.spec
%clean
rm -rf $RPM_BUILD_ROOT
@@ -34,29 +45,6 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.32 2007/05/16 14:14:56 baggins
-- tetsing
-
-Revision 1.30 2006/10/07 17:46:46 arekm
-- new kdelibs kdebase
-
-Revision 1.29 2006/10/05 18:26:45 glen
-- typo
-
-Revision 1.28 2006/10/05 18:19:58 glen
-- macro for baseurl
-
-Revision 1.27 2006/10/05 17:33:47 arekm
-- fix
-
-Revision 1.26 2006/10/05 17:26:48 arekm
-- new kdelibs/kdebase tarballs
-
-Revision 1.25 2006/10/03 07:36:49 glen
-- systematize this somewhat
-
-Revision 1.24 2006/10/03 07:13:45 arekm
-- fetch new kde
+Revision 1.32.2.1 2007/06/14 23:38:45 glen
+- something that might be useful
-Revision 1.23 2006/09/04 08:38:11 qboosh
-- don't call me alien
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/test.spec?r1=1.32&r2=1.32.2.1&f=u
More information about the pld-cvs-commit
mailing list