[libzeitgeist/f14/master] Initial import (#674188).

Renich Bon Ciric renich at fedoraproject.org
Wed Apr 6 20:15:51 UTC 2011


commit 05720cb278cf3fc810a4d8202a36e2226f836b63
Author: Renich Bon Ciric <renich at woralelandia.com>
Date:   Wed Apr 6 15:15:52 2011 -0500

    Initial import (#674188).

 .gitignore        |    1 +
 01-log.patch      |   11 ++++
 libzeitgeist.spec |  133 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 4 files changed, 146 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e7f1e79 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libzeitgeist-0.3.6.tar.gz
diff --git a/01-log.patch b/01-log.patch
new file mode 100644
index 0000000..b441a33
--- /dev/null
+++ b/01-log.patch
@@ -0,0 +1,11 @@
+--- libzeitgeist-0.3.6/src/zeitgeist-log.c.debug	2011-03-07 23:25:43.000000000 +0900
++++ libzeitgeist-0.3.6/src/zeitgeist-log.c	2011-03-23 01:32:50.000000000 +0900
+@@ -1048,7 +1048,7 @@
+   self = ZEITGEIST_LOG (user_data);
+   priv = ZEITGEIST_LOG_GET_PRIVATE (self);
+ 
+-  g_object_unref (priv->log);
++  if (priv->log) g_object_unref (priv->log);
+   priv->log = NULL;
+ 
+   g_object_notify (G_OBJECT (self), "connected");
diff --git a/libzeitgeist.spec b/libzeitgeist.spec
new file mode 100644
index 0000000..497f439
--- /dev/null
+++ b/libzeitgeist.spec
@@ -0,0 +1,133 @@
+Name:           libzeitgeist
+Version:        0.3.6
+Release:        4%{?dist}
+Summary:        Client library for applications that want to interact with the Zeitgeist daemon
+
+Group:          System Environment/Libraries
+License:        LGPLv3 and GPLv3
+URL:            https://launchpad.net/libzeitgeist
+Source0:        http://launchpad.net/%{name}/0.3/%{version}/+download/%{name}-%{version}.tar.gz
+Patch0:         01-log.patch
+
+BuildRequires:  glib2-devel%{?_isa} gtk-doc
+# zeitgeist is just a runtime and the reason to install libzeitgeist
+Requires:       zeitgeist
+
+%description
+This project provides a client library for applications that want to interact
+with the Zeitgeist daemon. The library is written in C using glib and provides
+an asynchronous GObject oriented API.
+
+%package        devel
+Summary:        Development files for %{name}%{?_isa}
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .log
+
+
+%build
+%configure --disable-static
+make V=1 %{?_smp_mflags}
+
+
+%check
+make check
+
+
+%install
+make install DESTDIR=%{buildroot} INSTALL="install -p"
+install -d -p -m 755 %{buildroot}%{_datadir}/vala/vapi
+install -D -p -m 644 bindings/zeitgeist-1.0.{vapi,deps} %{buildroot}%{_datadir}/vala/vapi
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+# remove duplicate documentation
+rm -fr %{buildroot}%{_defaultdocdir}/%{name}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+
+# documentation
+%doc COPYING COPYING.GPL README
+
+# essential
+%{_libdir}/*.so.*
+
+
+%files devel
+%defattr(-,root,root,-)
+
+# Documentation
+%doc AUTHORS ChangeLog COPYING COPYING.GPL MAINTAINERS NEWS 
+%doc examples/*.vala examples/*.c
+%{_datadir}/gtk-doc/html/zeitgeist-1.0/
+
+# essential
+%{_includedir}/zeitgeist-1.0/
+%{_libdir}/pkgconfig/zeitgeist-1.0.pc
+%{_libdir}/*.so
+
+# extra
+%{_datadir}/vala/vapi/
+
+
+%changelog
+* Sat Apr 02 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.6-4
+- Added -p to install statements (forgot some)
+- Moved README to the main package from devel
+
+* Fri Mar 25 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.6-3
+- Removed Rubys geo2 dependency since is not needed; it's provided by glibc-devel
+
+* Thu Mar 24 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.6-2
+- Log test failure repaired by patch from Mamoru Tasaka
+
+* Mon Mar 21 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.6-1
+- Updated to 0.3.6
+- Implemented the isa macro for the devel subpackage.
+- Eliminated the doc macro from gtk-doc since it gets marked automatically
+
+* Sat Mar 12 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.4-3
+- Removed mistaken isa macro from zeitgeist require
+
+* Thu Mar 10 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.4-2
+- Cleaned up old stuff (BuildRoot, Clean and stuff of sorts)
+    https://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
+    https://fedoraproject.org/wiki/Packaging/Guidelines#.25clean
+- Added glib2-devel and gtk-doc as a BuildRequires
+- Added GPLv3 since it covers the documentation examples
+- Updated Requires to use the new arch specification macro when accordingly
+    https://fedoraproject.org/wiki/Packaging/Guidelines#Requires
+- Configured install to preserve timestamps
+- Added V=1 to the make flags for more verbosity on build
+- Added a check section
+- Removed disable-module from configure statement since it's not needed anymore: 
+    https://bugs.launchpad.net/libzeitgeist/+bug/683805
+
+* Thu Feb 24 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.4-1
+- updated to latest version
+
+* Sun Feb 06 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.2-3
+- got rid of INSTALL from docs
+- got rid ot dorcdir and used doc to include html docs
+
+* Sat Feb 05 2011 Renich Bon Ciric <renich at woralelandia.com> - 0.3.2-2
+- removed duplicate documentation
+- added the use of macros for everything; including source and build dir.
+- revised path syntax
+
+* Thu Jan 27 2011 - Renich Bon Ciric <renich at woralelandia.com> - 0.3.2-1
+- First buildName:           libzeitgeist
diff --git a/sources b/sources
index e69de29..085d817 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b765bacf340578aa7ce11f830c69b881  libzeitgeist-0.3.6.tar.gz


More information about the scm-commits mailing list