LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kde3-kdesvn.spec of Package kde3-kdesvn (Project KDE:KDE3)

#
# spec file for package kde3-kdesvn (Version 1.0.5)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# 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/
#

# norootforbuild


Name:           kde3-kdesvn
BuildRequires:  kdelibs3-devel libapr-util1-devel libapr1-devel
BuildRequires:  ImageMagick cmake openldap2-devel sqlite3-devel subversion-devel
License:        GPL v2 or later
Group:          Development/Tools/Version Control
Summary:        KDE Subversion Client
Version:        1.0.5
Release:        1
Source:         kdesvn-%version.tar.bz2
Provides:       kdesvn = 1.0.4
Obsoletes:      kdesvn <= 1.0.4
Patch:          FIXME.diff
Patch1:         remove-duplicated-group.diff
Patch2:         remove-nl.diff
Patch3:		commititem.cpp.diff
Patch4:         kdesvn-chakra-url-fix.diff
Url:            http://www.alwins-world.de/programs/kdesvn/index.html
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Conflicts:      libproxy1-config-kde4 libproxy0-config-kde4

%description
kdesvn is a GUI client for subversion repositories.



Authors:
--------
    Rajko Albrecht <ral@alwins-world.de>

%package -n libsvnqt4
License:        GPL v2 or later
Summary:        KDE Subversion Client
Group:          Development/Tools/Version Control

%description -n libsvnqt4
kdesvn is a GUI client for subversion repositories.



Authors:
--------
    Rajko Albrecht <ral@alwins-world.de>

%package -n libsvnqt-devel
License:        GPL v2 or later
Summary:        KDE Subversion Client
Group:          Development/Tools/Version Control
Requires:       libsvnqt4 >= %version

%description -n libsvnqt-devel
kdesvn is a GUI client for subversion repositories.



Authors:
--------
    Rajko Albrecht <ral@alwins-world.de>

%prep
%setup -q -n kdesvn-%version 
%patch
%patch1
%patch2
%patch3
%patch4 -p1
sed -i 's|-avoid-version||g' src/kdesvnd/CMakeLists.txt
sed -i 's|-module||g' src/kdesvnd/CMakeLists.txt
. /etc/opt/kde3/common_options

%build
export SUSE_ASNEEDED=0
. /etc/opt/kde3/common_options
EXTRA_FLAGS=""
if [ %_lib = lib64 ]; then
  EXTRA_FLAGS="$EXTRA_FLAGS -DLIB_SUFFIX=64 -DCMAKE_CXXFLAGS=-fPIC"
else
  EXTRA_FLAGS="$EXTRA_FLAGS -DLIB_SUFFIX="
fi
cmake . -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/opt/kde3 $EXTRA_FLAGS
make %{?jobs:-j %jobs}

%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
mkdir -p $RPM_BUILD_ROOT/usr/share/man
mv $RPM_BUILD_ROOT/opt/kde3/share/man/man1 $RPM_BUILD_ROOT/usr/share/man
%suse_update_desktop_file -G "SVN Client" kdesvn Development RevisionControl
%find_lang kdesvn %name.lang
kde_post_install
for s in 16 22 32 48 64 128; do
  convert -resize ${s}x${x} $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/${s}x${s}/apps/kdesvn.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/${s}x${s}/apps/kdesvn.png
done

%clean
rm -rf $RPM_BUILD_ROOT

%post -n libsvnqt4 -p /sbin/ldconfig

%postun -n libsvnqt4 -p /sbin/ldconfig

