1 Summary: XML Editor for GNOME
2 Summary(pl.UTF-8): Edytor XML-a dla GNOME
7 Group: X11/Applications/Editors
8 Source0: http://ftp.gnome.org/pub/gnome/sources/mlview/0.7/%{name}-%{version}.tar.bz2
9 # Source0-md5: 85383331e5bb6d59293cee5b86595284
10 Patch0: %{name}-locale-names.patch
11 Patch1: %{name}-desktop.patch
12 URL: http://www.freespiders.org/projects/gmlview/
13 BuildRequires: GConf2-devel >= 2.10.0
14 BuildRequires: autoconf >= 2.52
15 BuildRequires: automake
16 BuildRequires: eel-devel >= 2.10.0
17 BuildRequires: gettext-devel
18 BuildRequires: gnome-common >= 2.8.0
19 BuildRequires: gtk+2-devel >= 2:2.6.4
20 BuildRequires: intltool >= 0.33
21 BuildRequires: libglade2-devel >= 1:2.5.1
22 BuildRequires: libgnome-devel >= 2.10.0-2
23 #BuildRequires: libgnomeui-devel >= 2.0
24 BuildRequires: libtool
25 BuildRequires: libxml2-devel >= 1:2.6.19
26 BuildRequires: libxslt >= 1.1.14
27 BuildRequires: rpmbuild(macros) >= 1.197
28 Requires(post): /sbin/ldconfig
29 Requires(post,preun): GConf2
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 gnome-mlview (GNOME Markup Language Viewer) is an XML editor for
34 GNOME. It include support to view, edit, validate and save xml
35 document by graphically manipulate the xml Document Object Model.
37 %description -l pl.UTF-8
38 gnome-mlview (GNOME Markup Language Viewer) to edytor XML-a dla GNOME.
39 Umożliwia przeglądanie, modyfikowanie oraz zapisywanie dokumentów XML
40 z graficznym interfejsem.
58 --disable-schemas-install
62 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
67 DESTDIR=$RPM_BUILD_ROOT
69 cp $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}-app-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
71 # Remove useless static file
72 rm -f $RPM_BUILD_ROOT%{_libdir}/libmlview.la
74 %find_lang %{name} --with-gnome
77 rm -rf $RPM_BUILD_ROOT
81 %gconf_schema_install mlview.schemas
84 %gconf_schema_uninstall mlview.schemas
86 %postun -p /sbin/ldconfig
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/mlv
91 %attr(755,root,root) %{_libdir}/lib*.so.*.*
93 %{_desktopdir}/mlview.desktop
95 %{_sysconfdir}/gconf/schemas/*