Author: arekm                        Date: Tue Mar 18 09:46:47 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- generic detection for epiphany; doesn't build

---- Files affected:
SPECS:
   gwget.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/gwget.spec
diff -u SPECS/gwget.spec:1.23 SPECS/gwget.spec:1.24
--- SPECS/gwget.spec:1.23       Sat Oct 27 17:58:35 2007
+++ SPECS/gwget.spec    Tue Mar 18 10:46:42 2008
@@ -3,6 +3,8 @@
 # Conditional build:
 %bcond_without epiphany        # don't build epiphany extension
 #
+%define        epiphany_version        2.22
+#
 Summary:       A download manager for GNOME
 Summary(pl.UTF-8):     Zarządca pobierania plików dla GNOME
 Name:          gwget
@@ -13,7 +15,7 @@
 Source0:       
http://ftp.gnome.org/pub/gnome/sources/gwget/0.99/%{name}-%{version}.tar.bz2
 # Source0-md5: 69f43ae6edbb7ac472c30c547fbf80e6
 Patch0:                %{name}-desktop.patch
-Patch1:                %{name}-epiphany-2.20.patch
+Patch1:                %{name}-epiphany.patch
 URL:           http://www.gnome.org/projects/gwget/
 BuildRequires: GConf2-devel
 BuildRequires: autoconf
@@ -53,7 +55,7 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
+%patch1 -p0
 
 %build
 %{__intltoolize}
@@ -62,7 +64,7 @@
 %{__automake}
 %configure \
        --disable-schemas-install \
-       %{?with_epiphany: --with-epiphany-version=2.20} \
+       %{?with_epiphany: --with-epiphany-version=%{epiphany_version}} \
        %{!?with_epiphany: --disable-epiphany-extension}
 %{__make}
 
@@ -76,7 +78,7 @@
 rm -rf $RPM_BUILD_ROOT%{_includedir}/gwget
 
 %if %{with epiphany}
-rm -f $RPM_BUILD_ROOT%{_libdir}/epiphany/2.20/extensions/*.{a,la}
+rm -f 
$RPM_BUILD_ROOT%{_libdir}/epiphany/%{epiphany_version}/extensions/*.{a,la}
 %endif
 
 %find_lang %{name}
@@ -103,8 +105,8 @@
 %if %{with epiphany}
 %files -n epiphany-extension-gwget
 %defattr(644,root,root,755)
-%attr(755,root,root)%{_libdir}/epiphany/2.20/extensions/libgwgetextension.so*
-%{_libdir}/epiphany/2.20/extensions/gwget.xml
+%attr(755,root,root)%{_libdir}/epiphany/%{epiphany_version}/extensions/libgwgetextension.so*
+%{_libdir}/epiphany/%{epiphany_version}/extensions/gwget.xml
 %endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -113,7 +115,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.23  2007-10-27 15:58:35  megabajt
+Revision 1.24  2008-03-18 09:46:42  arekm
+- generic detection for epiphany; doesn't build
+
+Revision 1.23  2007/10/27 15:58:35  megabajt
 - release 2
 
 Revision 1.22  2007/10/12 01:06:17  sls
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to