Autobuild autoformatter for 79593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kate?expand=0&rev=6
This commit is contained in:
parent
36b5ee1b29
commit
383db7eda0
51
kate.spec
51
kate.spec
@ -11,15 +11,15 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Name: kate
|
||||
Version: 4.7.0
|
||||
Release: 3
|
||||
Release: 5
|
||||
License: GPLv2+
|
||||
Summary: Advanced Text Editor
|
||||
Url: http://www.kde.org/
|
||||
@ -32,20 +32,20 @@ Provides: kde4-kate = 4.3.0
|
||||
Obsoletes: kde4-kate < 4.3.0
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
|
||||
|
||||
%description
|
||||
Kate is an advanced text editor for KDE.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%ifarch ppc64
|
||||
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%endif
|
||||
%cmake_kde4 -d build
|
||||
%make_jobs
|
||||
|
||||
|
||||
%install
|
||||
cd build
|
||||
%make_install
|
||||
@ -55,15 +55,14 @@ RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%fdupes -s %{buildroot}
|
||||
%kde_post_install
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
rm -rf filelists
|
||||
|
||||
|
||||
%package devel
|
||||
License: GPLv2+
|
||||
Summary: Advanced Text Editor Development Headers
|
||||
@ -72,7 +71,7 @@ Requires: kate = %{version}
|
||||
Requires: libkde4-devel
|
||||
Provides: kde4-kate-devel = 4.3.0
|
||||
Obsoletes: kde4-kate-devel < 4.3.0
|
||||
|
||||
|
||||
%description devel
|
||||
Files needed for development of Kate plugins.
|
||||
|
||||
@ -84,19 +83,19 @@ Files needed for development of Kate plugins.
|
||||
%{_kde4_libdir}/libkateinterfaces.so
|
||||
%{_kde4_libdir}/libkatepartinterfaces.so
|
||||
%{_kde4_libdir}/libktexteditor_*.so
|
||||
|
||||
|
||||
%package -n libktexteditor
|
||||
License: GPLv2+
|
||||
Summary: Advanced Text Editor library
|
||||
Group: Productivity/Editors/Other
|
||||
|
||||
|
||||
%description -n libktexteditor
|
||||
The libraries shared by kwrite and kate editors.
|
||||
|
||||
%post -n libktexteditor -p /sbin/ldconfig
|
||||
|
||||
|
||||
%postun -n libktexteditor -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -n libktexteditor
|
||||
%defattr(-,root,root)
|
||||
%config %{_kde4_configdir}/katepartpluginsrc
|
||||
@ -115,15 +114,15 @@ The libraries shared by kwrite and kate editors.
|
||||
%{_kde4_modulesdir}/katepart.so
|
||||
%{_kde4_modulesdir}/ktexteditor_*.so
|
||||
%{_kde4_servicesdir}/ktexteditor_*.desktop
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config %{_kde4_configdir}/katefiletemplates.knsrc
|
||||
%config %{_kde4_configdir}/katemoderc
|
||||
%config %{_kde4_configdir}/katerc
|
||||
|
||||
|
||||
%exclude %{_kde4_modulesdir}/katepart.so
|
||||
|
||||
|
||||
%{_datadir}/mime/packages/ktesnippets.xml
|
||||
%{_kde4_applicationsdir}/kate.desktop
|
||||
%{_kde4_applicationsdir}/ktesnippets_editor.desktop
|
||||
@ -142,7 +141,7 @@ The libraries shared by kwrite and kate editors.
|
||||
%{_kde4_servicesdir}/kate*.desktop
|
||||
%{_kde4_servicesdir}/plasma-applet-katesession.desktop
|
||||
%{_kde4_servicetypesdir}/kateplugin.desktop
|
||||
|
||||
|
||||
%package -n kwrite
|
||||
License: GPLv2+
|
||||
Summary: KDE Text Editor
|
||||
@ -152,7 +151,7 @@ Provides: kdebase3:/opt/kde3/bin/kwrite
|
||||
Provides: kde4-kwrite = 4.3.0
|
||||
Obsoletes: kde4-kwrite < 4.3.0
|
||||
%kde4_runtime_requires
|
||||
|
||||
|
||||
%description -n kwrite
|
||||
KWrite is the default text editor of the K desktop environment.
|
||||
|
||||
@ -161,14 +160,14 @@ License: GPLv2+
|
||||
Summary: KDE Text Editor: Documentation
|
||||
Group: Productivity/Editors/Other
|
||||
Requires: kwrite = %{version}
|
||||
|
||||
|
||||
%description -n kwrite-doc
|
||||
KWrite is the default text editor of the K desktop environment.
|
||||
|
||||
This package contains the documentation for KWrite
|
||||
|
||||
%post -n kwrite -p /sbin/ldconfig
|
||||
|
||||
|
||||
%postun -n kwrite -p /sbin/ldconfig
|
||||
|
||||
%files -n kwrite
|
||||
@ -177,9 +176,9 @@ This package contains the documentation for KWrite
|
||||
%{_kde4_libdir}/libkdeinit4_kwrite.so
|
||||
%{_kde4_applicationsdir}/kwrite.desktop
|
||||
%{_kde4_appsdir}/kwrite/
|
||||
|
||||
|
||||
%files -n kwrite-doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %lang(en) %{_kde4_htmldir}/en/kwrite/
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user