1 Summary: Mergeant database admin tool
2 Summary(pl.UTF-8): Narzędzie do administrowania bazami danych
7 Group: Applications/Databases
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/mergeant/0.67/%{name}-%{version}.tar.bz2
9 # Source0-md5: c0cf45891f7704b11fb00281068b2f6f
10 BuildRequires: GConf2-devel >= 2.4.0
11 BuildRequires: autoconf >= 2.52
12 BuildRequires: automake
13 BuildRequires: gnome-common >= 2.8.0
14 BuildRequires: gtk+2-devel >= 2:2.4.4
15 BuildRequires: gtk-doc
16 BuildRequires: intltool >= 0.11
17 BuildRequires: libgda3-devel >= 1.2.1
18 BuildRequires: libglade2 >= 2.0.1
19 BuildRequires: libgnomedb3-devel >= 1.2.1
20 BuildRequires: libgnomeprintui-devel >= 2.4.0
21 BuildRequires: libgnomeui-devel >= 2.4.0
22 BuildRequires: libtool
23 BuildRequires: libxml2-devel
24 BuildRequires: pkgconfig
25 BuildRequires: scrollkeeper
26 Requires(post,postun): desktop-file-utils
27 Requires(post,postun): gtk-update-icon-cache
28 Requires(post,postun): hicolor-icon-theme
29 Obsoletes: mergeant-devel
30 Obsoletes: mergeant-libs
31 Obsoletes: mergeant-static
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Mergeant is a program which helps administer a DBMS database using the
36 gnome-db framework. Basically, it memorizes all the structure of the
37 database, and some queries, and does the SQL queries instead of the
38 user (not having to type all over again those SQL commands, although
39 it is still possible to do so).
41 %description -l pl.UTF-8
42 Mergeant to program pomagający w administrowaniu bazą DBMS przy użyciu
43 środowiska gnome-db. Zapamiętuje całą strukturę bazy i część zapytań,
44 a następnie wykonuje zapytania SQL zamiast użytkownika (który nie musi
45 wpisywać ciągle tych samych poleceń SQL - choć jest to nadal możliwe).
58 --disable-update-mimedb \
60 --with-html-dir=%{_gtkdocdir}
65 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT \
69 HTML_DIR=%{_gtkdocdir} \
70 pkgconfigdir=%{_pkgconfigdir} \
71 omf_dest_dir=%{_omf_dest_dir}/%{name}
73 %find_lang %{name} --with-gnome --all-name
75 # Remove testing binaries
76 rm -f $RPM_BUILD_ROOT%{_bindir}/mg-test*
79 rm -rf $RPM_BUILD_ROOT
82 /usr/bin/scrollkeeper-update
84 %update_desktop_database_post
85 %update_icon_cache hicolor
88 /usr/bin/scrollkeeper-update
89 %update_desktop_database_postun
91 %update_icon_cache hicolor
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog NEWS
96 %attr(755,root,root) %{_bindir}/mergeant
97 %{_libdir}/bonobo/servers/*.server
98 %{_desktopdir}/*.desktop
99 %{_omf_dest_dir}/%{name}
100 %{_pixmapsdir}/mergeant
101 %{_pixmapsdir}/mergeant.png
102 %{_iconsdir}/hicolor/48x48/mimetypes/*.png
103 %{_datadir}/mime/packages/mergeant.xml