X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=gedit0.spec;h=5df19b84abdf34a1ca6eaa96418b0c1acadf97fb;hb=ab2e546f6acf64046f4631b838f65410cf2aa2d0;hp=3aff767ccc72a3af7525ae0d5fd30a51128a49ed;hpb=4c240f86773283dcb6a476799cedb3b2af9d7924;p=packages%2Fgedit0.git diff --git a/gedit0.spec b/gedit0.spec index 3aff767..5df19b8 100644 --- a/gedit0.spec +++ b/gedit0.spec @@ -1,105 +1,71 @@ Summary: gEdit - small but powerful text editor for X Window Summary(pl): gEdit - ma³y ale potê¿ny edytor tekstu dla X Window Name: gedit -Version: 0.5.4 -Release: 1 -Copyright: GPL +Version: 0.9.1 +Release: 2 +License: GPL Group: X11/Applications/Editors +Group(de): X11/Applikationen/Editors Group(pl): X11/Aplikacje/Edytory -Source: http://gedit.pn.org/%{name}-%{version}.tar.gz -Patch0: gedit-desktop.patch -Patch1: gedit-DESTDIR.patch -Patch2: gedit-dcl.patch -Patch3: gedit-plugins.patch -URL: http://gedit.pn.org -BuildRequires: gtk+-devel >= 1.2.0 -BuildRequires: glib-devel >= 1.2.0 +Group(pt): X11/Aplicações/Editores +Source0: ftp://download.sourceforge.net/pub/sourceforge/gedit/%{name}-%{version}.tar.gz +URL: http://gedit.sourceforge.net/ +BuildRequires: gettext-devel +BuildRequires: gnome-libs-devel > 1.0.55 +BuildRequires: gnome-print-devel >= 0.23 +BuildRequires: gtk+-devel >= 1.2.7 BuildRequires: imlib-devel +BuildRequires: libglade-devel >= 0.11 BuildRequires: zlib-devel -BuildRequires: XFree86-devel -BuildRequires: gnome-libs-devel -Requires: go -BuildRoot: /tmp/%{name}-%{version}-root +Requires: go-plugins +Obsoletes: gedit-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 %define _mandir %{_prefix}/man %description -gEdit is a small but powerful text editor for GTK+ and/or GNOME. -It includes such features as split-screen mode, a plugin API, which -allows gEdit to be extended to support many features while remaining +gEdit is a small but powerful text editor for GTK+ and/or GNOME. It +includes such features as split-screen mode, a plugin API, which +allows gEdit to be extended to support many features while remaining small at its core, multiple document editing and many more functions. %description -l pl gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME. Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek", który umo¿liwia rozszerzenie funkcji gEdita o dodatkowe mo¿liwo¶ci, -nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu +nie zwiêkszaj±c rozmiarów samego programu, mo¿liwo¶æ edycji wielu dokumentów naraz i wiele innych. -%package devel -Summary: Develop plugins for the gEdit editor -Summary(pl): Biblioteki umo¿liwiaj±ce pisanie wtyczek dla gEdit -Group: Development/Libraries -Group(pl): Programowanie/Biblioteki -Requires: %{name} = %{version} - -%description devel -gEdit is a small but powerful text editor for GTK+ and/or GNOME. -This package allows you to develop plugins that work within -gEdit. Plugins can create new documents and manipulate documents -in arbitrary ways. - -%description devel -l pl -gEdit jest ma³ym ale potê¿nym edytorem tekstu dla GTK+ i/lub GNOME. -Ten pakiet zawiera biblioteki umo¿liwiaj±ce pisanie "wtyczek" dla gEdita. -"Wtyczki" mog± tworzyæ nowe dokumenty i manipulowaæ nimi na wiele róznych -sposobów. - %prep %setup -q -%patch0 -p0 -%patch1 -p1 -%patch2 -p0 -%patch3 -p0 %build -LDFLAGS="-s" ; export LDFLAGS -%configure +gettextize --copy --force +%configure \ + --disable-static -make +%{__make} gtkrcdir=%{_datadir}/misc %install rm -rf $RPM_BUILD_ROOT -make install-strip DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT \ + sysdir=%{_applnkdir}/Office/Editors -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/gedit.1 \ - FAQ README README.plugins ChangeLog TODO AUTHORS THANKS KNOWNBUGS +gzip -9nf FAQ README README.plugins ChangeLog TODO AUTHORS THANKS -%find_lang %{name} +%find_lang %{name} --with-gnome %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc {FAQ,README,ChangeLog,TODO,AUTHORS,THANKS,README.plugins,KNOWNBUGS}.gz +%doc *.gz %attr(755,root,root) %{_bindir}/gedit - -%{_datadir}/applnk/Editors/gedit.desktop - -%dir %{_datadir}/gnome/help/gedit -%{_datadir}/gnome/help/gedit/C -%lang(no) %{_datadir}/gnome/help/gedit/no - %{_datadir}/pixmaps/* %{_datadir}/mime-info/* -%{_datadir}/geditrc -%{_mandir}/man1/gedit.1.gz - -%files devel -%defattr(644,root,root,755) -%dir %{_includedir}/gedit -%{_includedir}/gedit/client.h -%{_libdir}/libclient.a +%{_applnkdir}/Office/Editors/gedit.desktop +%{_mandir}/man1/*