Summary: XML Editor for GNOME Summary(pl.UTF-8): Edytor XML-a dla GNOME Name: mlview Version: 0.7.1 Release: 3 License: GPL Group: X11/Applications/Editors Source0: http://ftp.gnome.org/pub/gnome/sources/mlview/0.7/%{name}-%{version}.tar.bz2 # Source0-md5: 85383331e5bb6d59293cee5b86595284 Patch0: %{name}-locale-names.patch Patch1: %{name}-desktop.patch URL: http://www.freespiders.org/projects/gmlview/ BuildRequires: GConf2-devel >= 2.10.0 BuildRequires: autoconf >= 2.52 BuildRequires: automake BuildRequires: eel-devel >= 2.10.0 BuildRequires: gettext-tools BuildRequires: gnome-common >= 2.8.0 BuildRequires: gtk+2-devel >= 2:2.6.4 BuildRequires: intltool >= 0.33 BuildRequires: libglade2-devel >= 1:2.5.1 BuildRequires: libgnome-devel >= 2.10.0-2 #BuildRequires: libgnomeui-devel >= 2.0 BuildRequires: libtool BuildRequires: libxml2-devel >= 1:2.6.19 BuildRequires: libxslt >= 1.1.14 BuildRequires: rpmbuild(macros) >= 1.197 Requires(post): /sbin/ldconfig Requires(post,preun): GConf2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description gnome-mlview (GNOME Markup Language Viewer) is an XML editor for GNOME. It include support to view, edit, validate and save xml document by graphically manipulate the xml Document Object Model. %description -l pl.UTF-8 gnome-mlview (GNOME Markup Language Viewer) to edytor XML-a dla GNOME. Umożliwia przeglądanie, modyfikowanie oraz zapisywanie dokumentów XML z graficznym interfejsem. %prep %setup -q %patch0 -p1 %patch1 -p1 mv po/{no,nb}.po %build %{__glib_gettextize} %{__intltoolize} %{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} %configure \ --disable-static \ --disable-schemas-install %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_pixmapsdir} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT cp $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-app-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png # Remove useless static file rm -f $RPM_BUILD_ROOT%{_libdir}/libmlview.la %find_lang %{name} --with-gnome %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig %gconf_schema_install mlview.schemas %preun %gconf_schema_uninstall mlview.schemas %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/mlv %attr(755,root,root) %{_libdir}/lib*.so.*.* %{_datadir}/mlview %{_desktopdir}/mlview.desktop %{_pixmapsdir}/* %{_sysconfdir}/gconf/schemas/*