]>
Commit | Line | Data |
---|---|---|
129c95c5 | 1 | Summary: Powerful text editor |
952297ef | 2 | Summary(pl.UTF-8): Edytor tekstu o dużych możliwościach |
129c95c5 | 3 | Name: tea |
89bf53bd | 4 | Version: 14.2.2 |
129c95c5 | 5 | Release: 1 |
8096d16c | 6 | License: GPL v2 |
129c95c5 | 7 | Group: X11/Applications/Editors |
89bf53bd RK |
8 | Source0: http://dl.sourceforge.net/tea-editor/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: a11090f6e08f346ff0cf20284cd47af6 | |
129c95c5 | 10 | Source1: %{name}.desktop |
89bf53bd | 11 | URL: http://tea-editor.sourceforge.net/ |
8096d16c | 12 | BuildRequires: aspell-devel |
144895ac JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
8096d16c | 15 | BuildRequires: gettext-devel |
b13fd8f9 | 16 | BuildRequires: gtk+2-devel >= 2:2.2.0 |
89bf53bd | 17 | BuildRequires: gtksourceview-devel |
129c95c5 | 18 | BuildRequires: pkgconfig |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | TEA is a very small, but powerful text editor with many unique | |
23 | features. | |
24 | ||
f881b622 JR |
25 | %description -l pl.UTF-8 |
26 | TEA to bardzo mały edytor tekstu o dużych możliwościach, posiadający | |
27 | wiele wyjątkowych cech. | |
129c95c5 | 28 | |
29 | %prep | |
89bf53bd | 30 | %setup -q |
129c95c5 | 31 | |
32 | %build | |
33 | %{__aclocal} | |
34 | %{__autoconf} | |
35 | %{__automake} | |
36 | %configure | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
129c95c5 | 41 | install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
8096d16c | 46 | install pixmaps/%{name}_icon_v2.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png |
129c95c5 | 47 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
48 | ||
49 | %find_lang %{name} | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files -f %{name}.lang | |
55 | %defattr(644,root,root,755) | |
129c95c5 | 56 | %attr(755,root,root) %{_bindir}/* |
b80d0564 | 57 | %{_datadir}/tea |
16db0b1b | 58 | %{_desktopdir}/*.desktop |
129c95c5 | 59 | %{_pixmapsdir}/* |