]> git.pld-linux.org Git - packages/GXedit.git/blame_incremental - GXedit.spec
- unified or fixed %clean section
[packages/GXedit.git] / GXedit.spec
... / ...
CommitLineData
1Summary: A multi-function text editor using GTK+
2Summary(es.UTF-8): Editor multifuncional de textos que usa GTK+
3Summary(pl.UTF-8): Wielofunkcyjny edytor tekstu wykorzystujący GTK+
4Summary(pt.UTF-8): Editor de textos multifunção que usa o GTK+
5Name: GXedit
6Version: 1.23
7Release: 14
8License: GPL
9Group: X11/Applications/Editors
10# working: ftp://ibiblio.org/pub/Linux/apps/editors/X/%{name}-%{version}.tar.gz
11Source0: %{name}%{version}.tar.gz
12# Source0-md5: afbd834a2fbb73b598e600f23655c13d
13Source1: %{name}.desktop
14Patch0: %{name}-config.patch
15Patch1: %{name}-makefile.patch
16Patch2: %{name}-nobash.patch
17Patch3: %{name}-time.patch
18BuildRequires: gtk+-devel >= 1.2.0
19BuildRequires: sed >= 4.0
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Here is a fast, easy-to-use editor which is both network oriented and
24very secure. GXedit is a graphical text editor which features a
25toolbar, network bar and tooltips, spell checking, inline help, the
26ability to send text as e-mail, macros and more. GXedit was designed
27to balance these and many other features without becoming too bloated.
28
29%description -l pl.UTF-8
30Oto szybki, łatwy w obsłudze edytor, który jest nastawiony na pracę w
31sieci, a przy tym bardzo bezpieczny. GXedit jest graficznym edytorem
32tekstu, który dostarcza takich funkcji jak pasek narzędzi, sprawdzanie
33pisowni, możliwość wysyłania tekstu pocztą elektroniczną, makra i
34wiele innych. GXedit został zaprojektowany tak, aby obecność tych i
35wielu innych funkcji nie wpływała zbytnio na objętość samego programu.
36
37%description -l pt_BR.UTF-8
38O GXedit é um editor de textos gráficos com múltiplas funções que
39utiliza o GTK+.
40
41%prep
42%setup -n %{name}%{version} -q
43%patch0 -p1
44%patch1 -p1
45%patch2 -p1
46%patch3 -p1
47%{__sed} -i -e s^%{_prefix}/doc/GXedit/^%{_docdir}/%{name}-%{version}/^g gxedit.c
48
49%build
50%{__make} OPTFLAGS="%{rpmcflags} -Wall" gxe
51
52%install
53rm -rf $RPM_BUILD_ROOT
54install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
55
56%{__make} install \
57 SHARE=$RPM_BUILD_ROOT%{_datadir}/ \
58 INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir}/
59
60install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc docs/manual.txt docs/manual.ps docs/quickref.txt docs/quickref.ps
68%doc README CHANGELOG docs/DEPENDENCIES example.gxeditrc
69%attr(755,root,root) %{_bindir}/*
70%{_desktopdir}/GXedit.desktop
71%{_datadir}/GXedit
This page took 0.154822 seconds and 4 git commands to generate.