SHA256
1
0
forked from pool/kapptemplate

Accepting request 307057 from KDE:Applications

Update to KDE Applications 15.04.1 bugfix release

OBS-URL: https://build.opensuse.org/request/show/307057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kapptemplate?expand=0&rev=24
This commit is contained in:
Stephan Kulow 2015-05-15 05:44:15 +00:00 committed by Git OBS Bridge
parent d0b0255977
commit 26400dc021
5 changed files with 107 additions and 42 deletions

View File

@ -1,8 +0,0 @@
--- kapptemplate.desktop 2009/10/03 16:07:43 1.1
+++ kapptemplate.desktop 2009/10/03 16:08:29
@@ -79,4 +79,4 @@
Name[x-test]=xxKAppTemplatexx
Name[zh_CN]=KAppTemplate
Name[zh_TW]=KAppTemplate
-Categories=Qt;KDE;Development;
+Categories=Qt;KDE;Development;IDE;X-KDE-KDevelopIDE;

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d39284209430c9be1f639d13fe05995814a587526fe0bb848f688c3bd15c4027
size 705312

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba0c2dca9c92dbf1cce194ac4d7e9286bd313dec4b6214c67a8481e65eb43f21
size 709680

View File

@ -1,3 +1,77 @@
-------------------------------------------------------------------
Mon May 11 11:29:30 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.04.1
* KDE Applications 15.04.1
* https://www.kde.org/announcements/announce-applications-15.04.1.php
- Drop no longer needed patch desktop-files.diff
-------------------------------------------------------------------
Sat Apr 11 13:55:25 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.04.0
* KDE Applications 15.04.0
* https://www.kde.org/announcements/announce-applications-15.04.0.php
-------------------------------------------------------------------
Sat Mar 21 18:58:17 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.03.95
* KDE Applications 15.04 RC
-------------------------------------------------------------------
Sun Mar 8 12:59:04 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 15.03.80
* KDE Applications 15.04 Beta
-------------------------------------------------------------------
Tue Mar 3 10:50:15 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 14.12.3
* KDE Applications 14.12.3
* See https://www.kde.org/announcements/announce-applications-14.12.3.php
-------------------------------------------------------------------
Sun Feb 1 11:25:56 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 14.12.2
* KDE Applications 14.12.2
* See https://www.kde.org/announcements/announce-applications-14.12.2.php
-------------------------------------------------------------------
Mon Jan 12 20:16:24 UTC 2015 - tittiatcoke@gmail.com
- Update to KDE Applications 14.12.1
* KDE Applications 14.12.1
* See https://www.kde.org/announcements/announce-applications-14.12.1.php
-------------------------------------------------------------------
Wed Dec 17 20:43:59 UTC 2014 - tittiatcoke@gmail.com
- Update to KDE Applications 14.12.0
* KDE Applications 14.12.0
* See https://www.kde.org/announcements/announce-applications-14.12.0.php
-------------------------------------------------------------------
Wed Dec 17 20:18:14 UTC 2014 - tittiatcoke@gmail.com
- Update to KDE Applications 14.12.0
* KDE Applications 14.12.0
* See https://www.kde.org/announcements/announce-applications-14.12.0.php
-------------------------------------------------------------------
Wed Dec 3 08:14:47 UTC 2014 - tittiatcoke@gmail.com
Update to KDE Applications 14.11.97
* KDE Applications 14.12 Release Candidate
* See http://www.kde.org/announcements/announce-applications-14.12-rc.php
* KApptemplate is now KDE Frameworks based
-------------------------------------------------------------------
Sun Nov 9 21:14:06 UTC 2014 - tittiatcoke@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package kapptemplate
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,19 +17,29 @@
Name: kapptemplate
BuildRequires: libkde4-devel
BuildRequires: extra-cmake-modules
BuildRequires: karchive-devel
BuildRequires: kcompletion-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kdoctools-devel
BuildRequires: kf5-filesystem
BuildRequires: ki18n-devel
BuildRequires: kio-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Test)
Summary: Template for KDE Application Development
License: GPL-2.0 and GFDL-1.2
Group: Development/Tools/IDE
Url: http://www.kde.org/
Version: 4.14.3
Version: 15.04.1
Release: 0
Source0: %{name}-%{version}.tar.xz
Patch1: desktop-files.diff
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Obsoletes: kde4-kapptemplate < %{version}
Provides: kde4-kapptemplate = %{version}
%kde4_runtime_requires
Obsoletes: kapptemplate5 < %{version}
%description
This package contains templates to start the development of a new KDE
@ -37,41 +47,30 @@ application/part/plugin.
%prep
%setup -q -n %{name}-%{version}
%patch1 -p0
%setup -q
sed -i 's|Categories=Qt;KDE;Development;|Categories=Qt;KDE;Development;IDE;X-KDE-KDevelopIDE;|g' src/application/kapptemplate.desktop
%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_jobs
make
%cmake_kf5 -d build
%make_jobs
%install
cd build
%makeinstall
cd ..
%suse_update_desktop_file kapptemplate
%kde_post_install
%kf5_makeinstall -C build
%suse_update_desktop_file kapptemplate
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kde4_bindir}/kapptemplate
%{_kde4_applicationsdir}/kapptemplate.desktop
%{_kde4_htmldir}/en/kapptemplate/
%{_kde4_appsdir}/kdevappwizard/
%{_kde4_iconsdir}/hicolor/*/apps/kapptemplate.*
%{_kde4_configkcfgdir}/kapptemplate.kcfg
%{_kf5_bindir}/kapptemplate
%{_kf5_applicationsdir}/kapptemplate.desktop
%doc %{_kf5_htmldir}/en/*/
%{_kf5_sharedir}/kdevappwizard/
%{_kf5_iconsdir}/hicolor/*/apps/kapptemplate.*
%{_kf5_configkcfgdir}/
%{_kf5_sharedir}/appdata/kapptemplate.appdata.xml
%changelog