]> git.pld-linux.org Git - packages/ghex.git/blob - ghex.spec
- version 2.4.0.1
[packages/ghex.git] / ghex.spec
1 Summary:        GNOME2 binary editor
2 Summary(pl):    Edytor binarny dla GNOME2
3 Name:           ghex
4 Version:        2.4.0.1
5 Release:        1
6 Group:          Applications/Editors
7 License:        GPL
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  2add675fa3d8d61e71616d49bb7d861e
10 Patch0:         %{name}-schema.patch
11 URL:            http://pluton.ijs.si/~jaka/gnome.html#GHEX
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gtk+2-devel >= 2.2.4
15 BuildRequires:  libgnomeprint-devel >= 2.3.1
16 Requires(post,postun):  /sbin/ldconfig
17 Requires(post,postun):  /usr/bin/scrollkeeper-update
18 Requires(post): GConf2
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 GHex allows the user to load data from any file, view and edit it in
23 either hex or ascii. A must for anyone playing games that use
24 non-ascii format for saving.
25
26 %description -l pl
27 GHex pozwala u¿ytkownikowi na wczytanie danych z dowolnego pliku,
28 przegl±danie i edycjê ich w trybie szesnastkowym i ASCII. Obowi±zkowe
29 narzêdzie dla wszystkich graczy, których gry zapisuj± stan w formacie
30 innym ni¿ tekstowy.
31
32 %package devel
33 Summary:        GHex devel files
34 Summary(pl):    Pliki nag³ówkowe GHex
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}
37
38 %description devel
39 GHex devel files.
40
41 %description devel -l pl
42 Pliki nag³ówkowe GHex.
43
44 %package static
45 Summary:        GHex static library
46 Summary(pl):    Biblioteka statyczna GHex
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 GHex static library.
52
53 %description static -l pl
54 Biblioteka statyczna GHex.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 %build
61 glib-gettextize --copy --force
62 %{__aclocal}
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --disable-schemas-install
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
76
77 %find_lang %{name} --with-gnome --all-name
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 /sbin/ldconfig
84 /usr/bin/scrollkeeper-update
85 %gconf_schema_install
86
87 %postun
88 /sbin/ldconfig
89 /usr/bin/scrollkeeper-update
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog README
94 %attr(755,root,root) %{_bindir}/*
95 %attr(755,root,root) %{_libdir}/libgtkhex.so.*.*.*
96 %{_desktopdir}/*
97 %{_pixmapsdir}/*
98 %{_datadir}/gnome-2.0/ui/*
99 %{_sysconfdir}/gconf/schemas/*
100 %{_omf_dest_dir}/%{name}
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libgtkhex.so
105 %{_libdir}/libgtkhex.la
106 %{_includedir}/*
107 %{_pkgconfigdir}/*.pc
108
109 %files static
110 %defattr(644,root,root,755)
111 %{_libdir}/*.a
This page took 0.088247 seconds and 3 git commands to generate.