]> git.pld-linux.org Git - packages/tea.git/blob - tea.spec
- updated to 4.0
[packages/tea.git] / tea.spec
1 Summary:        Powerful text editor
2 Summary(pl):    Edytor tekstu o du¿ych mo¿liwo¶ciach
3 Name:           tea
4 Version:        4.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Editors
8 Source0:        http://tea.linux.kiev.ua/%{name}.tar.bz2
9 # Source0-md5:  b874966f4d3910aeacaaabea7154078a
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-Makefile.patch
12 URL:            http://tea.linux.kiev.ua/
13 BuildRequires:  gtk+2-devel >= 2.2.0
14 BuildRequires:  pkgconfig
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 TEA is a very small, but powerful text editor with many unique
19 features.
20
21 %description -l pl
22 TEA to bardzo ma³y edytor tekstu o du¿ych mo¿liwo¶ciach, posiadaj±cy
23 wiele wyj±tkowych cech.
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 %build
30 %{__aclocal}
31 %{__autoconf}
32 %{__automake}
33 %configure
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 install %{name}_icon_v2.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
45 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
46
47 %find_lang %{name}
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files -f %{name}.lang
53 %defattr(644,root,root,755)
54 %doc AUTHORS ChangeLog FAQ NEWS README TODO doc/*
55 %attr(755,root,root) %{_bindir}/*
56 %{_desktopdir}/*
57 %{_pixmapsdir}/*
This page took 0.028316 seconds and 3 git commands to generate.