From 27f62aa88b266770612dfed6e9199676c11b3127 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:49:43 +0100 Subject: [PATCH] automatic version update by autodist [release 0.4.2-1mamba;Thu Jun 13 2013] --- README.md | 3 + libattica-0.2.0-qt_include_prefix.patch | 30 ++++++++ libattica.spec | 95 +++++++++++++++++++++++++ 3 files changed, 128 insertions(+) create mode 100644 libattica-0.2.0-qt_include_prefix.patch create mode 100644 libattica.spec diff --git a/README.md b/README.md index 520c0de..f5f40da 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libattica +Attica is a Qt library that implements the Open Collaboration Services API version 1.4. +It grants easy access to the services such as querying information about persons and contents. + diff --git a/libattica-0.2.0-qt_include_prefix.patch b/libattica-0.2.0-qt_include_prefix.patch new file mode 100644 index 0000000..89cd590 --- /dev/null +++ b/libattica-0.2.0-qt_include_prefix.patch @@ -0,0 +1,30 @@ +diff -Nru attica-0.2.0.orig//lib/cmake/libattica.pc.cmake attica-0.2.0/lib/cmake/libattica.pc.cmake +--- attica-0.2.0.orig//lib/cmake/libattica.pc.cmake 2010-10-15 17:33:39.000000000 +0200 ++++ attica-0.2.0/lib/cmake/libattica.pc.cmake 2011-03-11 16:37:14.395893070 +0100 +@@ -1,12 +1,12 @@ + prefix=${CMAKE_INSTALL_PREFIX} + exec_prefix=${CMAKE_INSTALL_PREFIX}/bin + libdir=${LIB_DESTINATION} +-includedir=${CMAKE_INSTALL_PREFIX}/include ++includedir=${CMAKE_INSTALL_PREFIX}/include/qt4 + + Name: libattica + Description: Qt library to access Open Collaboration Services + #Requires: + Version: ${CMAKE_LIBATTICA_VERSION_MAJOR}.${CMAKE_LIBATTICA_VERSION_MINOR}.${CMAKE_LIBATTICA_VERSION_PATCH} + Libs: -L${LIB_DESTINATION} -lattica +-Cflags: -I${CMAKE_INSTALL_PREFIX}/include ++Cflags: -I${CMAKE_INSTALL_PREFIX}/include/qt4 + +diff -Nru attica-0.2.0.orig//lib/CMakeLists.txt attica-0.2.0/lib/CMakeLists.txt +--- attica-0.2.0.orig//lib/CMakeLists.txt 2010-10-15 17:33:39.000000000 +0200 ++++ attica-0.2.0/lib/CMakeLists.txt 2011-03-11 16:36:43.186817819 +0100 +@@ -118,7 +118,7 @@ + providermanager.h + provider.h + ${CMAKE_CURRENT_BINARY_DIR}/version.h +- DESTINATION include/attica COMPONENT Devel ++ DESTINATION include/qt4/attica COMPONENT Devel + ) + + # Install package config file diff --git a/libattica.spec b/libattica.spec new file mode 100644 index 0000000..858a71a --- /dev/null +++ b/libattica.spec @@ -0,0 +1,95 @@ +Name: libattica +Version: 0.4.2 +Release: 1mamba +Summary: A Qt library to access Open Collaboration Service providers +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.kde.org +Source: http://download.kde.org/stable/attica/attica-%{version}.tar.bz2 +Patch0: %{name}-0.2.0-qt_include_prefix.patch +License: LGPL +BuildRequires: cmake +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Attica is a Qt library that implements the Open Collaboration Services API version 1.4. +It grants easy access to the services such as querying information about persons and contents. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Attica is a Qt library that implements the Open Collaboration Services API version 1.4. +It grants easy access to the services such as querying information about persons and contents. +This package contains static libraries and header files needed for development. + +%debug_package + +%prep +%setup -q -n attica-%{version} +%define _default_patch_fuzz 2 +%patch0 -p1 + +%build +%cmake -d build \ + -DQT4_BUILD=1 + +%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) +%{_libdir}/libattica.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/qt4/attica +%{_includedir}/qt4/attica/*.h +%{_libdir}/libattica.so +%{_libdir}/pkgconfig/libattica.pc +%doc ChangeLog README + +%changelog +* Thu Jun 13 2013 Automatic Build System 0.4.2-1mamba +- automatic version update by autodist + +* Mon Aug 20 2012 Automatic Build System 0.4.1-1mamba +- automatic version update by autodist + +* Tue Aug 07 2012 Automatic Build System 0.4.0-1mamba +- automatic version update by autodist + +* Mon Nov 21 2011 Automatic Build System 0.2.9-1mamba +- automatic version update by autodist + +* Fri Mar 11 2011 Silvan Calarco 0.2.0-2mamba +- install headers under /usr/include/qt4 to fix kdebindings 4.6.1 build + +* Fri Oct 29 2010 Automatic Build System 0.2.0-1mamba +- automatic update by autodist + +* Sat Jun 05 2010 Automatic Build System 0.1.4-1mamba +- automatic update by autodist + +* Sun Jan 17 2010 Davide Madrisan 0.1.2-1mamba +- package created by autospec