|
|
|
|
@ -76,6 +76,8 @@ BuildRequires: update-desktop-files
|
|
|
|
|
BuildRequires: brp-check-trinity
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Obsoletes: %{name}-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
KXML Editor is a simple program, that displays and edits the contents of an
|
|
|
|
|
@ -87,21 +89,6 @@ contents.
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Summary: XML Editor for TDE (development files)
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development files for KXMLEditor.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{tde_libdir}/libkxmleditorpart.la
|
|
|
|
|
%{tde_libdir}/libkxmleditorpart.so
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
%if 0%{?suse_version} && 0%{?opensuse_bs} == 0
|
|
|
|
|
%debug_package
|
|
|
|
|
%endif
|
|
|
|
|
@ -145,11 +132,6 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
|
|
|
|
|
|
%find_lang %{tde_pkg}
|
|
|
|
|
|
|
|
|
|
# Updates applications categories for openSUSE
|
|
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1600
|
|
|
|
|
%suse_update_desktop_file -G "XML Editor" -r "%{tde_pkg}" Utility Editor
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
|
@ -166,6 +148,8 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
|
%{tde_datadir}/icons/hicolor/*/apps/kxmleditor.png
|
|
|
|
|
%{tde_datadir}/icons/locolor/*/apps/kxmleditor.png
|
|
|
|
|
%{tde_datadir}/services/kxmleditorpart.desktop
|
|
|
|
|
%{tde_libdir}/libkxmleditorpart.la
|
|
|
|
|
%{tde_libdir}/libkxmleditorpart.so
|
|
|
|
|
%{tde_mandir}/man1/kxmleditor.1*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|