libwnck/libwnck.spec

455 lines
16 KiB
RPMSpec

#
# spec file for package libwnck (Version 2.23.6)
#
# Copyright (c) 2008 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: libwnck
BuildRequires: fdupes gnome-common gtk-doc gtk2-devel intltool licenses perl-XML-Parser update-desktop-files
License: LGPL v2.1 or later
Group: Development/Libraries/GNOME
Version: 2.23.6
Release: 1
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
#%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libwnck-1)
%define libwnck-1_name 22
Summary: Window Navigator Construction Kit (Library Package)
Source: %{name}-%{version}.tar.bz2
Source1: %{name}_spec-update.sh
Requires: libwnck-1-22 = %{version} licenses
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
Authors:
--------
Havoc Pennington <hp@redhat.com>
%package -n libwnck-1-22
License: LGPL v2.1 or later
Summary: Window Navigator Construction Kit (Library Package)
Group: Development/Libraries/GNOME
# Require translation package (%{name}) not older than the library:
Requires: %{name} >= %{version}
%description -n libwnck-1-22
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
Authors:
--------
Havoc Pennington <hp@redhat.com>
%package devel
License: GPL v2 or later
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} glib2-devel gtk2-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Havoc Pennington <hp@redhat.com>
%package doc
License: GPL v2 or later
Summary: Window Navigator Construction Kit (Library Package)
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
%description doc
The Window Navigator Construction Kit is a library that can be used to
write task lists, pagers, and similar GNOME programs.
Authors:
--------
Havoc Pennington <hp@redhat.com>
%lang_package
%prep
%setup -q
# rpmlint note: libwnck has a separate translation for both Bengali and Bengali India
%build
autoreconf -f -i
# needed for libwnck-2.19.4:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-static
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%find_lang %{name}
LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.?? | sed 's/.*\///;s/\.so\./-/;s/\./_/')"
if test "$LIBNAME" != libwnck-1-22 ; then
echo "Library version does not match package name. It should be $LIBNAME."
exit 1
fi
for FILE in COPYING ; do
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
fi
done
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libwnck-1-22 -p /sbin/ldconfig
%postun -n libwnck-1-22 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/wnckprop
%doc AUTHORS COPYING README NEWS ChangeLog
%files lang -f %{name}.lang
%files -n libwnck-1-22
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/libwnck-1.0
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.*a
%{_libdir}/*.so
%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/*
%changelog
* Wed Aug 06 2008 maw@suse.de
- Update to version 2.23.6:
+ Updated translations.
* Wed Jun 18 2008 maw@suse.de
- Update to version 2.23.4:
+ Fix a bug where, when the last window disappears, libwnck
internals aren't updated and you still have a window in the
window list
+ Updated translations.
* Wed May 21 2008 cthiel@suse.de
- fix baselibs.conf
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Wed Apr 09 2008 maw@suse.de
- Update to version 2.22.1:
+ Bugs fixed: bgo#517750, bgo#520124, bgo#520704, bgo#520726
+ Updated translations.
* Mon Mar 17 2008 vuntz@suse.de
- After a discussion with David Raveman, we agree that the last
three patches (libwnck-2.12.2-window-move-1.patch,
libwnck-opacity-2.patch, libwnck-border_width-fix-2.patch) are
not needed for compiz any more, so killing them.
* Mon Mar 17 2008 vuntz@suse.de
- Remove libwnck-realistic-layout.patch.
Was fixed upstream in June 2007, see bgo#339861.
* Thu Mar 13 2008 maw@suse.de
- Update to version 2.22.0:
+ Fix wnck_window_set_geometry() to work as intended, ie
including decorations (bgo#518606)
+ Updated translations.
* Tue Mar 04 2008 maw@suse.de
- Update to version 2.21.92:
+ Fix wnck_window_set_geometry() not working without a main loop
+ Updated translations.
* Mon Feb 18 2008 maw@suse.de
- Update to version 2.21.91:
+ Updated translations.
* Tue Jan 29 2008 rodrigo@suse.de
- Update to version 2.21.90:
* Fix pager to correctly work in multiscreen environment
- Added missing glib2-devel to -devel package Requires
* Wed Nov 14 2007 jpr@suse.de
- Remove libwnck-viewport-2.patch, it was obsoleted by a different
upstream patch
* Tue Sep 18 2007 sbrabec@suse.cz
- Update to version 2.20.0:
* translations update
* Mon Sep 10 2007 mauro@suse.de
- Update to version 2.19.92:
+ Add translator comments for wnckprop (Andre Klapper) [#468320]
* Thu Aug 30 2007 maw@suse.de
- Update to version 2.19.90:
+ Remove weak pointers on fields in task structure before
freeing task block (bugzilla.gnome.org 139080)
+ Updated translations.
* Wed Aug 08 2007 maw@suse.de
- Split off a -lang subpackage.
* Wed Aug 01 2007 maw@suse.de
- Update to version 2.19.6:
Fixes
- Make the window action menu work with viewport (Vincent) [#352383]
- Correctly draw workspaces with viewport in the pager (Vincent)
- Fix typo in a string of wnckprop (Theppitak Karoonboonyanan)
* Fri Jul 27 2007 sbrabec@suse.cz
- Fixed typo in shared library name.
* Tue Jul 17 2007 sbrabec@suse.cz
- Fixed shared library packaging.
- Added script to update library package names.
* Sat Jul 14 2007 mrueckert@suse.de
- fixed typo in previous change
* Sat Jul 14 2007 mrueckert@suse.de
- use libwnck-devel and libwnck-doc. the file content would conflict
anyway so there is no need to have them as versioned subpackages.
* Mon Jul 09 2007 maw@suse.de
- Following up on the package rename, add some new
Provides/Obsoletes.
* Fri Jul 06 2007 maw@suse.de
- Update to version 2.19.4, and rename to libwnck-1-22 to match
sonames.
- Remove upstreamed libwnck-216129-tasklist-crash.patch
* Tue May 29 2007 danw@suse.de
- Add libwnck-216129-tasklist-crash.patch from upstream to fix a
panel crash. #216129
* Fri Mar 23 2007 maw@suse.de
- Update to version 2.18.0
- Minor changes:
* libwnck/tasklist.c: (wnck_tasklist_scroll_cb): fix left/right
scroll for RTL
* libwnck/pager.c: (wnck_update_drag_icon): improve a bit, so
that the icon has a good width/height ratio, and is not always
huge
* libwnck/pager.c: (wnck_pager_set_n_rows): don't accept to set to
less than 1 row. Again. (My one-line patch was broken ;-))
* test-tasklist.c: add an option to always group windows, and default
to automatic grouping
* test-tasklist.c: (main):
* test-selector.c: (main): don't use gtk_window_set_policy(), but
gtk_window_set_resizable()
* libwnck/pager.c: (wnck_pager_set_n_rows): don't accept to set to
less than 1 row
* Mon Feb 19 2007 maw@suse.de
- Update to version 2.17.91
* Wed Feb 07 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Wed Dec 13 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Tue Nov 07 2006 dreveman@suse.de
- Fix viewport patch so it doesn't crash when creating action menu
for windows that are visible on more than one workspace. #217262
* Wed Oct 18 2006 sbrabec@suse.cz
- Enabled creating of doc package (#193240).
* Mon Oct 16 2006 dreveman@suse.de
- Fix broken border width patch. 178222.
- Remove ibwnck-2.12.2-virtual-aspect-1.patch, it's no longer
needed.
* Tue Oct 03 2006 jhargadon@suse.de
- update to version 2.16.1
- Fix critical warning and leak
- Avoid sending spurious icon geometry updates
- Require GTK+ 2.8.0
- translation updates
* Thu Sep 14 2006 jhargadon@suse.de
- update to version 2.16.0
- translation updates
* Thu Aug 31 2006 jhargadon@suse.de
- update to version 2.15.92
- Fix crash when tasklist is destroyed
- Update delete icon for the context menu
- translation updates
* Tue Aug 15 2006 jhargadon@suse.de
- update to version 2.15.91
- Changed the glowing code to have less and saner style properties
* Fri Aug 04 2006 gekker@suse.de
- Update to version 2.15.90
- Remove upstreamed patches
Features
- Add move/resize window API (Magnus Therning)
- Improve glowing effect in tasklist and make it themeable (Benjamin Berg)
[#325176]
- Use cairo in the pager (Benjamin Otte) [#339293]
- Improve drag and drop in the pager (Nickolay V. Shmyrev, Benjamin Otte)
[#96675, #339293]
- Improve look of the pager (Benjamin Otte) [#339293]
- Add dragging of windows from the tasklist (Nickolay V. Shmyrev) [#96675]
- Sort window in a group alphabetically (Xavier Claessens, Vincent)
- Change active window when scrolling on the selector (Nigel Tao)
- Add scrolling support to the tasklist (Xavier Claessens)
Fixes
- Correctly set relief for group buttons in the tasklist (Benjamin Otte)
- Make windows that go to the bottom occupy the last pixel of the pager
(Benjamin Otte)
- Fix crashes
- Don't change workspace when releasing the button on another workspace
(Vincent) [#110510]
- Fix leaks (Dan Winship) [#334137]
- Fix minimization of "always on visible desktop" windows with the tasklist
(Vincent) [#335316]
- Fix transient cycles causing infinite loops (Dan Winship, Elijah) [#332493]
- Immediately show notification for demands-attent/urgent windows on other
workspaces in the tasklist (Leszek Matok) [#336142]
- Don't minimize the window when it's on another desktop and it was the last
active window (Vincent) [#331661]
- Fix C89 compliance (Jens Granseuer) [#332866]
- Fix window disappearing in workspace switcher after drag and drop (Vincent)
[#317373]
- Fix corrupted drawing of windows (Vincent) [#155502]
- Include demands-attention/urgent windows unconditionally in
tasklist; this should help users not miss important windows on
other workspaces (Elijah) [#305979]
- Synchronize the right-click-menu with that of Metacity's (Srirama
Sharma, Leena Gunda, Christian Neumair) [#135710]
- Escape window titles used in pango markup, avoids some crashes too
(Vincent Noel, jylefort FreeBSD org) [#306289]
- Correctly catch and handle demands-attention/urgent state changes
for transients of windows in the tasklist (Elijah) [#317541]
- Make the pager Fitts's law compliant when shadow type is none
(Vincent) [#304248]
- Correctly specify the source indication (Elijah)
- Use virtual desktop size when computing size of pager (Loic Minier, Vincent)
Update Translations
* Tue May 30 2006 danw@suse.de
- Patch in a new method from libwnck HEAD to allow compiz to know
when a window has a real name (as opposed to a fallback name like
"untitled window"). #173059
* Fri May 12 2006 dreveman@suse.de
- Fix so that correct geometry is returned when border width is
greater than 0. (bnc 178222)
* Thu May 04 2006 dreveman@suse.de
- Add opacity window action sub-menu patch.
(libwnck-opacity-2.patch)
- Add patch for viewport options in window action menu.
(libwnck-2.12.2-viewport-1.patch) (bnc 160004)
* Wed Apr 26 2006 joeshaw@suse.de
- Add a patch to fix some layout and grouping bugs in the tasklist.
(bnc #148840)
* Tue Mar 07 2006 danw@suse.de
- Fix a crash in libwnck-2.12.2-virtual-aspect-1.patch (144722).
Fix some memory leaks to hopefully fix 78329.
* Tue Feb 28 2006 danw@suse.de
- Fix infinite loop when a window is marked TRANSIENT_FOR itself
(116722)
* Wed Feb 15 2006 gekker@suse.de
- Fix crash on window switch (b.g.o#327435)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 06 2006 dreveman@suse.de
- Add window movement patch
* Wed Jan 04 2006 dreveman@suse.de
- Add virtual desktop aspect ratio patch
* Wed Nov 30 2005 gekker@suse.de
- Update to version 2.12.2
* Thu Oct 13 2005 gekker@suse.de
- Update to version 2.12.1
* Mon Sep 05 2005 mmj@suse.de
- Update to version 2.12.0 (GNOME 2.12)
* Mon Aug 22 2005 rodrigo@suse.de
- Update to version 2.11.92
* Thu Aug 11 2005 gekker@suse.de
- Update to version 2.11.91
- Fix use of unitialized variable
* Fri Jul 22 2005 gekker@suse.de
- Update to version 2.11.4
* Tue Jun 21 2005 gekker@suse.de
- Update to version 2.11.3
* Wed Jun 01 2005 sbrabec@suse.cz
- Fixed devel requirements.
* Wed Mar 09 2005 gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
* Thu Mar 03 2005 gekker@suse.de
- Update to version 2.9.92.1
* Fri Feb 11 2005 gekker@suse.de
- Update to version 2.9.91
* Sat Feb 05 2005 gekker@suse.de
- Update to version 2.9.90
* Tue Jan 04 2005 gekker@suse.de
- Update to version 2.9.3
* Mon Dec 20 2004 gekker@suse.de
- Update to version 2.8.1.
- Add gtk-doc to needed for build, release version now requires it
- Add --disable-html-dir to keep html docs from being built
* Mon Nov 22 2004 ro@suse.de
- do not use libXRes on 9.0-x86_64
* Fri Nov 19 2004 ro@suse.de
- removed extra aclocal include directive
* Mon Oct 25 2004 ro@suse.de
- locale rename: no -> nb
* Thu Apr 15 2004 sbrabec@suse.cz
- Updated to version 2.6.0.1 (GNOME 2.6).
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr and %%run_ldconfig
* Tue Oct 07 2003 sbrabec@suse.cz
- Updated to version 2.4.0.1 (GNOME 2.4).
* Tue Jul 15 2003 pthomas@suse.de
- Clean up the code, specially where dereferencing type-punned
pointers would break alias analysis.
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Tue Jun 24 2003 sbrabec@suse.cz
- Updated to version 2.2.2.
- Use %%find_lang.
* Sun Jun 01 2003 ro@suse.de
- add translations to filelist
* Wed Jan 29 2003 hhetter@suse.de
- update to version 2.2.0
* Thu Jan 16 2003 hhetter@suse.de
- updated to version 2.1.90
- use gtk2-devel-packages in #neededforbuild
* Wed Jan 15 2003 sbrabec@suse.cz
- Added expat to neededforbuild.
* Thu Nov 28 2002 hhetter@suse.de
- updated to version 0.18 [GNOME 2.0.3]
* Mon Nov 11 2002 ro@suse.de
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
* Thu Oct 24 2002 hhetter@suse.de
- use "-c" with automake (Bug Id #21066)
* Fri Aug 09 2002 hhetter@suse.de
- updated to version 0.16
* Wed Jun 19 2002 ro@suse.de
- use "-a -f" for automake
* Wed Jun 19 2002 hhetter@suse.de
- updated to version 0.14
* Tue Jun 04 2002 hhetter@suse.de
- updated to version 0.13, sorce frozen
* Tue May 14 2002 ro@suse.de
- use libdir
* Wed Apr 10 2002 hhetter@suse.de
- updated to version 0.7
* Thu Jan 17 2002 hhetter@suse.de
- really prefixed to /opt/gnome2
* Thu Jan 17 2002 hhetter@suse.de
- prefixed to /opt/gnome2
* Wed Jan 16 2002 hhetter@suse.de
- updated to version 0.2
* Tue Jan 15 2002 hhetter@suse.de
- fixed prefix
* Mon Jan 14 2002 hhetter@suse.de
- initial SuSE package for GNOME 2.0 platform
- build with automake 1.5