Projects
Eulaceura:Mainline
okteta
_service:obs_scm:okteta.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:okteta.spec of Package okteta
%undefine __cmake_in_source_build Name: okteta Summary: Binary/hex editor Version: 0.26.15 Release: 1 License: GPLv2+ and GFDL-1.2-only URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/okteta/%{version}/src/%{name}-%{version}.tar.xz Patch0: okteta-gcc11.patch BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: gettext BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: kf5-kcrash-devel BuildRequires: kf5-kbookmarks-devel BuildRequires: kf5-kcodecs-devel BuildRequires: kf5-kcompletion-devel BuildRequires: kf5-kconfigwidgets-devel BuildRequires: kf5-kdbusaddons-devel BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-ki18n-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-kcmutils-devel BuildRequires: kf5-kio-devel BuildRequires: kf5-knewstuff-devel BuildRequires: kf5-kparts-devel BuildRequires: kf5-kservice-devel BuildRequires: kf5-kwidgetsaddons-devel BuildRequires: kf5-kxmlgui-devel BuildRequires: pkgconfig(qca2-qt5) BuildRequires: pkgconfig(Qt5Designer) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5ScriptTools) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) # translations moved here Conflicts: kde-l10n < 17.03 Conflicts: kdesdk-common < 4.10.80 Obsoletes: kdesdk-okteta < 4.10.80 Provides: kdesdk-okteta = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release} # struct2osd.sh deps %if 0%{?fedora} > 20 || 0%{?rhel} > 7 Recommends: castxml libxslt %else Requires: castxml libxslt %endif %description Okteta is a binary/hex editor for KDE %package libs Summary: Runtime libraries and kpart plugins for %{name} Obsoletes: kdesdk-okteta-libs < 4.10.80 Provides: kdesdk-okteta-libs = %{version}-%{release} Provides: okteta5-part = %{version}-%{release} Provides: okteta5-part%{?_isa} = %{version}-%{release} %description libs %{summary}. %package devel Summary: Developer files for %{name} Obsoletes: kdesdk-okteta-devel < 4.10.80 Provides: kdesdk-okteta-devel = %{version}-%{release} Provides: okteta5-devel = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %autosetup -p1 %build mkdir build pushd build %cmake_kf5 .. %make_build popd %install cp README.md README cp LICENSES/GFDL-1.2-or-later.txt COPYING.DOC pushd build %make_install popd %find_lang %{name} --all-name --with-html %check appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.okteta.appdata.xml ||: desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.okteta.desktop %files -f %{name}.lang %doc README %license COPYING* %{_bindir}/okteta %{_bindir}/struct2osd %{_datadir}/mime/packages/okteta.xml %{_kf5_metainfodir}/org.kde.okteta.appdata.xml %{_kf5_datadir}/knsrcfiles/okteta-structures.knsrc %{_datadir}/applications/org.kde.okteta.desktop #{_datadir}/kxmlgui5/okteta/ %{_datadir}/icons/hicolor/*/apps/okteta.* %ldconfig_scriptlets libs %files libs %dir %{_datadir}/okteta/ %{_datadir}/okteta/structures/ %{_datadir}/config.kcfg/structureviewpreferences.kcfg %{_libdir}/libKasten4*.so.* %{_libdir}/libOkteta3*.so.* %{_qt5_plugindir}/designer/oktetawidgets.so # part %{_kf5_plugindir}/parts/oktetapart.so %{_kf5_datadir}/kservices5/oktetapart.desktop %files devel %{_includedir}/Okteta*/ %{_includedir}/Kasten*/ %{_libdir}/libKasten4*.so %{_libdir}/libOkteta3*.so %{_libdir}/cmake/KastenControllers/ %{_libdir}/cmake/KastenCore/ %{_libdir}/cmake/KastenGui/ %{_libdir}/cmake/OktetaCore/ %{_libdir}/cmake/OktetaGui/ %{_libdir}/cmake/OktetaKastenControllers/ %{_libdir}/cmake/OktetaKastenCore/ %{_libdir}/cmake/OktetaKastenGui/ %{_libdir}/pkgconfig/Okteta*.pc %{_qt5_archdatadir}/mkspecs/modules/qt_Okteta*.pri %changelog * Mon Jan 08 2024 zhangxianting <zhangxianting@unintech.com> - 0.26.15-1 - update to upstream version 0.26.15 * Tue Sep 06 2022 liweiganga <liweiganga@uniontech.com> - 0.26.4-1 - init package
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2