b7e3e30
Name:           kdesdk
f65ae85
Version:        4.2.1
f65ae85
Release:        1%{?dist}
b7e3e30
Summary:        The KDE Software Development Kit (SDK)
b7e3e30
b7e3e30
Group:          User Interface/Desktops
b7e3e30
# FIXME/TODO: Check license
b7e3e30
License:        GPLv2
b7e3e30
URL:            http://www.kde.org/
8025315
Source0:        ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
b7e3e30
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b7e3e30
7d9a66d
# upstreamable patches
7d9a66d
Patch50: kdesdk-4.2.1-blockquote.patch
7d9a66d
b7e3e30
BuildRequires:  kdepimlibs-devel >= %{version}
9f7867b
BuildRequires:  plasma-devel >= %{version}
600370c
BuildRequires:  strigi-devel
b7e3e30
BuildRequires:  flex
b7e3e30
BuildRequires:  apr-devel
b7e3e30
BuildRequires:  libxml2-devel
b7e3e30
BuildRequires:  libxslt-devel
b7e3e30
BuildRequires:  libtool-ltdl-devel
b7e3e30
BuildRequires:  subversion-devel
543e92c
BuildRequires:  boost-devel
e2556eb
BuildRequires:  libical-devel
b7e3e30
# for libiberty (used by kmtrace for cp_demangle)
b7e3e30
# IMPORTANT: check licensing from time to time, currently libiberty is still
b7e3e30
#            GPLv2+/LGPLv2+
b7e3e30
BuildRequires:  binutils-devel
b7e3e30
a7dea84
Requires(post): xdg-utils
a7dea84
Requires(postun): xdg-utils
b7e3e30
Requires: kdepimlibs >= %{version}
f075e0a
Requires: %{name}-libs = %{version}-%{release}
625b883
625b883
# not *strictly* required, helps upgrade case so tools don't disappear
9e687c1
Requires(hint): %{name}-utils = %{version}-%{release}
cvsdist d848e93
600370c
Provides:      kaider = %{version}-%{release}
600370c
Obsoletes:     kaider < %{version}-%{release}
600370c
cvsdist d848e93
%description
bf16d51
A collection of applications and tools used by developers, including:
bf16d51
* cervisia: a CVS frontend
a2ee940
* kate: advanced text editor
bf16d51
* kbugbuster: a tool to manage the KDE bug report system
bf16d51
* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind)
bf16d51
* kompare: diff tool
bf16d51
* kuiviewer: displays designer's UI files
600370c
* lokalize: computer-aided translation system focusing on productivity and performance
bf16d51
* umbrello: UML modeller and UML diagram tool
bf16d51
a7dea84
%package libs
a7dea84
Summary: Runtime libraries for %{name}
a7dea84
Group:   System Environment/Libraries
a7dea84
%description libs
a7dea84
%{summary}.
a7dea84
cvsdist 355e90d
%package devel
874204b
Summary:  Developer files for %{name}
f075e0a
Group:    Development/Libraries
a7dea84
Requires: %{name}-libs = %{version}-%{release}
3fc3d1d
Requires: kdepimlibs-devel
cvsdist 355e90d
%description devel
874204b
Files for developing applications using %{name}.
903bc0c
f075e0a
%package utils
f075e0a
Summary: Text utilities from %{name}
f075e0a
Group:   Applications/Text
f075e0a
%description utils
f075e0a
%{summary}, including:
f075e0a
po2xml
874204b
split2po
874204b
swappo
f075e0a
xml2pot
f075e0a
f075e0a
cvsdist d848e93
%prep
700a40c
%setup -q
903bc0c
7d9a66d
%patch50 -p1 -b .blockquote
7d9a66d
cvsdist d848e93
eec45db
%build
b7e3e30
mkdir -p %{_target_platform}
b7e3e30
pushd %{_target_platform}
b7e3e30
%{cmake_kde4} ..
b7e3e30
popd
903bc0c
7d9a66d
make %{?_smp_mflags} -C %{_target_platform}
cvsdist d848e93
cvsdist d848e93
b7e3e30
%install
b7e3e30
rm -rf %{buildroot}
0265c7c
3fc3d1d
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
b7e3e30
874204b
# unpackaged files
874204b
rm -f %{buildroot}%{_kde4_libdir}/libantlr.so
aa9174d
# This one fits better into krazy2 (it requires krazy2), and the version in
aa9174d
# kdesdk does not understand lib64.
aa9174d
rm -f %{buildroot}%{_kde4_bindir}/krazy-licensecheck
874204b
b7e3e30
# move devel symlinks
b7e3e30
mkdir -p %{buildroot}%{_kde4_libdir}/kde4/devel
b7e3e30
pushd %{buildroot}%{_kde4_libdir}
b7e3e30
for i in lib*.so
b7e3e30
do
b7e3e30
  case "$i" in
