#%%global git_commit f18d699 Name: libkgapi Version: 0.4.0 #Release: 1.20120530git%%{git_commit}%%{?dist} Release: 3%{?dist} Summary: Library to access to Google services Group: Development/Libraries License: GPLv2+ #URL: http://projects.kde.org/libkgoogle URL: http://www.progdan.cz/2012/05/libkgoogle-libkgapi # Package from git snapshots, create example: # git clone git://anongit.kde.org/libkgoogle # cd libkgoogle # git archive \\ # --format=tar.gz \\ # --prefix=libkgoogle/ \\ # -o ../libkgoogle-0.3.1-git754771b.tar.gz \\ # master #Source0: %%{name}-%%{version}-git%%{git_commit}.tar.gz Source0: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2 BuildRequires: kdepimlibs-devel BuildRequires: kdelibs4-devel BuildRequires: qjson-devel Obsoletes: libkgoogle < 0.3.2 Provides: libkgoogle = %{version}-%{release} %{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} } %description Library to access to Google services, this package is needed by kdepim-runtime to build akonadi-google resources. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Obsoletes: libkgoogle-devel < 0.3.2 Provides: libkgoogle-devel = %{version}-%{release} %description devel Libraries and header files for developing applications that use akonadi-google resources. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README CHANGELOG LICENSE %{_libdir}/libkgapi.so.0* %files devel %{_kde4_includedir}/libkgapi/ %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_libdir}/cmake/LibKGAPI/ %changelog * Thu Jun 07 2012 Mario Santagiuliana 0.4.0-3 - Update spec file following Gregor Tätzner request: https://bugzilla.redhat.com/show_bug.cgi?id=817622#c8 * Thu May 31 2012 Mario Santagiuliana 0.4.0-2 - Update spec file following Rex Dieter and Kevin Kofler suggestion - Add obsolete and provide for devel subpkg * Thu May 31 2012 Mario Santagiuliana 0.4.0-1 - Update to new version 0.4.0 - Update to new licence GPLv2+ - Update to new name libkgapi - Add obsolete and provide libkgoogle * Wed May 30 2012 Mario Santagiuliana 0.3.2-1.20120530gitf18d699 - Update spec comment to new git repository - Update to new version 0.3.2 - Snapshot f18d699d9ef7ceceff06c2bb72fc00f34811c503 * Mon Apr 30 2012 Mario Santagiuliana 0.3.1-1.20120430gitefb3215 - Rename package from akonadi-google to libkgoogle - Update spec file - Snapshot efb32159c283168cc2ab1a39e6fa3c8a30fbc941 * Mon Apr 30 2012 Mario Santagiuliana 0.3.1-1 - New version 0.3.1 * Thu Apr 01 2012 Mario Santagiuliana 0.3-1.20120402git3e0a93e - New version 0.3 - Update to git snapshot 3e0a93e1b24cd7b6e394cf76d153c428246f9fa9 - Obsolete akonadi-google-tasks - Fix error in changelog * Thu Mar 01 2012 Mario Santagiuliana 0.2-12.20120301git41cd7c5 - Update to git snapshot 41cd7c5d6e9cfb62875fd21f8a920a235b7a7d9c * Wed Jan 20 2012 Mario Santagiuliana 0.2-11.20120121gitbe021c6 - Update to git snapshot be021c6f12e6804976dcac203a1864686a219c26 * Wed Jan 20 2012 Mario Santagiuliana 0.2-10.20120120git11bf6ad - Update spec file follow comment 1: https://bugzilla.redhat.com/show_bug.cgi?id=783317#c1 - Update to git snapshot 11bf6ad40dd93eda1f880a99d592009ea3ff47ac - Include LICENSE * Thu Jan 19 2012 Mario Santagiuliana 0.2-9.20120119git754771b - Create spec file for Fedora Review - Source package create from git snapshot 754771b6081b194aedf750fac76a9af2709a5de3 * Wed Nov 16 2011 Dan Vratil 0.2-8.1 - Initial SPEC