SPECS: trean.spec - let BUILD dir identify source snap (to compare...

glen glen at pld-linux.org
Sat Aug 27 01:33:54 CEST 2005


Author: glen                         Date: Fri Aug 26 23:33:54 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- let BUILD dir identify source snap (to compare them)

---- Files affected:
SPECS:
   trean.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/trean.spec
diff -u SPECS/trean.spec:1.5 SPECS/trean.spec:1.6
--- SPECS/trean.spec:1.5	Thu Jul 21 00:07:56 2005
+++ SPECS/trean.spec	Sat Aug 27 01:33:47 2005
@@ -1,7 +1,7 @@
 # $Revision$, $Date$
 
-%define	_snap	2005-05-11
-%define	_rel	1.1
+%define	_snap	2005-08-01
+%define	_rel	1
 
 %include	/usr/lib/rpm/macros.php
 Summary:	Horde Bookmarks application
@@ -11,13 +11,13 @@
 Release:	%{?_snap:0.%(echo %{_snap} | tr -d -).}%{_rel}
 License:	GPL
 Group:		Applications/WWW
-Source0:	http://ftp.horde.org/pub/snaps/%{_snap}/%{name}-HEAD-%{_snap}.tar.gz
+Source0:	ftp://ftp.horde.org/pub/snaps/%{_snap}/%{name}-HEAD-%{_snap}.tar.gz
+# Source0-md5:	95c431b130310ae9165d69fdbf7e6c99
 # NoSource0-md5:	20f5a96682d04444d48f9307ebb08515
-# don't put snapshots to df
-NoSource:	0
 Source1:	%{name}.conf
 URL:		http://www.horde.org/trean/
 BuildRequires:	rpmbuild(macros) >= 1.226
+BuildRequires:	tar >= 1:1.15.1
 Requires:	apache >= 1.3.33-2
 Requires:	apache(mod_access)
 # docs say it requires 3.1, but seems work in 3.0 too
@@ -36,14 +36,14 @@
 %description
 The Trean (Bookmarks) application allows you to store, organize and
 manage, and most importantly access your web browser bookmarks on-line
-and in one central place accessible from any web browser. 
+and in one central place accessible from any web browser.
 
 By storing your bookmarks here, you can access them from any browser
 on any machine that can access the Horde applications. This means you
 can easily access your bookmarks from multiple browsers, multiple
 machines, remote locations, etc. And if you upgrade, switch, or test
 out browsers, you don't have to worry about what happens to your
-bookmarks or how to import them into the new browser. 
+bookmarks or how to import them into the new browser.
 
 The Horde Project writes web applications in PHP and releases them
 under the GNU General Public License. For more information (including
@@ -67,7 +67,8 @@
 Treana) można znaleźć na stronie <http://www.horde.org/>.
 
 %prep
-%setup -q -n %{name}
+%setup -q -c -T -n %{name}-%{_snap}
+tar zxf %{SOURCE0} --strip-components=1
 
 rm -f config/.htaccess
 
@@ -149,6 +150,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/08/26 23:33:47  glen
+- let BUILD dir identify source snap (to compare them)
+
 Revision 1.5  2005/07/20 22:07:56  glen
 - use apache config triggers
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/trean.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list