SHA256
1
0
forked from pool/gucharmap
gucharmap/gucharmap.spec

315 lines
9.9 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#
# spec file for package gucharmap (Version 2.26.2)
#
# 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: gucharmap
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: gconf2-devel
BuildRequires: gtk2-devel
BuildRequires: python-gtk-devel
BuildRequires: scrollkeeper
BuildRequires: update-desktop-files
License: GPL v2 or later; LGPL v2.1 or later
Group: System/GUI/GNOME
Version: 2.26.2
Release: 1
Summary: A Feature-Rich Unicode Character Map
Source: %{name}-%{version}.tar.bz2
Url: http://gucharmap.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
%gconf_schemas_prereq
%description
Gucharmap is a feature-rich Unicode character map and font viewer.
Authors:
--------
Noah Levitt
%package devel
License: GPL v2 or later; LGPL v2.1 or later
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} gconf2-devel glib2-devel gtk2-devel libgnome-devel libgnomeui-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Noah Levitt
%lang_package
%prep
%setup -q
%build
# FIXME: Build as root modifies system!
# gucharmap-1.8.0: --disable-scrollkeeper does not work properly.
%configure --disable-static --with-pic \
--disable-scrollkeeper \
--enable-gtk-doc \
--enable-python-bindings
make %{?jobs:-j%jobs}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
%find_lang %{name}
%find_gconf_schemas
%fdupes $RPM_BUILD_ROOT
# We need X-SuSE-Editor to avoid an error for the categories check. We don't
# want TextEditor, since that's too wide.
%suse_update_desktop_file -N "GNOME Character Map" -G "Character Map" %{name} X-SuSE-Editor
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.schemas_list
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS README TODO
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/applications/*.desktop
%{py_sitedir}/gtk-2.0/gucharmap.so
%{_datadir}/pygtk/2.0/defs/*
%files lang -f %{name}.lang
%files devel
%defattr (-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html/*
%changelog
* Tue May 19 2009 vuntz@novell.com
- Update to version 2.26.2:
+ Updated translations.
* Mon Apr 13 2009 mboman@suse.de
- Update to version 2.26.1:
+ floating point exception using --font
+ Incorrect comment for gucharmap_charmap_set_font_desc
* Sun Mar 15 2009 vuntz@novell.com
- Update to version 2.26.0:
+ Updated translations.
- Don't package omf files twice (they are in the lang package too).
* Mon Mar 09 2009 vuntz@novell.com
- Add back scrollkeeper BuildRequires since some translations were
not ported to gnome-doc-utils.
* Tue Feb 17 2009 mboman@suse.de
- Merge omf/gucharmap back to main packages. Makes no sense to have
a separate -doc package only for this.
* Tue Feb 17 2009 mboman@suse.de
- Update to version 2.25.91:
+ gucharmap doesn't build with --disable-gconf
- Remove gucharmap-abuild.patch. Code commented out
- Move gtk-doc from -doc into -devel
- Move omf/gucharmap from main into -doc
- Remove gnome-common, libgnomeui-devel, scrollkeeper, docbook_4
from BuildRequires
* Mon Feb 02 2009 mboman@suse.de
- Update to version 2.24.3:
+ Call g_thread_init() if using GConf.
+ Allow gucharmap to build with --disable-gconf, bgo#562931.
* Mon Jan 26 2009 crrodriguez@suse.de
- remove "la" files [BNC#357465]
* Fri Jan 23 2009 vuntz@novell.com
- Drop gucharmap-desktop.patch, and set the name with
%%suse_update_desktop_file
- Drop gucharmap-no-root.patch: it shouldn't be needed anymore.
* Sat Dec 20 2008 mboman@suse.de
- Update to version 2.24.2:
+ Fix a crash when pasting with no text on the clipboard
+ Translation update
* Wed Oct 22 2008 mboman@suse.de
- Update to version 2.24.1:
+ Translation updates
* Sat Oct 04 2008 vuntz@novell.com
- Fix build by removing the call to autoreconf. It somehow breaks
stuff by not generating libtool early enough...
- Create a doc package for the library documentation.
Add gtk-doc dependency.
* Tue Sep 23 2008 mboman@suse.de
- Update to version 2.24.0:
+ Translation updates
* Tue Sep 02 2008 mboman@novell.com
- Update to version 2.23.91:
+ Plug a mem leak.
+ Use single / in the help file path.
+ Use gtk_show_uri here.
+ Use GIO to launch the help URI instead of calling gnome-open.
+ Updated translations.
* Mon Aug 11 2008 maw@suse.de
- Update to version 2.23.6:
+ Misc. changes
+ Updated translations.
* Wed Jun 25 2008 maw@suse.de
- Update to version 2.23.4:
+ API change: the pkg-config name is now gucharmap-2
+ Support for Unicode 5.1
+ gtk-doc API docs
+ Python bindings
+ Many bug fixes
- Add gucharmap-abuild.patch.
* Fri Apr 11 2008 maw@suse.de
- Update to version 2.22.1:
+ Bug fixed: bgo#506752.
* Fri Mar 14 2008 maw@suse.de
- Update to version 2.22.0:
+ Cosmetic version bump.
* Sat Mar 01 2008 maw@suse.de
- Make the %%clean section do something again.
* Sat Mar 01 2008 maw@suse.de
- Update to version 2.21.90:
+ Fix bgo#510813
+ Fix the installed .pc file, which contained some bogosities.
* Fri Feb 01 2008 maw@suse.de
- Update to version 2.21.5:
+ Fix character popup sizing (bnc#501915)
+ Fix the build with --disable-gconf (bnc#501710)
+ Remove gnome option (bnc#469131)
+ Translation updates
- Remove gucharmap-glib-breakage.patch because it's no longer
necessary.
* Fri Dec 21 2007 maw@suse.de
- Add gucharmap-glib-breakage.patch (#350152).
* Thu Dec 20 2007 maw@suse.de
- Update to version 2.21.4:
+ The large version bump is gucharmap synchronizing its version
number with that of GNOME
+ Bugs (bugzilla.gnome.org) fixed: #501915, #331103, #501710,
[#469131]
+ Install gconf schemas
- Remove bogus dependencies
- Remove bogus stuff in %%post and %%postun.
* Wed Sep 19 2007 mauro@suse.de
- Update to version 1.10.1
- Bugfixes for bgo: #311912, #357471, #396265, #434276, #433134
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Mon May 14 2007 pgajdos@suse.cz
- removed gnome-icon-theme from Requires and BuildRequires
[#247450]
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Mon Apr 09 2007 maw@suse.de
- Update to version 1.10.0
- Now requires a newer version of libtool.
* Fri Mar 09 2007 maw@suse.de
- Update to version 1.9.0.
- Updated build system.
- Updated translations.
* Fri Mar 09 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Mon Jan 08 2007 sbrabec@suse.cz
- Spec file cleanup.
* Fri Dec 15 2006 maw@suse.de
- Move to /usr.
* Fri Oct 13 2006 ro@suse.de
- added gnome-doc-utils-devel to buildreq
* Sat Sep 30 2006 aj@suse.de
- Cleanup BuildRequires.
* Fri Sep 15 2006 jhargadon@suse.de
- update to version 1.8.0
- Small fixes and new translations
* Tue Aug 15 2006 jhargadon@suse.de
- update to version 1.7.0
- Bug 341260 String "Snap Columns to Power of Two" not marked for
translation
- Bug 334505 Search buttons Prev Next unsensitive when they
shouldn't be.
- Bug 335952 refcount leak in main
- Bug 334865 tiny string leak
- Bothersome gucharmap input method removed.
- updated translations
* Fri May 05 2006 sreeves@suse.de
- Fix for 167218 - change name
* Thu Apr 27 2006 sreeves@suse.de
- Fix for 168664 - move from the Images category
* Tue Feb 28 2006 sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Sat Feb 18 2006 gekker@suse.de
- fixup .desktop file for UI team
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 07 2005 sbrabec@suse.cz
- Updated to version 1.4.4 (GNOME 2.12).
* Wed Jun 01 2005 sbrabec@suse.cz
- Fixed devel requirements.
* Thu Mar 10 2005 gekker@suse.de
- Update to 1.4.3 (GNOME 2.10).
- Remove upstreamed cs.po patch
* Thu Feb 24 2005 sbrabec@suse.cz
- Fixed typos in cs.po.
* Wed Dec 22 2004 gekker@suse.de
- Update to version 1.4.2
* Wed Dec 15 2004 hvogel@suse.de
- fix desktop file
* Mon Nov 22 2004 ro@suse.de
- "sed -i" does not work on old distributions
* Tue Oct 19 2004 sbrabec@suse.cz
- Renamed no locale to nb.
* Fri Aug 27 2004 clahey@suse.de
- Cache gucharmap help and show gucharmap in khelpcenter.
* Fri May 14 2004 clahey@suse.de
- Removed gucharmap-immodules.dif because gucharmap no longer
searches for immodules.
* Wed Apr 21 2004 sbrabec@suse.cz
- Updated to version 1.4.1 (GNOME 2.6).
* Wed Mar 10 2004 sbrabec@suse.cz
- Czech typo fixes.
* Mon Mar 08 2004 hhetter@suse.de
- search for gtk-query-immodules-2.0-64 on x86_64
* Thu Feb 19 2004 sbrabec@suse.cz
- Updated to version 1.2.0.
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Thu Oct 09 2003 sbrabec@suse.cz
- Updated to version 1.0.0 (GNOME 2.4).
* Fri Sep 05 2003 sbrabec@suse.cz
- Added %%run_ldconfig to postun (bug #29417).
* Thu Aug 21 2003 ro@suse.de
- autoreconf for successful build on lib64
* Wed Aug 20 2003 sbrabec@suse.cz
- Added run-gtk to %%post and %%postun.
* Tue Aug 19 2003 sbrabec@suse.cz
- Initial SuSE version 0.8.0.