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