2013-07-08 07:27:43 +02:00
|
|
|
#
|
2013-07-22 17:20:19 +02:00
|
|
|
# spec file for package okteta
|
2013-07-08 07:27:43 +02:00
|
|
|
#
|
2014-01-27 11:19:08 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-07-08 07:27:43 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-07-22 17:20:19 +02:00
|
|
|
|
2013-07-08 07:27:43 +02:00
|
|
|
Name: okteta
|
|
|
|
BuildRequires: libkde4-devel
|
2014-05-07 06:55:28 +02:00
|
|
|
BuildRequires: libqca2-devel
|
2013-07-22 17:20:19 +02:00
|
|
|
Summary: Hex Editor
|
2013-07-08 07:27:43 +02:00
|
|
|
License: GPL-2.0 and GFDL-1.2
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
Url: http://www.kde.org/
|
2014-06-19 13:18:02 +02:00
|
|
|
Version: 4.13.2
|
2013-07-08 07:27:43 +02:00
|
|
|
Release: 0
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
|
|
|
|
|
|
|
%description
|
|
|
|
Okteta is a hex editor for the KDE desktop.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the Okteta Hex Editor
|
2013-07-22 17:20:19 +02:00
|
|
|
Group: Development/Tools/Other
|
2013-07-08 07:27:43 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Contains the development files for the Okteta Hex Editor
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc64
|
|
|
|
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc"
|
|
|
|
%endif
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
|
|
|
%cmake_kde4 -d build -- -DCMAKE_CXXFLAGS="$RPM_OPT_FLAGS" -DCMAKE_CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2014-05-07 06:55:28 +02:00
|
|
|
%kde4_makeinstall -C build
|
2013-07-08 07:27:43 +02:00
|
|
|
%suse_update_desktop_file okteta Utility Editor
|
|
|
|
%kde_post_install
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING COPYING.DOC README
|
|
|
|
%{_kde4_bindir}/okteta
|
|
|
|
%{_kde4_bindir}/struct2osd.sh
|
|
|
|
%{_kde4_appsdir}/oktetapart/
|
|
|
|
%{_kde4_modulesdir}/libkbytearrayedit.so
|
|
|
|
%{_kde4_modulesdir}/oktetapart.so
|
|
|
|
%{_kde4_modulesdir}/plugins/designer/oktetadesignerplugin.so
|
|
|
|
%{_kde4_libdir}/libkasten2*.so.*
|
|
|
|
%{_kde4_libdir}/libokteta1*.so.*
|
|
|
|
%{_kde4_htmldir}/en/okteta/
|
|
|
|
%{_kde4_iconsdir}/hicolor/*/apps/okteta.*
|
|
|
|
%{_kde4_appsdir}/okteta/
|
|
|
|
%{_kde4_configkcfgdir}/structviewpreferences.kcfg
|
|
|
|
%{_kde4_configdir}/okteta-structures.knsrc
|
|
|
|
%{_kde4_servicesdir}/kbytearrayedit.desktop
|
|
|
|
%{_kde4_servicesdir}/oktetapart.desktop
|
|
|
|
%{_datadir}/mime/packages/okteta.xml
|
|
|
|
%{_kde4_applicationsdir}/okteta.desktop
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/KDE/Kasten2/
|
|
|
|
%{_includedir}/KDE/Okteta1/
|
|
|
|
%{_includedir}/kasten2/
|
|
|
|
%{_includedir}/okteta1/
|
|
|
|
%{_kde4_libdir}/libkasten2*.so
|
|
|
|
%{_kde4_libdir}/libokteta1*.so
|
|
|
|
|
|
|
|
%changelog
|