SPECS: soprano.spec - up to 2.0.98 - rel. 1 - bcond snap

cactus cactus at pld-linux.org
Wed Apr 30 16:50:11 CEST 2008


Author: cactus                       Date: Wed Apr 30 14:50:11 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.0.98
- rel. 1
- bcond snap

---- Files affected:
SPECS:
   soprano.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/soprano.spec
diff -u SPECS/soprano.spec:1.24 SPECS/soprano.spec:1.25
--- SPECS/soprano.spec:1.24	Sun Apr 20 12:11:32 2008
+++ SPECS/soprano.spec	Wed Apr 30 16:50:06 2008
@@ -7,20 +7,30 @@
 # Conditional build:
 %bcond_without	serializer		# with raptor serializer. need to figure out proper BR
 %bcond_without	sesame2			# with sesame2backend
+%bcond_with	snap			# build svn snapshot
+
 
 %define		qtbrver		4.4.0
-%define		_rev	svn799072
+%define		_snap		svn799072
+%define		_rel		1
+
 
 Summary:	Soprano - Qt wrapper API to librdf
 Summary(pl.UTF-8):	Soprano - wrapper Qt do librdf
 Name:		soprano
 Version:	2.0.98
-Release:	0.%{_rev}.1
+Release:	%{?with_snap:0.%{_snap}.1}%{!?with_snap:%{_rel}}
 License:	GPL v2
 Group:		X11/Applications
-#Source0:	http://dl.sourceforge.net/soprano/%{name}-%{version}.tar.bz2
-Source0:	%{name}-%{version}-%{_rev}.tar.gz
-# Source0-md5:	86113aba1c27d7106de427cb87bcd0c5
+
+%if %{with snap}
+Source100:	%{name}-%{version}-%{_snap}.tar.gz
+# Source100-md5:	86113aba1c27d7106de427cb87bcd0c5
+%else
+Source0:	http://dl.sourceforge.net/soprano/%{name}-%{version}.tar.bz2
+# Source0-md5:	fcaf461dded797445264d809df3257b5
+%endif
+
 URL:		http://sourceforge.net/projects/soprano
 BuildRequires:	QtCore-devel >= %{qtbrver}
 BuildRequires:	QtDBus-devel >= %{qtbrver}
@@ -67,7 +77,7 @@
 Pliki nagłówkowe dla soprano.
 
 %prep
-%setup -q -n %{name}-%{version}-%{_rev}
+%setup -q -T -b %{?with_snap:10}0 -n %{name}-%{version}%{?with_snap:-%{_snap}}
 
 %build
 install -d build
@@ -145,6 +155,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2008-04-30 14:50:06  cactus
+- up to 2.0.98
+- rel. 1
+- bcond snap
+
 Revision 1.24  2008-04-20 10:11:32  shadzik
 - up to svn799072
 - it's actually version 2.0.98 (as version.h tells) and not 2.1.0 (as changelog tells)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/soprano.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list