874204b
    libkateinterfaces.so)
b7e3e30
      linktarget=`readlink "$i"`
b7e3e30
      rm -f "$i"
b7e3e30
      ln -sf "../../$linktarget" "kde4/devel/$i"
b7e3e30
      ;;
b7e3e30
  esac
cvsdist 9005919
done
cvsdist 9005919
popd
cvsdist d848e93
c284510
cvsdist 355e90d
%clean
67e0b0a
rm -rf %{buildroot}
cvsdist 355e90d
018be0e
%post
b7e3e30
%{_bindir}/xdg-icon-resource forceupdate --theme oxygen 2> /dev/null || :
b7e3e30
%{_bindir}/xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
600370c
%{_bindir}/xdg-icon-resource forceupdate --theme locolor 2> /dev/null || :
cvsdist 9005919
018be0e
%postun
b7e3e30
%{_bindir}/xdg-icon-resource forceupdate --theme oxygen 2> /dev/null || :
b7e3e30
%{_bindir}/xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
600370c
%{_bindir}/xdg-icon-resource forceupdate --theme locolor 2> /dev/null || :
903bc0c
a7dea84
%post libs -p /sbin/ldconfig
a7dea84
a7dea84
%postun libs -p /sbin/ldconfig
a7dea84
cvsdist 355e90d
%files
4f63111
%defattr(-,root,root,-)
2a21153
%doc COPYING COPYING.LIB COPYING.DOC README
b7e3e30
%{_kde4_bindir}/*
874204b
# -utils
f075e0a
%exclude %{_kde4_bindir}/po2xml
874204b
%exclude %{_kde4_bindir}/split2po
874204b
%exclude %{_kde4_bindir}/swappo
f075e0a
%exclude %{_kde4_bindir}/xml2pot
b7e3e30
%{_kde4_configdir}/*
b7e3e30
%{_kde4_appsdir}/cervisia/
b7e3e30
%{_kde4_appsdir}/cervisiapart/*
b7e3e30
%{_kde4_appsdir}/kabc/*
b7e3e30
%{_kde4_appsdir}/katepart/
b7e3e30
%{_kde4_appsdir}/kate/
b7e3e30
%{_kde4_appsdir}/kbugbuster/
b7e3e30
%{_kde4_appsdir}/kcachegrind/*
b7e3e30
%{_kde4_appsdir}/kconf_update/*
3fc3d1d
%{_kde4_appsdir}/kio_perldoc/
e36c94c
%{_kde4_appsdir}/kdevappwizard/
b7e3e30
%{_kde4_appsdir}/kmtrace/
b7e3e30
%{_kde4_appsdir}/kompare/
3fc3d1d
%{_kde4_appsdir}/kpartloader/
b7e3e30
%{_kde4_appsdir}/kuiviewer/*
b7e3e30
%{_kde4_appsdir}/kuiviewerpart/*
600370c
%{_kde4_appsdir}/lokalize/
b7e3e30
%{_kde4_appsdir}/umbrello/
b7e3e30
%{_kde4_datadir}/applications/kde4/*
b7e3e30
%{_kde4_datadir}/config.kcfg/*
b7e3e30
%{_kde4_datadir}/dbus-1/interfaces/*
b7e3e30
%{_kde4_datadir}/kde4/services/*
b7e3e30
%{_kde4_datadir}/kde4/servicetypes/*
b7e3e30
%{_kde4_docdir}/HTML/en/cervisia/
b7e3e30
%{_kde4_docdir}/HTML/en/kapptemplate/
b7e3e30
%{_kde4_docdir}/HTML/en/kate-plugins/
b7e3e30
%{_kde4_docdir}/HTML/en/kate/
b7e3e30
%{_kde4_docdir}/HTML/en/kbugbuster/
b7e3e30
%{_kde4_docdir}/HTML/en/kcachegrind/
b7e3e30
%{_kde4_docdir}/HTML/en/kdesvn-build/
9fc02fa
%{_kde4_docdir}/HTML/en/kompare/
600370c
%{_kde4_docdir}/HTML/en/lokalize/
b7e3e30
%{_kde4_docdir}/HTML/en/umbrello/
b7e3e30
%{_kde4_iconsdir}/hicolor/*/*/*
600370c
%{_kde4_iconsdir}/locolor/*/*/*
b7e3e30
%{_kde4_iconsdir}/oxygen/*/*/*
bf16d51
%{_mandir}/man1/*
b7e3e30
%{_kde4_libdir}/libkdeinit4*.so
874204b
%{_kde4_libdir}/libkomparedialogpages.so
874204b
%{_kde4_libdir}/libkomparediff2.so
874204b
%{_kde4_libdir}/strigi/*.so
874204b
%{_kde4_datadir}/strigi/fieldproperties/
874204b
%{_kde4_libdir}/kde4/*.so
874204b
# -devel
b7e3e30
%exclude %{_kde4_libdir}/kde4/devel/
f73a023
a7dea84
%files libs
a7dea84
%defattr(-,root,root,-)
a7dea84
%{_kde4_libdir}/lib*.so.*
874204b
# -utils
874204b
%exclude %{_kde4_libdir}/libantlr.so.*
a7dea84
cvsdist 355e90d
%files devel
4f63111
%defattr(-,root,root,-)
b7e3e30
%{_kde4_includedir}/*
874204b
%{_kde4_libdir}/lib*.so
874204b
%exclude %{_kde4_libdir}/libkomparedialogpages.so
874204b
%exclude %{_kde4_libdir}/libkomparediff2.so
874204b
%{_kde4_libdir}/kde4/devel/lib*.so
903bc0c
f075e0a
%files utils
f075e0a
%defattr(-,root,root,-)
f075e0a
%{_kde4_bindir}/po2xml
874204b
%{_kde4_bindir}/split2po
874204b
%{_kde4_bindir}/swappo
f075e0a
%{_kde4_bindir}/xml2pot
874204b
%{_kde4_libdir}/libantlr.so.*
f075e0a
4d148e5
cvsdist 355e90d
%changelog
f65ae85
* Fri Feb 27 2009 Than Ngo <than@redhat.com> - 4.2.1-1
f65ae85
- 4.2.1
7d9a66d
- blockquote patch (#487624)
f65ae85
4e4d664
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-3
4e4d664
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4e4d664
161008c
* Thu Feb 19 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.2.0-2
161008c
- fix Kompare crash with Qt 4.5 (kde#182792)
a2493d1
- fix build with GCC 4.4
161008c
8025315
* Thu Jan 22 2009 Than Ngo <than@redhat.com> - 4.2.0-1
8025315
- 4.2.0
8025315
8984dac
* Mon Jan 19 2009 Than Ngo <than@redhat.com> - 4.1.96-4
8984dac
- apply patch to fix  build against Boost 1.37.0 
8984dac
f797cce
* Tue Jan 13 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.1.96-3
f797cce
- F11+: add workaround to fix build against Boost 1.37.0
f797cce
aa9174d
* Fri Jan 09 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.1.96-2
aa9174d
- don't ship krazy-licensecheck, should be in krazy2
aa9174d
0bd560d
* Wed Jan 07 2009 Than Ngo <than@redhat.com> - 4.1.96-1
0bd560d
- 4.2rc1
0bd560d
85c2fcc
* Fri Dec 12 2008 Than Ngo <than@redhat.com> 4.1.85-1
85c2fcc
- 4.2beta2
85c2fcc
9f7867b
* Mon Dec 01 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.1.80-3
9f7867b
- BR plasma-devel instead of kdebase-workspace-devel
fccb760
- don't require kdebase-workspace
6fa039b
- rebase Lokalize quit menu patch
e2556eb
- BR libical-devel
a005c10
3fc3d1d
* Thu Nov 20 2008 Than Ngo <than@redhat.com> 4.1.80-2
3fc3d1d
- merged
3fc3d1d
9f7867b
* Thu Nov 20 2008 Lorenzo Villani <lvillani@binaryhelix.net> 4.1.80-1
3fc3d1d
- 4.1.80
3fc3d1d
- BR cmake >= 2.6.2
3fc3d1d
- make install/fast
3fc3d1d
- kdesdk-4.1.2-kdecore.patch upstreamed, dropped
3fc3d1d
3fc3d1d
* Wed Nov 12 2008 Than Ngo <than@redhat.com> 4.1.3-1
3fc3d1d
- 4.1.3
3fc3d1d
3fc3d1d
* Wed Oct 22 2008 Than Ngo <than@redhat.com> 4.1.2-4
3fc3d1d
- check if the document has been saved, if not ask the user
3fc3d1d
  to save the change or close without saving
3fc3d1d
625b883
* Wed Oct 22 2008 Rex Dieter <rdieter@fedoraproject.org> 4.1.2-3
625b883
- -utils should not depend on kdelibs etc (#467984)
625b883
ed5cfd0
* Mon Sep 29 2008 Rex Dieter <rdieter@fedoraproject.org> 4.1.2-2
ed5cfd0
- make VERBOSE=1
ed5cfd0
- respin against new(er) kde-filesystem
ed5cfd0
a406243
* Fri Sep 26 2008 Rex Dieter <rdieter@fedoraproject.org> 4.1.2-1
a406243
- 4.1.2
a406243
5592ad9
* Wed Sep 24 2008 Than Ngo <than@redhat.com> 4.1.1-2
5592ad9
- show quit in the menu
5592ad9
a4c47af
* Fri Aug 29 2008 Than Ngo <than@redhat.com> 4.1.1-1
a4c47af
- 4.1.1
a4c47af
715e8a6
* Wed Jul 23 2008 Than Ngo <than@redhat.com> 4.1.0-1
715e8a6
- 4.1.0
715e8a6
874204b
* Wed Jul 23 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.99-2
874204b
- fix -utils dep issues
874204b
5b453d4
* Fri Jul 18 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.99-1
5b453d4
- 4.0.99
5b453d4
25f672a
* Fri Jul 11 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.98-1
25f672a
- 4.0.98
25f672a
e032ca0
* Sun Jul 06 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.85-1
e032ca0
- 4.0.85
e032ca0
787573f
* Fri Jun 27 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.84-1
787573f
- 4.0.84
787573f
68f1913
* Sat Jun 21 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.83-2
68f1913
- drop upstreamed rh#433399 patch
68f1913
5519586
* Thu Jun 19 2008 Than Ngo <than@redhat.com> 4.0.83-1
5519586
- 4.0.83 (beta2)
5519586
eec45db
* Sun Jun 15 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.82-1
eec45db
- 4.0.82
eec45db
8e7b767
* Mon May 26 2008 Than Ngo <than@redhat.com> 4.0.80-1
8e7b767
- 4.1 beta1
8e7b767
a2ee940
* Fri May 16 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.72-2
a2ee940
- %%description: +kate
a2ee940
600370c
* Tue May 13 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.72-1
600370c
- update to 4.0.72
600370c
- Obsoletes/Provides kaider (now part of kdesdk, renamed to lokalize)
600370c
- add lokalize to description and file list
600370c
- add BR strigi-devel for lokalize
543e92c
- add BR boost-devel (now needed by Umbrello)
600370c
9e687c1
* Fri Apr 18 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.3-5
9e687c1
- Requires: kdesdk-utils
9e687c1
f075e0a
* Fri Apr 18 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.3-4
f075e0a
- utils: po2xml, xml2pot (#432443)
f075e0a
859ce1d
* Thu Apr 03 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.3-3
859ce1d
- rebuild (again) for the fixed %%{_kde4_buildtype}
859ce1d
04e582b
* Mon Mar 31 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.3-2
04e582b
- rebuild for NDEBUG and _kde4_libexecdir
04e582b
1ba1e2c
* Fri Mar 28 2008 Than Ngo <than@redhat.com> 4.0.3-1
1ba1e2c
- 4.0.3
1ba1e2c
ce78c3f
* Thu Feb 28 2008 Than Ngo <than@redhat.com> 4.0.2-1
ce78c3f
- 4.0.2
ce78c3f
8b2b361
* Wed Feb 27 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.1-2
8b2b361
- kate appears in Applications -> Other (#433399)
8b2b361
4d148e5
* Thu Jan 31 2008 Rex Dieter <rdieter@fedoraproject.org> 4.0.1-1
4d148e5
- kde-4.0.1
4d148e5
aca7c97
* Tue Jan 08 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.0.0-1
aca7c97
- update to 4.0.0
aca7c97
- drop upstreamed fix-kompare patch
db7fd77
- update file list (no more katesessionmenu.desktop)
aca7c97
7c6a4f7
* Wed Dec 19 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-8
7c6a4f7
- update Kompare from SVN (rev 750443)
7c6a4f7
9fc02fa
* Sun Dec 16 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-7
9fc02fa
- don't look for libkompare*part.so in %%{_kde4_libdir}
9fc02fa
- don't list D-Bus interfaces twice in file list
9fc02fa
- build Kompare documentation
9fc02fa
3f699df
* Sun Dec 16 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-6
3f699df
- update Kompare from SVN (rev 748928)
3f699df
- Kompare now installs unversioned (private) shared libs, package them properly
3f699df
aee698d
* Wed Dec 12 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-5
aee698d
- rebuild for changed _kde4_includedir
aee698d
8ffba1f
* Tue Dec 11 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-4
29699b4
- build Kompare's static convenience libraries with -fPIC
8ffba1f
1b23f41
* Mon Dec 10 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-3
1b23f41
- updated fix-kompare patch (rev 6)
1b23f41
8538e5e
* Mon Dec 10 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-2
8538e5e
- updated fix-kompare patch (rev 5)
8538e5e
1e93475
* Sat Dec 08 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.97.0-1
1e93475
- update to 3.97.0 (KDE 4.0 RC2)
1e93475
a7dea84
* Fri Dec 07 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.96.2-3
a7dea84
- separate -libs subpackage
a7dea84
- remove X11 BRs which are now required by kdelibs-devel
a7dea84
b7e3e30
* Thu Dec 06 2007 Kevin Kofler <Kevin@tigcc.ticalc.org> 3.96.2-2
b7e3e30
- drop kbabel from description (not actually there)
b7e3e30
- reenable kompare, fix its build and porting bugs (kde#153463)
b7e3e30
- add missing BR subversion-devel, add files for kio_svn to list
b7e3e30
- add missing BR binutils-devel (for libiberty), add files for kmtrace to list
cvsdist d848e93
b7e3e30
* Fri Nov 30 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.2-1
b7e3e30
- kde-3.96.2
cvsdist d848e93
b7e3e30
* Sat Nov 24 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.1-1
b7e3e30
- kde-3.96.1
cvsdist d848e93
b7e3e30
* Mon Nov 19 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.0-2
b7e3e30
- (Build)Require: kdebase-workspace(-devel) (for kate)
b7e3e30
- re-enable kate
b7e3e30
- BR: kde-filesystem >= 4
cvsdist d848e93
b7e3e30
* Sun Nov 18 2007 Sebastian Vahl <fedora@deadbabylon.de> 3.96.0-1
b7e3e30
- Initial version for Fedora