[pino] Update to hg be004975c0e8
Chen Lei
supercyper at fedoraproject.org
Fri Sep 17 07:54:50 UTC 2010
commit 00f9e466aa2ab956e6f73bb7a78f7420203706a6
Author: Chen Lei <supercyper at 163.com>
Date: Fri Sep 17 15:53:48 2010 +0800
Update to hg be004975c0e8
.gitignore | 1 +
pino.spec | 41 +++++++++++++++++++++++++++--------------
sources | 1 +
3 files changed, 29 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0435628..2bdd2af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
pino-0.2.11.tar.bz2
+/pino3-be004975c0e8.tar.bz2
diff --git a/pino.spec b/pino.spec
index 3ad89da..435eb00 100644
--- a/pino.spec
+++ b/pino.spec
@@ -1,15 +1,21 @@
+%global hghash be004975c0e8
+%global hgdate 20100915
+
Name: pino
-Version: 0.2.11
-Release: 1%{?dist}
+Version: 0.3
+Release: 0.1.%{?hgdate}hg%{?dist}
Summary: A fast, easy and free Twitter and identi.ca client
Group: Applications/Internet
License: LGPLv3+
-URL: http://code.google.com/p/pino-twitter/
-Source0: http://pino-twitter.googlecode.com/files/%{name}-%{version}.tar.bz2
-
-BuildRequires: cmake vala intltool gettext desktop-file-utils
+URL: http://pino-app.appspot.com/
+#Source0: http://pino-twitter.googlecode.com/files/%{name}-%{version}.tar.bz2
+# The source is generated from the hg snapshot using the following command
+# hg clone http://bitbucket.org/troorl/pino3
+# hg archive -t tbz2 -r %{hghash} pino3-%{hghash}.tar.bz2
+Source0: pino3-%{hghash}.tar.bz2
+BuildRequires: cmake vala gettext desktop-file-utils
BuildRequires: libgee-devel libnotify-devel libsoup-devel libxml2-devel
-BuildRequires: webkitgtk-devel unique-devel gtkspell-devel
+BuildRequires: webkitgtk-devel unique-devel gtkspell-devel rest-devel
Requires: hicolor-icon-theme
%description
@@ -17,11 +23,18 @@ Pino is Twitter and identic.ca client for Linux desktop. It's simple and fast.
Pino is written in Vala language and compiled to the native binary code.
%prep
-%setup -q -n %{name}-0.2.10
+%setup -q -n pino3-%{hghash}
+
+grep -q 'StartupNotify' %{name}.desktop || \
+ echo 'StartupNotify=true' >> %{name}.desktop
%build
-# fix DSOLinking
-sed -i '/link_libraries/a \ \ m' CMakeLists.txt
+# We need to do this so pino can link against rest-0.7
+if [ -f %{_libdir}/pkgconfig/rest-0.7.pc ]; then
+ ln -s %{_libdir}/pkgconfig/rest-0.7.pc rest-0.6.pc
+ ln -s %{_libdir}/pkgconfig/rest-extras-0.7.pc rest-extras-0.6.pc
+ export PKG_CONFIG_PATH=%{_builddir}/pino3-%{hghash}
+fi
%{cmake} -DUBUNTU_ICONS=OFF -DENABLE_DEBUG=OFF .
make %{?_smp_mflags}
@@ -35,11 +48,8 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
# Remove indicator file before we package the whole indicator stack from ubuntu
rm -rf $RPM_BUILD_ROOT%{_datadir}/indicators
-%find_lang %{name}
-
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
-# Each package for F-12 and below (or EPEL) MUST have a %%clean section
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,7 +65,7 @@ fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-%files -f %{name}.lang
+%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%{_bindir}/%{name}
@@ -64,6 +74,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/%{name}
%changelog
+* Wed Sep 15 2010 Chen Lei <supercyper at 163.com> - 0.3-0.1.20100915hg
+- Update to 0.3 snapshot
+
* Wed Jul 07 2010 Chen Lei <supercyper at 163.com> - 0.2.11-1
- Update to 0.2.11
diff --git a/sources b/sources
index dabfb38..3c51832 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
301c1443e5fab366b8e43b691a2db28f pino-0.2.11.tar.bz2
+af56bee7737635aee6929685169c16ee pino3-be004975c0e8.tar.bz2
More information about the scm-commits
mailing list