SHA256
1
0
forked from pool/gucharmap

Accepting request 57539 from GNOME:Factory

Accepted submit request 57539 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/57539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gucharmap?expand=0&rev=42
This commit is contained in:
Berthold Gunreben 2011-01-10 10:35:45 +00:00 committed by Git OBS Bridge
commit c70d831889
2 changed files with 50 additions and 26 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 23 19:05:01 CET 2010 - vuntz@opensuse.org
- Split libgucharmap7 and python-gucharmap subpackages, to respect
shared library packaging policy.
- Improve summary and description.
- Remove unneeded gconf2-devel, glib2-devel, gtk2-devel Requires in
devel package: they will automatically be added the pkgconfig()
way.
-------------------------------------------------------------------
Mon Nov 15 11:34:51 CET 2010 - dimstar@opensuse.org

View File

@ -32,7 +32,7 @@ License: GPLv3+ ; LGPLv2.1+
Group: System/GUI/GNOME
Version: 2.32.1
Release: 1
Summary: A Feature-Rich Unicode Character Map
Summary: A Featureful Unicode Character Map
Source: %{name}-%{version}.tar.bz2
Url: http://gucharmap.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -40,37 +40,43 @@ Requires: %{name}-lang = %{version}
%gconf_schemas_prereq
%description
Gucharmap is a feature-rich Unicode character map and font viewer.
Gucharmap is a featureful unicode character map.
%package -n libgucharmap7
License: GPLv3+ ; LGPLv2.1+
Summary: A Featureful Unicode Character Map -- Library
Group: System/GUI/GNOME
%description -n libgucharmap7
Gucharmap is a featureful unicode character map.
Authors:
--------
Noah Levitt
This package contains a library to use the character map.
%package -n python-gucharmap
License: GPLv3+ ; LGPLv2.1+
Summary: A Featureful Unicode Character Map -- Python Bindings
Group: System/GUI/GNOME
%description -n python-gucharmap
Gucharmap is a featureful unicode character map.
This package contains the python bindings to use the character map.
%package devel
License: GPLv3+ ; LGPLv2.1+
Summary: Include Files and Libraries mandatory for Development
Summary: A Featureful Unicode Character Map -- Development Files
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} gconf2-devel glib2-devel gtk2-devel
Requires: libgucharmap7 = %{version}
%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 \
@ -82,7 +88,7 @@ make %{?jobs:-j%jobs}
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name}
%find_gconf_schemas
%fdupes $RPM_BUILD_ROOT
@ -90,9 +96,9 @@ find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
# 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
%post -n libgucharmap7 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libgucharmap7 -p /sbin/ldconfig
%pre -f %{name}.schemas_pre
@ -106,19 +112,27 @@ 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
%{_bindir}/charmap
%{_bindir}/gnome-character-map
%{_bindir}/gucharmap
%{_datadir}/applications/gucharmap.desktop
%files -n libgucharmap7
%defattr(-,root,root)
%{_libdir}/libgucharmap.so.*
%files -n python-gucharmap
%defattr(-,root,root)
%{py_sitedir}/gtk-2.0/gucharmap.so
%{_datadir}/pygtk/2.0/defs/*
%{_datadir}/pygtk/2.0/defs/gucharmap.defs
%files lang -f %{name}.lang
%files devel
%defattr (-, root, root)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html/*
%{_includedir}/gucharmap-2.0/
%{_libdir}/libgucharmap.so
%{_libdir}/pkgconfig/gucharmap-2.pc
%doc %{_datadir}/gtk-doc/html/gucharmap-2.0/
%changelog