[kf5-ktexteditor] Import package (kf5-ktexteditor-4.100.0-3)

Daniel Vrátil dvratil at fedoraproject.org
Wed Jul 2 14:27:39 UTC 2014


commit 2ae4aa08584d5c356458b59d00ae5f1ec1833eb4
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Wed Jul 2 16:27:42 2014 +0200

    Import package (kf5-ktexteditor-4.100.0-3)

 .gitignore           |    1 +
 kf5-ktexteditor.spec |  113 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 115 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a4d5e01 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ktexteditor-4.100.0.tar.xz
diff --git a/kf5-ktexteditor.spec b/kf5-ktexteditor.spec
new file mode 100644
index 0000000..152b05e
--- /dev/null
+++ b/kf5-ktexteditor.spec
@@ -0,0 +1,113 @@
+%define framework ktexteditor
+
+Name:           kf5-%{framework}
+Version:        4.100.0
+Release:        3%{?_dist}
+Summary:        KDE Frameworks 5 Tier 3 with advanced embeddable text editor
+
+License:        LGPLv2+
+URL:            http://www.kde.org
+# git archive --format=tar --prefix=%{framework}-%{version}/ \
+#             --remote=git://anongit.kde.org/%{framework}.git master | \
+# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2
+# Source0:        http://download.kde.org/unstable/frameworks/%{version}/%{framework}-%{version}.tar.xz
+
+Source0:        http://download.kde.org/unstable/frameworks/%{version}/%{framework}-%{version}.tar.xz
+
+# Upstream patch
+Patch0:         ktexteditor-move-katepart-into-kf5-parts-sudir-of-plugin-dir.patch
+
+BuildRequires:  kf5-rpm-macros
+BuildRequires:  extra-cmake-modules
+BuildRequires:  qt5-qtbase-devel
+BuildRequires:  qt5-qtscript-devel
+
+BuildRequires:  kf5-karchive-devel
+BuildRequires:  kf5-kconfig-devel
+BuildRequires:  kf5-kguiaddons-devel
+BuildRequires:  kf5-ki18n-devel
+BuildRequires:  kf5-kio-devel
+BuildRequires:  kf5-kparts-devel
+BuildRequires:  kf5-sonnet-devel
+
+Requires:       kf5-filesystem
+
+%description
+KTextEditor provides a powerful text editor component that you can embed in your
+application, either as a KPart or using the KF5::TextEditor library (if you need
+more control).
+
+The text editor component contains many useful features, from syntax
+highlighting and automatic indentation to advanced scripting support, making it
+suitable for everything from a simple embedded text-file editor to an advanced
+IDE.
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       kf5-kparts-devel
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q -n %{framework}-%{version}
+
+%patch0 -p1 -b .katepartInstallDir
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake_kf5} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+%make_install -C %{_target_platform}
+%find_lang ktexteditor5_qt --with-qt --all-name
+
+%post
+/sbin/ldconfig
+/usr/bin/update-desktop-database &> /dev/null || :
+
+%postun
+/sbin/ldconfig
+/usr/bin/update-desktop-database &> /dev/null || :
+
+
+%files -f ktexteditor5_qt.lang
+%doc COPYING.LIB README.md
+%config %{_sysconfdir}/xdg/kate*
+%{_kf5_libdir}/libKF5TextEditor.so.*
+%{_kf5_plugindir}/parts/katepart.so
+%{_kf5_datadir}/kservices5/katepart.desktop
+%{_kf5_datadir}/kservicetypes5/*.desktop
+%{_kf5_datadir}/katepart5/script/
+%{_kf5_datadir}/katepart5/syntax/
+%{_kf5_datadir}/katepart/katepart5ui.rc
+
+%files devel
+%{_kf5_libdir}/libKF5TextEditor.so
+%{_kf5_libdir}/cmake/KF5TextEditor
+%{_kf5_includedir}/ktexteditor_version.h
+%{_kf5_includedir}/KTextEditor
+%{_kf5_archdatadir}/mkspecs/modules/qt_KTextEditor.pri
+
+
+%changelog
+* Tue Jul 01 2014 Daniel Vrátil <dvratil at redhat.com> - 4.100.0-3
+- Add %%config and call to update-desktop-database
+
+* Sun Jun 29 2014 Daniel Vrátil <dvratil at redhat.com> - 4.100.0-2
+- Import upstream patch to fix installation destination of katepart.so
+
+* Tue Jun 03 2014 Daniel Vrátil <dvratil at redhat.com> - 4.100.0-1
+- KDE Frameworks 4.100.0
+
+* Wed May 14 2014 Daniel Vrátil <dvratil at redhat.com> - 4.99.0-1
+- KDE Frameworks 4.99.0
+
+* Fri May 02 2014 Jan Grulich <jgrulich at redhat.com> - 5.0.90-1
+- initial version
diff --git a/sources b/sources
index e69de29..e617abf 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ea3f44d4cc3b6929a1987049f4fe9329  ktexteditor-4.100.0.tar.xz


More information about the scm-commits mailing list