cvsdist ab70d60
%define kdeprefix /usr
cvsdist ab70d60
%define DATE 20010805
cvsdist ab70d60
%define sourcedir unstable/%{version}/distribution/tar/generic/source
cvsdist ab70d60
Version: 2.0
cvsdist ab70d60
%define rel 1
cvsdist ab70d60
%define is_release 1
cvsdist ab70d60
%define beta %{nil}
cvsdist ab70d60
cvsdist ab70d60
Name: kdevelop
cvsdist ab70d60
Summary: Integrated Development Environment for C++/C
cvsdist ab70d60
Epoch: 7
cvsdist ab70d60
%if %{is_release}
cvsdist ab70d60
%if "%{beta}" != ""
cvsdist ab70d60
Source: ftp://ftp.kde.org/pub/kde/{sourcedir}/%{name}-%{version}-%{beta}.tar.bz2
cvsdist ab70d60
Release: 0.%{beta}.%{rel}
cvsdist ab70d60
%else
cvsdist ab70d60
Source: ftp://ftp.kde.org/pub/kde/{sourcedir}/%{name}-%{version}.tar.bz2
cvsdist ab70d60
Release: %{rel}
cvsdist ab70d60
%endif
cvsdist ab70d60
%else
cvsdist ab70d60
Source: ftp://ftp.kde.org/pub/kde/{sourcedir}/%{name}-%{DATE}.tar.bz2
cvsdist ab70d60
Release: 0.cvs%{DATE}.%{rel}
cvsdist ab70d60
%endif
cvsdist ab70d60
Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.tar.bz2
cvsdist ab70d60
URL: http://www.kdevelop.org/
cvsdist ab70d60
Group: Development/Tools
cvsdist ab70d60
BuildRoot: %{_tmppath}/%{name}-buildroot
cvsdist ab70d60
License: GPL
cvsdist ab70d60
Requires: kdelibs-devel, make, perl >= 5.004, autoconf >= 2.13
cvsdist ab70d60
Requires: automake >= 1.4 flex >= 2.5.4, qt-designer
cvsdist ab70d60
BuildPrereq: autoconf, automake, libtool, kdelibs-devel
cvsdist ab70d60
Obsoletes: kdevelop-c_c++_ref
cvsdist ab70d60
cvsdist ab70d60
%description
cvsdist ab70d60
The KDevelop Integrated Development Environment provides many features
cvsdist ab70d60
that developers need as well as providing a unified interface to programs
cvsdist ab70d60
like gdb, the C/C++ compiler, and make. KDevelop manages or provides:
cvsdist ab70d60
cvsdist ab70d60
All development tools needed for C++ programming like Compiler,
cvsdist ab70d60
Linker, automake and autoconf; KAppWizard, which generates complete,
cvsdist ab70d60
ready-to-go sample applications; Classgenerator, for creating new
cvsdist ab70d60
classes and integrating them into the current project; File management
cvsdist ab70d60
for sources, headers, documentation etc. to be included in the
cvsdist ab70d60
project; The creation of User-Handbooks written with SGML and the
cvsdist ab70d60
automatic generation of HTML-output with the KDE look and feel;
cvsdist ab70d60
Automatic HTML-based API-documentation for your project's classes with
cvsdist ab70d60
cross-references to the used libraries; Internationalization support
cvsdist ab70d60
for your application, allowing translators to easily add their target
cvsdist ab70d60
language to a project;
cvsdist ab70d60
cvsdist ab70d60
KDevelop also includes WYSIWYG (What you see is what you get)-creation
cvsdist ab70d60
of user interfaces with a built-in dialog editor; Debugging your
cvsdist ab70d60
application by integrating KDbg; Editing of project-specific pixmaps
cvsdist ab70d60
with KIconEdit; The inclusion of any other program you need for
cvsdist ab70d60
development by adding it to the "Tools"-menu according to your
cvsdist ab70d60
individual needs.
cvsdist ab70d60
cvsdist ab70d60
%prep
cvsdist ab70d60
%if %{is_release}
cvsdist ab70d60
%setup -q -n %{name}-%{version} -a1
cvsdist ab70d60
%else
cvsdist ab70d60
%setup -q -n %{name} -a1
cvsdist ab70d60
%endif
cvsdist ab70d60
rm -rf parts/javasupport
cvsdist ab70d60
cvsdist ab70d60
%build
cvsdist ab70d60
export KDEDIR=%{kdeprefix}
cvsdist ab70d60
QTDIR="" && source /etc/profile.d/qt.sh
cvsdist ab70d60
FLAGS="$RPM_OPT_FLAGS -DNDEBUG -DNO_DEBUG -D_GNU_SOURCE"
cvsdist ab70d60
cvsdist ab70d60
test -f Makefile.cvs && make -f Makefile.cvs
cvsdist ab70d60
cvsdist ab70d60
CXXFLAGS="$FLAGS" CFLAGS="$FLAGS" \
cvsdist ab70d60
./configure --prefix=$KDEDIR \
cvsdist ab70d60
  --enable-kdoc2 \
