From ea03329e00ec9359a9ef56598c0dea207dc26665 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:49:13 +0100 Subject: [PATCH] automatic version update by autodist [release 2.1.1-1mamba;Tue Apr 08 2014] --- README.md | 2 + libkgapi-2.0.2-qt-4.8.5.patch | 10 +++ libkgapi.spec | 112 ++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) create mode 100644 libkgapi-2.0.2-qt-4.8.5.patch create mode 100644 libkgapi.spec diff --git a/README.md b/README.md index e6dfdc0..c664de4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libkgapi +LibKGAPI is a KDE-based library for accessing various Google services via their public API. + diff --git a/libkgapi-2.0.2-qt-4.8.5.patch b/libkgapi-2.0.2-qt-4.8.5.patch new file mode 100644 index 0000000..90fa8e2 --- /dev/null +++ b/libkgapi-2.0.2-qt-4.8.5.patch @@ -0,0 +1,10 @@ +--- ./tests/objectscalendartests.cpp.orig 2013-12-16 13:06:02.134001300 +0100 ++++ ./tests/objectscalendartests.cpp 2013-12-16 13:05:33.368001300 +0100 +@@ -26,6 +26,8 @@ + using namespace KCalCore; + + Q_DECLARE_METATYPE(KCalCore::Alarm::Type); ++Q_DECLARE_METATYPE(KCalCore::Alarm::Ptr); ++Q_DECLARE_METATYPE(KCalCore::Duration); + Q_DECLARE_METATYPE(KCalCore::Incidence::Ptr); + Q_DECLARE_METATYPE(KGAPI::Objects::Reminder::List); diff --git a/libkgapi.spec b/libkgapi.spec new file mode 100644 index 0000000..e718e75 --- /dev/null +++ b/libkgapi.spec @@ -0,0 +1,112 @@ +Name: libkgapi +Version: 2.1.1 +Release: 1mamba +Summary: A KDE-based library for accessing various Google services via their public API +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.progdan.cz/2012/05/libkgoogle-libkgapi/ +Source: http://download.kde.org/stable/libkgapi/%{version}/src/libkgapi-%{version}.tar.bz2 +Patch0: libkgapi-2.0.2-qt-4.8.5.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: kdelibs-devel +BuildRequires: kdepimlibs-devel +BuildRequires: libgcc +BuildRequires: libqjson-devel +BuildRequires: libqt4-devel +BuildRequires: libsoprano-devel +BuildRequires: libstdc++6-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +LibKGAPI is a KDE-based library for accessing various Google services via their public API. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q +%patch0 -p1 + +%build +%cmake_kde4 -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +#%{_kde4_libdir}/libkgapi.so.* +%{_kde4_libdir}/libkgapi2.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +#%dir %{_kde4_includedir}/libkgapi +#%{_kde4_includedir}/libkgapi/*.h +#%dir %{_kde4_includedir}/libkgapi/objects +#%{_kde4_includedir}/libkgapi/objects/* +#%dir %{_kde4_includedir}/libkgapi/services +#%{_kde4_includedir}/libkgapi/services/*.h +#%dir %{_kde4_includedir}/libkgapi/ui +#%{_kde4_includedir}/libkgapi/ui/*.h +%dir %{_kde4_includedir}/libkgapi2 +%{_kde4_includedir}/libkgapi2/* +%dir %{_kde4_includedir}/LibKGAPI2 +%{_kde4_includedir}/LibKGAPI2/* +#%dir %{_kde4_libdir}/cmake/LibKGAPI +#%{_kde4_libdir}/cmake/LibKGAPI/*.cmake +%dir %{_kde4_libdir}/cmake/LibKGAPI2 +%{_kde4_libdir}/cmake/LibKGAPI2/*.cmake +#%{_kde4_libdir}/libkgapi.so +%{_kde4_libdir}/libkgapi2.so +#%{_kde4_libdir}/pkgconfig/libkgapi.pc +#%{_kde4_libdir}/pkgconfig/libkgapi2.pc + +%changelog +* Tue Apr 08 2014 Automatic Build System 2.1.1-1mamba +- automatic version update by autodist + +* Fri Mar 07 2014 Silvan Calarco 2.1.0-1mamba +- update to 2.1.0 + +* Sun Dec 08 2013 Silvan Calarco 2.0.2-1mamba +- update to 2.0.2 + +* Mon Jun 03 2013 Automatic Build System 2.0.1-1mamba +- automatic version update by autodist + +* Thu May 23 2013 Automatic Build System 2.0.0-1mamba +- automatic version update by autodist + +* Wed Dec 26 2012 Automatic Build System 0.4.4-1mamba +- update to 0.4.4 + +* Sat Dec 01 2012 Automatic Build System 0.4.3-1mamba +- update to 0.4.3 + +* Fri Aug 10 2012 Silvan Calarco 0.4.1-1mamba +- package created by autospec