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

255 lines
7.5 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.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: gucharmap
BuildRequires: docbook_4 fdupes gnome-common gnome-doc-utils-devel intltool libgnomeui-devel python-gtk-devel scrollkeeper update-desktop-files
License: GPL v2 or later; LGPL v2.1 or later
Group: System/GUI/GNOME
Version: 2.23.6
Release: 1
Summary: A Feature-Rich Unicode Character Map
Source: %{name}-%{version}.tar.bz2
Patch: %name-desktop.patch
Patch1: gucharmap-no-root.patch
Patch2: gucharmap-abuild.patch
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
%patch
%patch1
%patch2
%build
autoreconf -f -i
# FIXME: Build as root modifies system!
# gucharmap-1.8.0: --disable-scrollkeeper does not work properly.
%configure \
--disable-scrollkeeper \
--enable-python-bindings
make %{?jobs:-j%jobs}
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{py_sitedir}/gtk-2.0/*.la
%find_lang %{name}
%find_gconf_schemas
%fdupes $RPM_BUILD_ROOT
%suse_update_desktop_file %{name}
%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
%{_datadir}/omf/gucharmap
%{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}/*.*a
%{_libdir}/pkgconfig/*.pc
%changelog
* 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.
* Fri Feb 29 2008 maw@suse.de
- Make the %%clean section do something again.
* Fri Feb 29 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.
* Thu Dec 20 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.
* Tue Sep 18 2007 mauro@suse.de
- Update to version 1.10.1
- Bugfixes for bgo: #311912, #357471, #396265, #434276, #433134
* Tue Aug 07 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.
* Thu Oct 12 2006 ro@suse.de
- added gnome-doc-utils-devel to buildreq
* Sat Sep 30 2006 aj@suse.de
- Cleanup BuildRequires.
* Thu Sep 14 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
* Wed Apr 26 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).
* Fri Feb 17 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.
* Wed Mar 09 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.
* Tue Dec 21 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.
* Thu May 13 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.