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