Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
gucharmap
gucharmap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gucharmap.spec of Package gucharmap
# # spec file for package gucharmap # # Copyright (c) 2012 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/ # %define api_version 2.90 %define so_api _2_90 %define so_gucharmap 7 %define pc_api 2.90 Name: gucharmap Version: 3.4.1.1 Release: 0 Summary: A Featureful Unicode Character Map License: GPL-3.0+ ; LGPL-2.1+ Group: System/GUI/GNOME Url: http://gucharmap.sourceforge.net/ Source: http://download.gnome.org/sources/gucharmap/3.4/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: scrollkeeper BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(gio-2.0) >= 2.25.5 Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description Gucharmap is a featureful unicode character map. %package -n libgucharmap%{so_api}-%{so_gucharmap} Summary: A Featureful Unicode Character Map -- Library Group: System/GUI/GNOME %description -n libgucharmap%{so_api}-%{so_gucharmap} Gucharmap is a featureful unicode character map. This package contains a library to use the character map. %package -n typelib-1_0-Gucharmap-2_90 Summary: A Featureful Unicode Character Map -- Introspection bindings Group: System/Libraries %description -n typelib-1_0-Gucharmap-2_90 Gucharmap is a featureful unicode character map. This package provides the GObject Introspection bindings for the gucharmap library. %package devel Summary: A Featureful Unicode Character Map -- Development Files Group: Development/Libraries/GNOME Requires: libgucharmap%{so_api}-%{so_gucharmap} = %{version} Requires: typelib-1_0-Gucharmap-2_90 = %{version} %description devel This package contains all necessary include files and libraries needed to develop applications that require these. %lang_package %prep %setup -q translation-update-upstream %build %configure --disable-static --with-pic \ --disable-scrollkeeper \ --enable-gtk-doc \ --with-gtk=3.0 \ --enable-introspection make %{?_smp_mflags} V=1 %install %makeinstall find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %find_lang %{name} %{?no_lang_C} # 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 %fdupes $RPM_BUILD_ROOT %post -n libgucharmap%{so_api}-%{so_gucharmap} -p /sbin/ldconfig %postun -n libgucharmap%{so_api}-%{so_gucharmap} -p /sbin/ldconfig %post %glib2_gsettings_schema_post %desktop_database_post %postun %glib2_gsettings_schema_postun %desktop_database_postun %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING ChangeLog NEWS README TODO %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/charmap %{_bindir}/gnome-character-map %{_bindir}/gucharmap %{_datadir}/applications/gucharmap.desktop %{_datadir}/glib-2.0/schemas/org.gnome.Charmap.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.Charmap.gschema.xml %files -n libgucharmap%{so_api}-%{so_gucharmap} %defattr(-,root,root) %{_libdir}/libgucharmap%{so_api}.so.%{so_gucharmap}* %files -n typelib-1_0-Gucharmap-2_90 %defattr(-,root,root) %{_libdir}/girepository-1.0/Gucharmap-2.90.typelib %files lang -f %{name}.lang %files devel %defattr (-, root, root) %{_includedir}/gucharmap-%{pc_api}/ %{_libdir}/libgucharmap%{so_api}.so %{_libdir}/pkgconfig/gucharmap-%{pc_api}.pc %{_datadir}/gir-1.0/Gucharmap-%{pc_api}.gir %doc %{_datadir}/gtk-doc/html/gucharmap-%{pc_api}/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor