]> git.pld-linux.org Git - packages/ekg.git/commitdiff
-added yesterday_snapshot (patch made by Adam Mikuta)
authorJakub Krajniak <jkrajniak@gmail.com>
Sat, 2 Jul 2005 15:19:27 +0000 (15:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ekg.spec -> 1.192

ekg.spec

index 6056e4de9f12e1a7512ae2a7c3d49d9f9855ca27..0eb517b392516af69725445c0f144cb87e947086 100644 (file)
--- a/ekg.spec
+++ b/ekg.spec
@@ -1,12 +1,20 @@
 #
 # Conditional build:
+%bcond_with    yesterday_snapshot      # Build most current ekg snapshot
+                                       # (must use ./builder -n5 or plain rpmbuild)
+
 %bcond_without aspell          # without spell checking
 %bcond_without voip            # without VoIP support
 %bcond_without python          # with python support
 %bcond_without pthread         # build with Posix threads support
 %bcond_with    ioctl_daemon    # with ioctl_daemon (suid root)
 #
+%if %{with yesterday_snapshot}
+%define                _snap %(date +%%Y%%m%%d -d yesterday)
+%else
 %define                _pre    rc1
+%endif
+
 #
 Summary:       A client compatible with Gadu-Gadu
 Summary(de):   Ein Cliente kompatibel mit Gadu-Gadu
@@ -15,11 +23,19 @@ Summary(it):        Un cliente compatibile con Gadu-Gadu
 Summary(pl):   Klient kompatybilny z Gadu-Gadu
 Name:          ekg
 Version:       1.6
-Release:       0.%{_pre}.1
+%if %{with yesterday_snapshot} 
+Release:        0.%{_snap}.1
+%else   
+Release:        0.%{_pre}.1
+%endif 
 Epoch:         4
 License:       GPL v2
 Group:         Applications/Communications
+%if %{with yesterday_snapshot} 
+Source0:        http://dev.null.pl/ekg/%{name}-%{_snap}.tar.gz 
+%else 
 Source0:       http://dev.null.pl/ekg/%{name}-1.6%{_pre}.tar.gz
+%endif 
 # Source0-md5: bce21bd6e896b71266afc30004f27402
 Source1:       %{name}.conf
 URL:           http://dev.null.pl/ekg/
@@ -158,7 +174,12 @@ Biblioteca libgadu est
 Statyczna biblioteka libgadu.
 
 %prep
+%if %{with yesterday_snapshot}
+%setup -q -n %{name}-%{_snap}
+%else
 %setup -q -n %{name}-%{version}%{_pre}
+%endif
+
 
 %build
 rm -f missing
This page took 0.067993 seconds and 4 git commands to generate.