]>
Commit | Line | Data |
---|---|---|
4c240f86 | 1 | Summary: gEdit - small but powerful text editor for X Window |
f9668e14 | 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 |
e72a9b77 | 7 | License: GPL |
8d9b438c | 8 | Group: X11/Applications/Editors |
6ad146c4 | 9 | Source0: ftp://ftp.gnome.org/pub/GNOME/sources/gedit/0.9/%{name}-%{version}.tar.bz2 |
956890db | 10 | # Source0-md5: ebef0c5e02fd3592350ff5b6fb9c6725 |
832887ab | 11 | URL: http://gedit.sourceforge.net/ |
71d29097 | 12 | Patch0: %{name}-gnome-config.patch |
51ed3159 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
817d405f | 15 | BuildRequires: docbook-style-dsssl |
86d6bdc3 | 16 | BuildRequires: gettext-devel |
17 | BuildRequires: gnome-libs-devel > 1.0.55 | |
51ed3159 | 18 | BuildRequires: gnome-print-devel >= 0.28 |
d89a4d0e | 19 | BuildRequires: gnome-vfs >= 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 |
b098c59b | 25 | BuildRequires: gnome-vfs-devel |
bf57e4e2 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
817d405f | 27 | Obsoletes: gedit-devel |
176a254d | 28 | |
4c240f86 | 29 | |
176a254d | 30 | %description |
e72a9b77 | 31 | gEdit is a small but powerful text editor for GTK+ and/or GNOME. It |
c3dd3ece | 32 | includes such features as split-screen mode, a plugin API, which |
33 | allows gEdit to be extended to support many features while remaining | |
34 | small at its core, multiple document editing and many more functions. | |
95f04ed4 | 35 | |
f9668e14 JR |
36 | %description -l pl.UTF-8 |
37 | gEdit jest małym ale potężnym edytorem tekstu dla GTK+ i/lub GNOME. | |
c3dd3ece | 38 | Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek", |
f9668e14 JR |
39 | który umożliwia rozszerzenie funkcji gEdita o dodatkowe możliwości, |
40 | nie zwiększając rozmiarów samego programu, możliwość edycji wielu | |
41 | dokumentów naraz i wiele innych. | |
176a254d | 42 | |
176a254d | 43 | %prep |
95f04ed4 | 44 | %setup -q |
f5fe7d92 | 45 | %patch0 -p1 |
51ed3159 | 46 | |
176a254d | 47 | %build |
71d29097 | 48 | sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp |
49 | mv -f configure.in.tmp configure.in | |
50 | rm -f missing acinclude.m4 | |
b8cb4ac0 | 51 | %{__libtoolize} |
6c6fe175 | 52 | %{__gettextize} |
8600db9e | 53 | %{__aclocal} -I macros |
b5ccbd2c | 54 | %{__autoconf} |
55 | %{__automake} | |
832887ab | 56 | %configure \ |
f6b3052b | 57 | --disable-static |
176a254d | 58 | |
6c0078d2 | 59 | %{__make} 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/* |