Accepting request 79593 from KDE:Distro:Factory
- Split kwrite doc package (fix for RPMLINT warning) - Removed redundant buildrequires - Cleaned up spec file formatting (forwarded request 79544 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/79593 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kate?expand=0&rev=5
This commit is contained in:
parent
616339adcd
commit
36b5ee1b29
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 18 13:13:04 UTC 2011 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Split kwrite doc package (fix for RPMLINT warning)
|
||||||
|
- Removed redundant buildrequires
|
||||||
|
- Cleaned up spec file formatting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 8 07:56:03 UTC 2011 - mlin@suse.com
|
Mon Aug 8 07:56:03 UTC 2011 - mlin@suse.com
|
||||||
|
|
||||||
|
26
kate.spec
26
kate.spec
@ -27,7 +27,6 @@ Group: Productivity/Editors/Other
|
|||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libkde4-devel
|
BuildRequires: libkde4-devel
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
Requires: libktexteditor = %{version}
|
Requires: libktexteditor = %{version}
|
||||||
Provides: kde4-kate = 4.3.0
|
Provides: kde4-kate = 4.3.0
|
||||||
Obsoletes: kde4-kate < 4.3.0
|
Obsoletes: kde4-kate < 4.3.0
|
||||||
@ -38,7 +37,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
Kate is an advanced text editor for KDE.
|
Kate is an advanced text editor for KDE.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
@ -50,13 +49,13 @@ RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
%make_install
|
%make_install
|
||||||
%create_subdir_filelist -d kwrite
|
|
||||||
%suse_update_desktop_file kate TextEditor
|
%suse_update_desktop_file kate TextEditor
|
||||||
%suse_update_desktop_file ktesnippets_editor TextEditor
|
%suse_update_desktop_file ktesnippets_editor TextEditor
|
||||||
%suse_update_desktop_file kwrite TextEditor
|
%suse_update_desktop_file kwrite TextEditor
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
%kde_post_install
|
%kde_post_install
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -157,11 +156,30 @@ Obsoletes: kde4-kwrite < 4.3.0
|
|||||||
%description -n kwrite
|
%description -n kwrite
|
||||||
KWrite is the default text editor of the K desktop environment.
|
KWrite is the default text editor of the K desktop environment.
|
||||||
|
|
||||||
|
%package -n kwrite-doc
|
||||||
|
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
|
%post -n kwrite -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n kwrite -p /sbin/ldconfig
|
%postun -n kwrite -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n kwrite -f filelists/kwrite
|
%files -n kwrite
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_kde4_bindir}/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
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user