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