forked from pool/gucharmap
181 lines
5.3 KiB
RPMSpec
181 lines
5.3 KiB
RPMSpec
|
#
|
|||
|
# spec file for package gucharmap (Version 1.8.0)
|
|||
|
#
|
|||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|||
|
# This file and all modifications and additions to the pristine
|
|||
|
# package are under the same license as the package itself.
|
|||
|
#
|
|||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|||
|
#
|
|||
|
|
|||
|
# norootforbuild
|
|||
|
|
|||
|
Name: gucharmap
|
|||
|
BuildRequires: docbook_4 gnome-doc-utils-devel gnome-icon-theme intltool kdelibs3-doc libgnomeui-devel scrollkeeper update-desktop-files
|
|||
|
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
|||
|
Group: System/GUI/GNOME
|
|||
|
Autoreqprov: on
|
|||
|
Version: 1.8.0
|
|||
|
Release: 37
|
|||
|
Summary: A Feature-Rich Unicode Character Map
|
|||
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/gucharmap/1.8/%{name}-%{version}.tar.bz2
|
|||
|
Patch: %name-desktop.patch
|
|||
|
Patch1: gucharmap-no-root.patch
|
|||
|
URL: http://gucharmap.sourceforge.net/
|
|||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||
|
PreReq: filesystem
|
|||
|
Requires: gnome-icon-theme
|
|||
|
|
|||
|
%description
|
|||
|
Gucharmap is a feature-rich Unicode character map and font viewer.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Authors:
|
|||
|
--------
|
|||
|
Noah Levitt
|
|||
|
|
|||
|
%package devel
|
|||
|
Summary: Include Files and Libraries mandatory for Development.
|
|||
|
Group: System/GUI/GNOME
|
|||
|
Requires: %{name} = %{version} glib2-devel gtk2-devel libgnome-devel libgnomeui-devel
|
|||
|
Autoreqprov: on
|
|||
|
|
|||
|
%description devel
|
|||
|
This package contains all necessary include files and libraries needed
|
|||
|
to develop applications that require these.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Authors:
|
|||
|
--------
|
|||
|
Noah Levitt
|
|||
|
|
|||
|
%prep
|
|||
|
%setup -q
|
|||
|
%patch
|
|||
|
%patch1
|
|||
|
|
|||
|
%build
|
|||
|
autoreconf -f -i
|
|||
|
# FIXME: Build as root modifies system!
|
|||
|
# gucharmap-1.8.0: --disable-scrollkeeper does not work properly.
|
|||
|
%configure\
|
|||
|
--disable-scrollkeeper
|
|||
|
make %{?jobs:-j%jobs}
|
|||
|
|
|||
|
%install
|
|||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|||
|
mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|||
|
ln -s ../icons/hicolor/48x48/apps/gucharmap.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
|||
|
for xml in $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/*/*.xml; do
|
|||
|
if echo $xml | egrep 'share/gnome/help/([^/]*)/[^/]*/\1\.xml$' > /dev/null; then
|
|||
|
meinproc --cache `echo $xml | sed 's/xml$/cache.bz2/'` $xml || :
|
|||
|
fi
|
|||
|
done
|
|||
|
%find_lang %{name}
|
|||
|
%suse_update_desktop_file %{name}
|
|||
|
|
|||
|
%post
|
|||
|
touch var/adm/SuSEconfig/run-gtk
|
|||
|
%run_ldconfig
|
|||
|
|
|||
|
%postun
|
|||
|
touch var/adm/SuSEconfig/run-gtk
|
|||
|
%run_ldconfig
|
|||
|
|
|||
|
%clean
|
|||
|
rm -rf $RPM_BUILD_ROOT
|
|||
|
|
|||
|
%files -f %files -f %{name}.lang
|
|||
|
%defattr(-,root,root)
|
|||
|
%doc COPYING COPYING.LIB ChangeLog README TODO
|
|||
|
%{_bindir}/*
|
|||
|
%{_libdir}/*.so.*
|
|||
|
%{_datadir}/icons/hicolor/48x48/apps/gucharmap.png
|
|||
|
%{_datadir}/applications/*.desktop
|
|||
|
%{_datadir}/omf/gucharmap
|
|||
|
%{_datadir}/pixmaps/*.png
|
|||
|
|
|||
|
%files devel
|
|||
|
%defattr (-, root, root)
|
|||
|
%{_includedir}/*
|
|||
|
%{_libdir}/*.so
|
|||
|
%{_libdir}/*.*a
|
|||
|
%{_libdir}/pkgconfig/*.pc
|
|||
|
|
|||
|
%changelog -n gucharmap
|
|||
|
* 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.
|