Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
ghex
ghex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ghex.spec of Package ghex
# # spec file for package ghex # # Copyright (c) 2011 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: ghex BuildRequires: fdupes BuildRequires: gnome-doc-utils-devel BuildRequires: intltool BuildRequires: libgnomeprintui-devel BuildRequires: libgnomeui-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files License: GPLv2+ Group: Development/Tools/Other Version: 2.24.0 Release: 9 Summary: GNOME Binary Editor Url: http://www.gnome.org/ Source: ftp://ftp.gnome.org/pub/GNOME/sources/ghex/2.8/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build # PATCH-FIX-UPSTREAM ghex-empty-search-crash.patch bgo532184 Patch7: ghex-empty-search-crash.patch Recommends: %{name}-lang %gconf_schemas_prereq %description GHex allows the user to load data from any file and to view and edit it in either hex or ASCII. It is a must for anyone playing games that use a non-ASCII format for saving. %package devel License: GPLv2+ Summary: GNOME Binary Editor Group: Development/Tools/Other Requires: %{name} = %{version} gtk2-devel gail-devel atk-devel %description devel GHex allows the user to load data from any file and to view and edit it in either hex or ASCII. It is a must for anyone playing games that use a non-ASCII format for saving. %lang_package %prep %setup -n ghex-%{version} translation-update-upstream %patch7 %build %configure --with-pic\ --disable-static\ --disable-scrollkeeper\ --disable-schemas-install make %{?jobs:-j%jobs} %install %makeinstall %suse_update_desktop_file -N GHex -G "Hex Editor" %name Utility Editor sed -e "s@;Development;@;@" < $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop \ > $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop.new mv $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop.new \ $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop # Change sr@Latn to sr@latin mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin %find_lang %{name}-2.0 %{?no_lang_C} %find_lang %{name}2 %{?no_lang_C} %find_gconf_schemas cat %{name}-2.0.lang %{name}2.lang > %{name}.lang %{__rm} -vf %{buildroot}%{_libdir}/*.la %fdupes -s $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre %post /sbin/ldconfig %if 0%{?suse_version} > 1130 %desktop_database_post %icon_theme_cache_post %endif %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %postun /sbin/ldconfig %if 0%{?suse_version} > 1130 %desktop_database_postun %icon_theme_cache_postun %endif %files -f %{name}.schemas_list %defattr(-,root,root) %doc README COPYING COPYING-DOCS AUTHORS %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/ghex2/ %doc %{_datadir}/gnome/help/ghex2/C/ %{_bindir}/* %{_libdir}/*.so.* %{_datadir}/applications/*.desktop %{_datadir}/gnome-2.0/ui/*.xml %{_datadir}/icons/hicolor/*/apps/ghex.* %files lang -f %{name}.lang %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %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