]>
Commit | Line | Data |
---|---|---|
4c240f86 | 1 | Summary: gEdit - small but powerful text editor for X Window |
8b8012b2 | 2 | Summary(pl.UTF-8): gEdit - mały ale potężny edytor tekstu dla X Window |
95f04ed4 | 3 | Name: gedit |
71d29097 | 4 | Version: 0.9.7 |
b098c59b | 5 | Release: 3 |
0229a946 | 6 | Epoch: 1 |
1441e6dd | 7 | License: GPL v2+ |
8d9b438c | 8 | Group: X11/Applications/Editors |
1441e6dd | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gedit/0.9/%{name}-%{version}.tar.bz2 |
956890db | 10 | # Source0-md5: ebef0c5e02fd3592350ff5b6fb9c6725 |
71d29097 | 11 | Patch0: %{name}-gnome-config.patch |
1441e6dd | 12 | URL: http://gedit.sourceforge.net/ |
51ed3159 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
817d405f | 15 | BuildRequires: docbook-style-dsssl |
2b7c4bcc | 16 | BuildRequires: gettext-tools |
86d6bdc3 | 17 | BuildRequires: gnome-libs-devel > 1.0.55 |
51ed3159 | 18 | BuildRequires: gnome-print-devel >= 0.28 |
1441e6dd | 19 | BuildRequires: gnome-vfs-devel >= 1.0 |
832887ab | 20 | BuildRequires: gtk+-devel >= 1.2.7 |
d11e559e | 21 | BuildRequires: imlib-devel |
9edc11a9 | 22 | BuildRequires: libglade-gnome-devel >= 0.11 |
817d405f | 23 | BuildRequires: libtool |
86d6bdc3 | 24 | BuildRequires: zlib-devel |
817d405f | 25 | Obsoletes: gedit-devel |
1441e6dd | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
176a254d | 27 | |
4c240f86 | 28 | |
176a254d | 29 | %description |
e72a9b77 | 30 | gEdit is a small but powerful text editor for GTK+ and/or GNOME. It |
c3dd3ece | 31 | includes such features as split-screen mode, a plugin API, which |
32 | allows gEdit to be extended to support many features while remaining | |
33 | small at its core, multiple document editing and many more functions. | |
95f04ed4 | 34 | |
f9668e14 JR |
35 | %description -l pl.UTF-8 |
36 | gEdit jest małym ale potężnym edytorem tekstu dla GTK+ i/lub GNOME. | |
c3dd3ece | 37 | Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek", |
f9668e14 JR |
38 | który umożliwia rozszerzenie funkcji gEdita o dodatkowe możliwości, |
39 | nie zwiększając rozmiarów samego programu, możliwość edycji wielu | |
40 | dokumentów naraz i wiele innych. | |
176a254d | 41 | |
176a254d | 42 | %prep |
95f04ed4 | 43 | %setup -q |
f5fe7d92 | 44 | %patch0 -p1 |
51ed3159 | 45 | |
176a254d | 46 | %build |
71d29097 | 47 | sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp |
48 | mv -f configure.in.tmp configure.in | |
49 | rm -f missing acinclude.m4 | |
b8cb4ac0 | 50 | %{__libtoolize} |
6c6fe175 | 51 | %{__gettextize} |
8600db9e | 52 | %{__aclocal} -I macros |
b5ccbd2c | 53 | %{__autoconf} |
54 | %{__automake} | |
832887ab | 55 | %configure \ |
f6b3052b | 56 | --disable-static |
176a254d | 57 | |
1441e6dd JB |
58 | %{__make} \ |
59 | gtkrcdir=%{_datadir}/misc | |
176a254d | 60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
176a254d | 63 | |
6c0078d2 | 64 | %{__make} install \ |
832887ab | 65 | DESTDIR=$RPM_BUILD_ROOT \ |
226352bf | 66 | sysdir=%{_applnkdir}/Editors |
95f04ed4 | 67 | |
832887ab | 68 | %find_lang %{name} --with-gnome |
b65cc828 | 69 | |
176a254d | 70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
b65cc828 | 73 | %files -f %{name}.lang |
95f04ed4 | 74 | %defattr(644,root,root,755) |
9edc11a9 | 75 | %doc FAQ README README.plugins ChangeLog TODO AUTHORS THANKS |
4c240f86 | 76 | %attr(755,root,root) %{_bindir}/gedit |
f5fe7d92 | 77 | %dir %{_libdir}/gedit |
78 | %dir %{_libdir}/gedit/plugins | |
79 | %attr(755,root,root) %{_libdir}/gedit/plugins/*.so.*.* | |
80 | %{_libdir}/gedit/plugins/*.so | |
2b6ca5da | 81 | %{_pixmapsdir}/* |
f5fe7d92 | 82 | %{_datadir}/gedit |
4c240f86 | 83 | %{_datadir}/mime-info/* |
226352bf | 84 | %{_applnkdir}/Editors/gedit.desktop |
2ad62a44 | 85 | %{_mandir}/man1/* |