summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-07-21 06:38:24 +0000
committerCoprDistGit <infra@openeuler.org>2023-07-21 06:38:24 +0000
commitff950aca235deb1c972a0e688fb173a72f25aaaf (patch)
tree7b66863a125e0ab5d57c7f12be7cd9739214392b
parenta3b646d884fae9f01cd183849a752e7f9d5678ba (diff)
automatic import of kdialogopeneuler23.03
-rw-r--r--.gitignore1
-rw-r--r--kdialog.spec65
-rw-r--r--sources1
3 files changed, 67 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6d3848f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kdialog-22.08.0.tar.xz
diff --git a/kdialog.spec b/kdialog.spec
new file mode 100644
index 0000000..091c5d4
--- /dev/null
+++ b/kdialog.spec
@@ -0,0 +1,65 @@
+Name: kdialog
+Summary: Nice dialog boxes from shell scripts
+Version: 22.08.0
+Release: 1
+
+License: GPLv2+ and GFDL
+URL: https://www.kde.org/
+
+%global revision %(echo %{version} | cut -d. -f3)
+
+%if %{revision} >= 50
+%global stable unstable
+%else
+%global stable stable
+%endif
+
+Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz
+
+BuildRequires: desktop-file-utils
+
+BuildRequires: extra-cmake-modules
+BuildRequires: kf5-rpm-macros
+BuildRequires: cmake(KF5KDELibs4Support)
+BuildRequires: cmake(KF5DBusAddons)
+
+BuildRequires: cmake(Qt5Core)
+BuildRequires: cmake(Qt5DBus)
+BuildRequires: cmake(Qt5Widgets)
+
+Conflicts: kde-l10n < 17.03
+
+%description
+KDialog can be used to show nice dialog boxes from shell scripts.
+
+
+%prep
+%autosetup -p1
+
+
+%build
+mkdir %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kf5} ..
+popd
+%make_build -C %{_target_platform}
+
+
+%install
+make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
+
+%find_lang %{name} --with-html --with-man
+
+
+%files -f %{name}.lang
+%license COPYING*
+%doc README
+%{_kf5_bindir}/kdialog
+%{_kf5_bindir}/kdialog_progress_helper
+%{_kf5_datadir}/dbus-1/interfaces/org.kde.kdialog.ProgressDialog.xml
+%{_kf5_metainfodir}/org.kde.kdialog.metainfo.xml
+
+
+%changelog
+* Mon Dec 19 2022 misaka00251 <liuxin@iscas.ac.cn> - 22.08.0-1
+- Init package
diff --git a/sources b/sources
new file mode 100644
index 0000000..8642589
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+7e20711d3f89edc0e8f941c06634c4ce kdialog-22.08.0.tar.xz