-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathmadedit.spec
59 lines (45 loc) · 1.18 KB
/
madedit.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
%define release 1
%define prefix /usr
%define name madedit
%define version 0.3.9
Summary: madedit : GTK+2 based text/hex editor
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Vendor: Alston Chen
URL: http://madedit.sourceforge.net/
Group: Applications/Editors
Source0: %{name}-%{version}.tar.gz
Packager: Alston Chen <[email protected]>
BuildRoot: %{_builddir}/%{name}-%{version}-root
BuildRequires: gtk2-devel >= 2.4.0, boost, wxGTK-devel
Requires: gtk2 >= 2.4.0, wxGTK
Docdir: %{prefix}/share/doc
%description
MadEdit is a cross-platform Text/Hex Editor.
MadEdit supports many useful functions, e.g. SyntaxHighlightings,
WordWrap, Encodings, Column/Hex Modes.
%prep
%setup
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,0755)
%doc README.txt
%{_bindir}/*
%{_datadir}/madedit/*
%{_datadir}/pixmaps/*
%{_datadir}/applications/*
%{_datadir}/locale/zh_TW/LC_MESSAGES/madedit-mod.mo
%{_datadir}/locale/zh_CN/LC_MESSAGES/madedit-mod.mo
%{_datadir}/locale/it_IT/LC_MESSAGES/madedit-mod.mo
%{_datadir}/locale/ja_JP/LC_MESSAGES/madedit-mod.mo
%{_datadir}/locale/ja_JP/LC_MESSAGES/madedit-mod.mo
%changelog