summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-21 06:37:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-21 06:37:14 +0000
commitd2697c5a5ef2f5a3a25692e00cf19d0d2f221006 (patch)
treef84063e9409e248e9312d2a5a6e8d9a731e0081d
parent6f7e26366897e608eccf7119857ec02e4d97c0d1 (diff)
automatic import of akregatoropeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--akregator.spec141
-rw-r--r--sources1
3 files changed, 143 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5dfad55 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/akregator-22.08.0.tar.xz
diff --git a/akregator.spec b/akregator.spec
new file mode 100644
index 0000000..c256044
--- /dev/null
+++ b/akregator.spec
@@ -0,0 +1,141 @@
+%global majmin_ver %(echo %{version} | cut -d. -f1,2)
+%global stable stable
+# uncomment to enable bootstrap mode
+#global bootstrap 1
+
+%if !0%{?bootstrap}
+%global tests 1
+%endif
+
+%global framework %{name}
+
+Name: akregator
+Summary: Feed Reader
+Version: 22.08.0
+Release: 1
+
+License: GPLv2 and GFDL-1.3-or-later
+URL: https://www.kde.org/applications/internet/akregator/
+
+Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
+
+%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
+
+BuildRequires: boost-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: libappstream-glib
+BuildRequires: perl-generators
+
+BuildRequires: cmake(Qt5PrintSupport)
+BuildRequires: cmake(Qt5Test)
+BuildRequires: cmake(Qt5WebEngine)
+BuildRequires: cmake(Qt5WebEngineWidgets)
+BuildRequires: cmake(Qt5Widgets)
+
+BuildRequires: cmake(Grantlee5)
+
+BuildRequires: extra-cmake-modules
+BuildRequires: kf5-rpm-macros
+BuildRequires: cmake(KF5Crash)
+BuildRequires: cmake(KF5DocTools)
+BuildRequires: cmake(KF5IconThemes)
+BuildRequires: cmake(KF5KCMUtils)
+BuildRequires: cmake(KF5Notifications)
+BuildRequires: cmake(KF5NotifyConfig)
+BuildRequires: cmake(KF5Parts)
+BuildRequires: cmake(KF5TextEditor)
+BuildRequires: cmake(KF5WindowSystem)
+BuildRequires: cmake(KF5XmlGui)
+
+BuildRequires: kf5-akonadi-mime-devel >= %{majmin_ver}
+BuildRequires: kf5-grantleetheme-devel >= %{majmin_ver}
+BuildRequires: kf5-kontactinterface-devel >= %{majmin_ver}
+BuildRequires: kf5-kpimtextedit-devel >= %{majmin_ver}
+BuildRequires: kf5-libkdepim-devel >= %{majmin_ver}
+BuildRequires: kf5-libkleo-devel >= %{majmin_ver}
+BuildRequires: kf5-messagelib-devel >= %{majmin_ver}
+BuildRequires: kf5-pimcommon-devel >= %{majmin_ver}
+BuildRequires: kf5-syndication-devel
+BuildRequires: make
+
+%if 0%{?tests}
+BuildRequires: dbus-x11
+BuildRequires: xorg-x11-server-Xvfb
+%endif
+
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description
+Akregator is a news feed reader. It enables you to follow news sites,
+blogs and other RSS/Atom-enabled websites without the need to manually
+check for updates using a web browser.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description libs
+%{summary}.
+
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+
+%build
+mkdir %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kf5} .. \
+ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
+popd
+%make_build -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang %{name} --all-name --with-html
+
+rm -fv %{buildroot}%{_kf5_libdir}/libakregatorinterfaces.so
+
+
+%check
+desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop
+appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml
+%if 0%{?tests}
+export CTEST_OUTPUT_ON_FAILURE=1
+xvfb-run -a \
+dbus-launch --exit-with-session \
+make test ARGS="--output-on-failure --timeout 20" -C %{_target_platform} ||:
+%endif
+
+
+%files -f %{name}.lang
+%license LICENSES/*
+%{_datadir}/dbus-1/interfaces/org.kde.akregator.part.xml
+%{_kf5_bindir}/akregator
+%{_kf5_bindir}/akregatorstorageexporter
+%{_kf5_datadir}/akregator/
+%{_kf5_datadir}/applications/org.kde.akregator.desktop
+%{_kf5_datadir}/config.kcfg/akregator.kcfg
+%{_kf5_datadir}/icons/hicolor/*/apps/akregator.*
+%{_kf5_datadir}/icons/hicolor/*/apps/akregator_empty.png
+%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
+%{_kf5_metainfodir}/org.kde.akregator.appdata.xml
+%{_kf5_datadir}/knotifications5/akregator.notifyrc
+
+%ldconfig_scriptlets libs
+
+%files libs
+%{_kf5_libdir}/libakregatorinterfaces.so.*
+%{_kf5_libdir}/libakregatorprivate.so.*
+%{_kf5_qtplugindir}/akregatorpart.so
+%dir %{_kf5_qtplugindir}/pim5/kontact/
+%{_kf5_qtplugindir}/pim5/kontact/kontact_akregatorplugin.so
+%{_kf5_qtplugindir}/pim5/kcms/akregator/
+
+
+%changelog
+* Tue Dec 20 2022 misaka00251 <liuxin@iscas.ac.cn> - 22.08.0-1
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..85cd38d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2e4c442934076a2c7cea7aa6e79e4b76 akregator-22.08.0.tar.xz