]> git.pld-linux.org Git - packages/ekg2.git/commitdiff
- Bounced version to 20040427 snapshot
authorjaphy <japhy@pld-linux.org>
Wed, 28 Apr 2004 17:59:36 +0000 (17:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Fixed URL
- Added possibility of building current snapshot with a bcond

Changed files:
    ekg2.spec -> 1.7

ekg2.spec

index 121df8b1079ef276b42e039a7d77ef39aada894b..d133e599db65070008012b44d45f8566c400f374 100644 (file)
--- a/ekg2.spec
+++ b/ekg2.spec
@@ -1,4 +1,12 @@
-%define                _snap 20040411
+%bcond_with    yesterday_snapshot      # Build most current ekg2 snapshot
+                                       # (must use ./builder -n5 or plain rpmbuild)
+
+%if %{with yesterday_snapshot}
+%define                _snap %(date +%%Y%%m%%d -d yesterday)
+%else
+%define                _snap 20040427
+%endif
+
 Summary:       A client compatible with Gadu-Gadu
 Summary(de):   Einen client kompatibel zu Gadu-Gadu
 Summary(it):   Esperimentale cliente di Gadu-Gadu
@@ -8,9 +16,9 @@ Version:       2.0
 Release:       0.%{_snap}.1
 License:       GPL v2+
 Group:         Applications/Communications
-Source0:       %{name}-%{_snap}.tar.bz2
-# Source0-md5: e5a43aa21c15781eff21dda4d602ba28
-URL:           http://dev.null.pl/ekg/
+Source0:       http://dev.null.pl/ekg2/archive/%{name}-%{_snap}.tar.gz
+# Source0-md5: ee1e7993975ae70878bf4a51e2bc2bee
+URL:           http://dev.null.pl/ekg2/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libgadu-devel
@@ -34,7 +42,7 @@ Eksperymentalny Klient Gadu-Gadu. W wersji 2.0 obs
 Gadu-Gadu jak i Jabbera. Planowana tak¿e obs³uga ICQ.
 
 %prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{_snap}
 
 %build
 %{__libtoolize} --ltdl
@@ -49,8 +57,7 @@ Gadu-Gadu jak i Jabbera. Planowana tak
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-rm -rf docs/{CVS,.cvsignore}
-mv $RPM_BUILD_ROOT%{_bindir}/ekg{,2}
+rm -rf docs/{CVS,.cvsignore,Makefile*}
 mv README README-main
 
 %clean
@@ -58,9 +65,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog README-main docs/*
+%doc ChangeLog* NEWS* README-main docs/*
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/ekg
-%dir %{_libdir}/ekg/plugins
-%attr(755,root,root) %{_libdir}/ekg/plugins/*.so
+%dir %{_libdir}/ekg2
+%dir %{_libdir}/ekg2/plugins
+%attr(755,root,root) %{_libdir}/ekg2/plugins/*.so
 %{?_with_ioctl_daemon:%attr(4755,root,root) %{_libdir}/ioctld}
This page took 0.039962 seconds and 4 git commands to generate.