]> git.pld-linux.org Git - packages/ghex.git/blame - ghex.spec
- converted to UTF-8
[packages/ghex.git] / ghex.spec
CommitLineData
a21fa5d4 1Summary: GNOME2 binary editor
059ed03f 2Summary(pl.UTF-8): Edytor binarny dla GNOME2
a21fa5d4 3Name: ghex
420b3415 4Version: 2.8.2
5Release: 1
a21fa5d4 6Group: Applications/Editors
7License: GPL
acb35125 8Source0: http://ftp.gnome.org/pub/gnome/sources/ghex/2.8/%{name}-%{version}.tar.bz2
420b3415 9# Source0-md5: 1940a9f63b0d37604c6b489cda37fc19
d3ef15ab 10Patch0: %{name}-schema.patch
b19f0cc4 11Patch1: %{name}-locale-names.patch
a867a671 12Patch2: %{name}-desktop.patch
93466bee 13URL: http://www.gnu.org/directory/text/editors/ghex.html
75871741 14BuildRequires: GConf2-devel >= 2.6.1
15BuildRequires: atk-devel >= 1.6.1
fbe52600 16BuildRequires: autoconf >= 2.53
817d3d84 17BuildRequires: automake
75871741 18BuildRequires: gail-devel >= 1.6.5
341875a7 19BuildRequires: gettext-devel
75871741 20BuildRequires: gtk+2-devel >= 2:2.4.1
fbe52600 21BuildRequires: intltool >= 0.30
75871741 22BuildRequires: libglade2-devel >= 1:2.4.0
23BuildRequires: libgnomeui-devel >= 2.6.1
24BuildRequires: libgnomeprintui-devel >= 2.6.1
b19f0cc4 25BuildRequires: libtool
341875a7 26BuildRequires: pkgconfig
64597244 27BuildRequires: popt-devel
acb35125 28BuildRequires: rpmbuild(macros) >= 1.197
eb30c409 29BuildRequires: scrollkeeper
25545d6f 30Requires(post,postun): /sbin/ldconfig
acb35125 31Requires(post,preun): GConf2
32Requires(post,postun): scrollkeeper
69775058 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a21fa5d4 34
35%description
36GHex allows the user to load data from any file, view and edit it in
37either hex or ascii. A must for anyone playing games that use
38non-ascii format for saving.
39
059ed03f
JR
40%description -l pl.UTF-8
41GHex pozwala użytkownikowi na wczytanie danych z dowolnego pliku,
42przeglądanie i edycję ich w trybie szesnastkowym i ASCII. Obowiązkowe
43narzędzie dla wszystkich graczy, których gry zapisują stan w formacie
44innym niż tekstowy.
a21fa5d4 45
d3ef15ab 46%package devel
47Summary: GHex devel files
059ed03f 48Summary(pl.UTF-8): Pliki nagłówkowe GHex
d3ef15ab 49Group: Development/Libraries
b19f0cc4 50Requires: %{name} = %{version}-%{release}
75871741 51Requires: gail-devel >= 1.6.5
52Requires: gtk+2-devel >= 2:2.4.1
d3ef15ab 53
54%description devel
25545d6f 55GHex devel files.
d3ef15ab 56
059ed03f
JR
57%description devel -l pl.UTF-8
58Pliki nagłówkowe GHex.
d3ef15ab 59
60%package static
25545d6f 61Summary: GHex static library
059ed03f 62Summary(pl.UTF-8): Biblioteka statyczna GHex
d3ef15ab 63Group: Development/Libraries
b19f0cc4 64Requires: %{name}-devel = %{version}-%{release}
d3ef15ab 65
66%description static
25545d6f 67GHex static library.
d3ef15ab 68
059ed03f 69%description static -l pl.UTF-8
25545d6f 70Biblioteka statyczna GHex.
d3ef15ab 71
a21fa5d4 72%prep
a21fa5d4 73%setup -q
74%patch0 -p1
b19f0cc4 75%patch1 -p1
a867a671 76%patch2 -p1
b19f0cc4 77
78mv po/{no,nb}.po
a21fa5d4 79
80%build
acb35125 81%{__glib_gettextize}
82%{__intltoolize}
b19f0cc4 83%{__libtoolize}
817d3d84 84%{__aclocal}
85%{__autoconf}
86%{__automake}
87%configure \
88 --disable-schemas-install
a21fa5d4 89%{__make}
90
91%install
a21fa5d4 92rm -rf $RPM_BUILD_ROOT
aa6f2774 93
a21fa5d4 94%{__make} install \
817d3d84 95 DESTDIR=$RPM_BUILD_ROOT \
96 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
a21fa5d4 97
98%find_lang %{name} --with-gnome --all-name
99
100%clean
101rm -rf $RPM_BUILD_ROOT
102
103%post
25545d6f 104/sbin/ldconfig
acb35125 105%scrollkeeper_update_post
2f04a94c 106%gconf_schema_install ghex2.schemas
acb35125 107
108%preun
2f04a94c 109%gconf_schema_uninstall ghex2.schemas
a21fa5d4 110
25545d6f
JB
111%postun
112/sbin/ldconfig
acb35125 113%scrollkeeper_update_postun
a21fa5d4 114
115%files -f %{name}.lang
116%defattr(644,root,root,755)
817d3d84 117%doc AUTHORS ChangeLog README
a21fa5d4 118%attr(755,root,root) %{_bindir}/*
d3ef15ab 119%attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.*
965a0360 120%{_desktopdir}/*.desktop
a21fa5d4 121%{_pixmapsdir}/*
122%{_datadir}/gnome-2.0/ui/*
123%{_sysconfdir}/gconf/schemas/*
124%{_omf_dest_dir}/%{name}
d3ef15ab 125
126%files devel
127%defattr(644,root,root,755)
25545d6f 128%attr(755,root,root) %{_libdir}/libgtkhex.so
d3ef15ab 129%{_libdir}/libgtkhex.la
25545d6f 130%{_includedir}/*
d3ef15ab 131%{_pkgconfigdir}/*.pc
132
133%files static
134%defattr(644,root,root,755)
135%{_libdir}/*.a
This page took 0.080368 seconds and 4 git commands to generate.