%files -f %name.lang
%defattr(-,root,root)
%dir /opt/kde3/share/icons/hicolor/16x16/apps
%dir /opt/kde3/share/icons/hicolor/16x16
%dir /opt/kde3/share/icons/hicolor/32x32/apps
%dir /opt/kde3/share/icons/hicolor/32x32
%dir /opt/kde3/share/icons/hicolor/48x48
%dir /opt/kde3/share/icons/hicolor/48x48/apps
%dir /opt/kde3/share/icons/hicolor/64x64
%dir /opt/kde3/share/icons/hicolor/64x64/apps
/opt/kde3/bin
/opt/kde3/share/appl*/*/*.desktop
/opt/kde3/share/apps/*
/opt/kde3/share/config.kcfg/kdesvn_part.kcfg
/opt/kde3/share/icons/*/*/*/*
/opt/kde3/%_lib/kde3/libkdesvnpart.la
/opt/kde3/%_lib/kde3/libkdesvnpart.so*
/opt/kde3/%_lib/kde3/kded_kdesvn*
/opt/kde3/%_lib/kde3/kio_ksvn*
/opt/kde3/share/services/kded/*
/opt/kde3/share/services/*.protocol
/usr/share/man/man1/kdesvn*

%files -n libsvnqt-devel
%defattr(-,root,root)
/opt/kde3/include/svnqt
/opt/kde3/%_lib/libsvnqt.so

%files -n libsvnqt4
%defattr(-,root,root)
/opt/kde3/%_lib/libsvnqt.so.*

%changelog
* Fri Aug 28 2009 bitshuffler[AT]opensuse.org
- Disabled as-needed
* Mon Apr 20 2009 dmueller@suse.de
- update to 1.0.5:
  * fixes a problem that checking out a repository wasn't enabled
  when no repository or working copy is open
* Mon Apr 20 2009 dmueller@suse.de
- rename to kde3-kdesvn
* Sat Apr 04 2009 coolo@suse.de
- refresh all patches to fix build
* Fri Oct 10 2008 wstephenson@suse.de
- update to 1.0.4:
  * due a backporting mistake from kde4 branch kdesvn 1.0.3 was not
  able to run - fixed
- update to 1.0.3
  * fixed a problem with paths containing multiple special chars
  like space
* Sat Sep 20 2008 stbinner@suse.de
- update to 1.0.2:
  * fixed distorted logic in "merge" parameter, results in working
  merge tracking with svn1.5, too.
* Mon Sep 08 2008 dmueller@suse.de
- update to 1.0.1:
  * fixed a crasher with svn 1.5
  * some smaller fixes
  * various bugfixes in buildsystem, build failure with svn 1.3
  * improvement in handling of logcache errors
* Mon Aug 18 2008 stbinner@suse.de
- update to 1.0.0:
  * implemented a sqlite-based logcache used by revision tree
  * dutch handbook added
  * kdesvn may work (simplified) offline
  * Passwords may hold in a memory cache until application ends
* Wed Jul 16 2008 stbinner@suse.de
- update to 0.14.6: fixes problems with accessing KWallet
* Wed May 28 2008 olh@suse.de
- update for subversion 1.5 API
* Fri May 23 2008 stbinner@suse.de
- update to fix utf8 errors with many repositories (bnc#393484)
* Mon May 19 2008 schwab@suse.de
- Fix configuration.
* Sun Apr 13 2008 dmueller@suse.de
- fix build against cmake 2.6
* Thu Apr 03 2008 dmueller@suse.de
- update to 0.14.3:
  * fixed problems with diff between moved elements
  * suppress useless messages
  * fix crash in logviewer
* Wed Feb 20 2008 stbinner@suse.de
- update to 0.14.2:
  * fixed various segfaults
  * updated/fixed translations
  * integrated a direct call to an externam conflict resolver tool
* Wed Nov 21 2007 stbinner@suse.de
- update to 0.14.1:
  * fixed a crasher when deleting items
  * updated frensh and lithuanian translation
* Mon Nov 05 2007 dmueller@suse.de
- split off development files / library package
* Mon Oct 29 2007 dmueller@suse.de
- fix build for older distributions
* Fri Oct 19 2007 dmueller@suse.de
- update to 0.14.0:
  * setting if an external diff-display should used is now a simple yes/no box
  * when browsing in working copies or local repositories
  file:// protocol) properties of a single selected item will
  * display-encoding in Annotate / Difference display may changed
  for content not written in KDE defaul locale.
  * feature request: added "Display last change" action (#192)
  * feature request: request #156: check for properties bugtraq:url
  and bugtraq:logregex, replace issue numbers in logoutput with url
  to bugtracker.
- fix build against subversion 1.5
* Mon Aug 27 2007 dmueller@suse.de
- fix build
* Fri Jul 27 2007 dmueller@suse.de
- fix build after cmake update
* Thu Jun 21 2007 stbinner@suse.de
- add %%postun, run kde_post_install, fix invalid .desktop file
* Sun Jun 17 2007 stbinner@suse.de
- update to 0.12.1:
  * when multiple windows opened diff may failed due wrong relative pathes.
  * in KIO module status didn't work - it always returned a fake status.
  * in KIO module in urls of from "proto://user[:pass]@host/"
  the authentication strings were ignored.
* Sat May 05 2007 stbinner@suse.de
- update to 0.12:
  * passwords may stored in more secure kde wallet instead of
  subversions plain file
  * user may select to hide or show unversioned files in
  working copies
  * user may select to hide or show not modified files in
  working copies
  * enhanced internal difference display (Colored, search,
  differences may saved)
  * fix: in urls the wrapper libs overwrites the "@" in
  proto://user@host/path with url-encoding.
  * fix: let user select if them want to checkout/export external
  declarations, too.
* Mon Mar 26 2007 stbinner@suse.de
- update to 0.11.2:
  * missing KIO::special functions implemented (update/add/del)
  * fix: since subversion 1.4 kdesvn made an error when making
  simple diff on commandline ("kdesvn exec diff ")
  * fix: kdevelop always gives a file:/// uri for locals, kio_ksvn
  has to check if this is a working copy uri and transform it to
  uri without protocoll if yes.
  * feature request: Logdialog may display details about items in
  a changeset (difference and annotate) #30
  * feature request: search in blamewindows
  * fix: DirWatcher should not have any display leaks any more and
  should not crash kdesvn on heavy changes.
  * fix: kdesvn could crash when try to open folders where user had
  no execute/read rights for.
  * fix: kdesvn didn't see replaced items as modified items.
  * fix: kdesvn asks now if on commits locks should released.
* Mon Mar 05 2007 stbinner@suse.de
- update to 0.11.1:
  * lock/unlock as commandline action
  * workaround for a subversion-problem with "@" in file/folder names
  * feature: In commit dialog difference of items may displayed
  * feature: in commit dialog all unversioned items may mark for
  adding with one click (bugid 125)
* Mon Nov 27 2006 dmueller@suse.de
- add missing ldconfig call (#223914)
* Fri Nov 03 2006 dmueller@suse.de
- update to 0.11.0:
  * lots of bugfixes
  * more than one mainwindow can be opened
  * colored annotate support
  * integrated external diff support
* Sat Sep 16 2006 stbinner@suse.de
- update to 0.9.3:
  * svnqt now builds against subversion 1.4
* Sun Aug 27 2006 stbinner@suse.de
- update to 0.9.2:
  * fix: utf8 mismatch again
  * fix: sortorder in main view is with all locale case-sensitive
  * featurerequest: on context menu operations from konqueror/
  krusader or other commandline-executes a log-window may stay
  open, context menu for konqueror may switched off.
  * translations de/nl/pa/es/sv updated
* Mon Jul 24 2006 stbinner@suse.de
- update to 0.9.1:
  * fix: subversion were never initialized
  * fix: (buildsystem) missing libs added
  * diffs from within logviewer works across pathchanges
  * fix: checking out urls with special chars like space failed
  * some speedups in diff/cat/get operations
* Tue Jul 18 2006 dmueller@suse.de
- update to 0.9.0:
  * Partial revision tree implemented
  * Revision tree in commandline implemented
  * fix: locale now not only works with utf-8
* Mon Jun 26 2006 stbinner@suse.de
- update to 0.8.5
  * fix: display new items in repository (in difference to local
  working copy) failed sometimes (bug #91)
  * added Punjabi and Catalan translations
* Tue May 30 2006 adrian@suse.de
- fix build for < 10.1
* Mon May 22 2006 stbinner@suse.de
- update to 0.8.4
  * revision tree sometimes failed while detecting renamed items
  * featurerequest: when checking for updates kdesvn displays now
  if a item is locked somewhere
  * featurerequest: mark items with "svn:needs-lock"-property set.
* Tue May 02 2006 stbinner@suse.de
- update to 0.8.3
  * fix: removed a big memory leak
  * fix: when drag&drop starts from kdesvn urls from repositories
  didn't have a revision number
  * fix: kdesvn wasn't able copy items from a specific revision
  (eg, restoring deleted items wasn't possible)
  changes of 0.8.2
  * fix: when creating dir in repository kdesvn/kio-ksvn asked
  twice for a logmessage
  * revision tree has context menues for diffs and detailed
  information
  * fix: log and info on repositories got sometimes wrong revisions
  to search for
  * added spain translation from Mario Palomo
  * executing an item now generates correct url for KDE
  * fix: execute on "enter" key
* Thu Mar 30 2006 stbinner@suse.de
- update to 0.8.1
  * revision tree is generated using dot.
  * colors and direction of tree may set by user
  * fix compile error
  changes of 0.8
  * subversion wrapper made as shared lib so binaries are smaller
  * all possible subversion calls switched to subversion 1.2 API
  * start usage of subversion 1.3 API (only active when build
  against 1.3)
  * display in working copy view when there are newer files in
  repository
  * Fix: activated callbacks for cancel of log/info
  * Fix: script for generating desktop-entries works with bourne
  shell, too.
  * history tree for items may displayed (early stage)
  changes of 0.7.4
  * user may review items before commit will done.
  changes of 0.7.3
  * rapid speed up maintenance of listing of modified and/or
  updated items
  * Option: user may set if storing passwords is default or not.
  * Folders containing conflicted items are marked as conflicted,
  too.
  * Better behavior of tree view when open a folder not yet read
  in.
  * visual markup for conflicted items
* Fri Mar 03 2006 stbinner@suse.de
- fix configure for 10.0, libapr1 is an internal package of it
* Wed Feb 22 2006 stbinner@suse.de
- fix configure for older PLUS
* Wed Feb 15 2006 stbinner@suse.de
- fix GenericName in .desktop file
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 stbinner@suse.de
- update to 0.7.2
* Tue Jan 03 2006 dmueller@suse.de
- build against apache 2.2.x
* Thu Dec 01 2005 dmueller@suse.de
- update to 0.7.1
* Sat Nov 19 2005 stbinner@suse.de
- add missing dependency for older distribution build
* Sat Nov 12 2005 dmueller@suse.de
- fix build
* Tue Oct 25 2005 stbinner@suse.de
- update to 0.6.3
* Fri Sep 16 2005 dmueller@suse.de
- update to 0.5.3
* Sat Aug 20 2005 dmueller@suse.de
- update 0.5.1
* Fri Aug 05 2005 adrian@suse.de
- initial package of version 0.4.1