cvsdist ab70d60
  --with-qtdoc-dir=$QTDIR/doc/html \
cvsdist ab70d60
  --with-kdelibsdoc-dir=%{_docdir}/kdelibs-devel-2 \
cvsdist ab70d60
  --enable-debug
cvsdist ab70d60
cvsdist ab70d60
make
cvsdist ab70d60
cvsdist ab70d60
# c references
cvsdist ab70d60
cd c_cpp_reference-2.0
cvsdist ab70d60
cp -f /usr/share/libtool/config* .
cvsdist ab70d60
mkdir -p admin && cp ../admin/am_edit admin/
cvsdist ab70d60
autoconf
cvsdist ab70d60
./configure --prefix=$KDEDIR
cvsdist ab70d60
cd -
cvsdist ab70d60
cvsdist ab70d60
%install
cvsdist ab70d60
rm -rf $RPM_BUILD_ROOT
cvsdist ab70d60
cvsdist ab70d60
make DESTDIR=$RPM_BUILD_ROOT install-strip
cvsdist ab70d60
make -C c_cpp_reference-2.0 DESTDIR=$RPM_BUILD_ROOT install
cvsdist ab70d60
cvsdist ab70d60
%files
cvsdist ab70d60
%defattr(-,root,root)
cvsdist ab70d60
%{kdeprefix}/bin/*
cvsdist ab70d60
%{kdeprefix}/lib/*
cvsdist ab70d60
%{kdeprefix}/share/apps/%{name}
cvsdist ab70d60
%{kdeprefix}/share/mimelnk/application/*
cvsdist ab70d60
%{kdeprefix}/share/applnk/Development/kdevelop.desktop
cvsdist ab70d60
%{kdeprefix}/share/applnk/Development/kdevelop-setup.desktop
cvsdist ab70d60
%{kdeprefix}/share/icons/*/*/apps/*
cvsdist ab70d60
%doc %{kdeprefix}/share/doc/HTML/en/%{name}
cvsdist ab70d60
cvsdist ab70d60
%changelog
cvsdist ab70d60
* Mon Jul 30 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0-0.cvs20010730.1
cvsdist ab70d60
- Don't crash on startup
cvsdist ab70d60
cvsdist ab70d60
* Tue Jul 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0-0.cvs20010724.1
cvsdist ab70d60
- Fix file list
cvsdist ab70d60
cvsdist ab70d60
* Mon Jul 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0-0.cvs20010723.1
cvsdist ab70d60
- Update
cvsdist ab70d60
cvsdist ab70d60
* Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist ab70d60
- Yet another respin - printing was broken.
cvsdist ab70d60
cvsdist ab70d60
* Sat Feb 24 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist ab70d60
- Update the C/C++ reference guide docs. The older version had a
cvsdist ab70d60
  couple of examples that won't work with gcc 2.96-*
cvsdist ab70d60
cvsdist ab70d60
* Thu Feb 22 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- fix version number
cvsdist ab70d60
cvsdist ab70d60
* Wed Feb 21 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- 1.4-respin
cvsdist ab70d60
cvsdist ab70d60
* Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist ab70d60
- 1.4
cvsdist ab70d60
cvsdist ab70d60
* Wed Feb 14 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- update (only bugfixes)
cvsdist ab70d60
- fix up kdelibs documentation path
cvsdist ab70d60
- fix a dependency problem with kde-i18n package (Bug #27675)
cvsdist ab70d60
- add qt-designer into requires
cvsdist ab70d60
cvsdist ab70d60
* Sun Feb 11 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- fixed to build on s390
cvsdist ab70d60
cvsdist ab70d60
* Tue Feb 06 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- update, only bugfixes
cvsdist ab70d60
cvsdist ab70d60
* Wed Jan 24 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- hacked for building of KDE references
cvsdist ab70d60
cvsdist ab70d60
* Tue Jan 23 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- work-around to build on alpha
cvsdist ab70d60
cvsdist ab70d60
* Mon Jan 22 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist ab70d60
- Update
cvsdist ab70d60
cvsdist ab70d60
* Wed Jan 10 2001 Than Ngo <than@redhat.com>
cvsdist ab70d60
- update new snapshot, only require KDE2/Qt2
cvsdist ab70d60
cvsdist ab70d60
* Fri Dec 22 2000 Than Ngo <than@redhat.com>
cvsdist ab70d60
- fixed dependency problem with kde-i18n
cvsdist ab70d60
cvsdist ab70d60
* Thu Dec 21 2000 Than Ngo <than@redhat.com>
cvsdist ab70d60
- updated to 1.4beta1 with KDE2 support
cvsdist ab70d60
- fixed to build on s390
cvsdist ab70d60
- fixed some broken codes
cvsdist ab70d60
 
cvsdist ab70d60
* Fri Dec 8 2000 Than Ngo <than@redhat.com>
cvsdist ab70d60
- fixed for building on ia64
cvsdist ab70d60
 
cvsdist ab70d60
* Wed Nov 15 2000 Than Ngo <than@redhat.com>
cvsdist ab70d60
- build snapshot 20001112, it works now with KDE2 and kde1-compat
cvsdist ab70d60
- fix libtool to build on sparc and alpha
cvsdist ab70d60
- don't use make -j
cvsdist ab70d60
 
cvsdist ab70d60
* Sun Aug 13 2000 Than Ngo <than@redhat.com>
cvsdist ab70d60
- fix kdelibsdoc-dir to show kdelibs-1.1.2 html docu correct
cvsdist ab70d60
 
cvsdist ab70d60
* Tue Aug 01 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- add missing ldconfig in %post and %postun section (Bug #14924)
cvsdist ab70d60
- add missing C references stuff to kdevelop
cvsdist ab70d60
 
cvsdist ab70d60
* Sun Jul 30 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- rebuilt against compat-egcs-c++, put KDE1 under /usr
cvsdist ab70d60
- cleanup specfile
cvsdist ab70d60
 
cvsdist ab70d60
* Tue Jul 25 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- fix dependency problem
cvsdist ab70d60
 
cvsdist ab70d60
* Wed Jul 19 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- rebuilt against compat-libstdc++
cvsdist ab70d60
 
cvsdist ab70d60
* Mon Jul 17 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- install under /usr/share instead /usr/lib/kde1-compat/share,
cvsdist ab70d60
  fix dependency problem
cvsdist ab70d60
 
cvsdist ab70d60
* Sat Jul 15 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- rebuilt with egcs-c++-1.1.2
cvsdist ab70d60
cvsdist ab70d60
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cvsdist ab70d60
- automatic rebuild
cvsdist ab70d60
 
cvsdist ab70d60
* Mon Jul 03 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- fix docdir
cvsdist ab70d60
- add requires kdebase
cvsdist ab70d60
 
cvsdist ab70d60
* Sun Jul 02 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- rebuilt with  kde1-compat
cvsdist ab70d60
 
cvsdist ab70d60
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- rebuilt in the new build environment, fix docdir
cvsdist ab70d60
- FHS packaging
cvsdist ab70d60
 
cvsdist ab70d60
* Thu Jun 08 2000 Than Ngo <than@redhat.de>
cvsdist ab70d60
- update to 1.2
cvsdist ab70d60
- move from powertools to main CD
cvsdist ab70d60
- use %%configure
cvsdist ab70d60
 
cvsdist ab70d60
* Mon Apr 3 2000 Ngo Than <than@redhat.de>
cvsdist ab70d60
- fix up reference (Bug #10368)
cvsdist ab70d60
 
cvsdist ab70d60
* Tue Feb 15 2000 Bernhard Rosenkränzer <bero@redhat.com>
cvsdist ab70d60
- Fix up documentation path (Bug #7291)
cvsdist ab70d60
- Update to current stable branch - this should fix up the debugger problem
cvsdist ab70d60
- clean up spec file
cvsdist ab70d60
 
cvsdist ab70d60
* Fri Jan  6 2000 Bernhard Rosenkränzer <bero@redhat.com>
cvsdist ab70d60
- Update to current stable branch
cvsdist ab70d60
- Adapt to 6.2 Qt libraries
cvsdist ab70d60
- Use BuildPrereq
cvsdist ab70d60
 
cvsdist ab70d60
* Wed Jan 05 2000 Ngo Than <than@redhat.de>
cvsdist ab70d60
- added patch for alpha
cvsdist ab70d60
 
cvsdist ab70d60
* Tue Dec 21 1999 Ngo Than <than@redhat.de>
cvsdist ab70d60
- updated kdevelop-1.0 release
cvsdist ab70d60
 
cvsdist ab70d60
* Tue Nov 16 1999 Preston Brown <pbrown@redhat.com>
cvsdist ab70d60
- kdevelop 1.0beta4.1, docdir added, using DESTDIR env. variable.
cvsdist ab70d60
 
cvsdist ab70d60
* Thu Sep 09 1999 Preston Brown <pbrown@redhat.com>
cvsdist ab70d60
- initial packaging for 6.1.