]> git.pld-linux.org Git - SPECS.git/blob - mergeant.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / mergeant.spec
1 Summary:        Mergeant database admin tool
2 Summary(pl.UTF-8):      Narzędzie do administrowania bazami danych
3 Name:           mergeant
4 Version:        0.67
5 Release:        2
6 License:        GPL
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)
33
34 %description
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).
40
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).
46
47 %prep
48 %setup -q
49
50 %build
51 rm -f missing
52 %{__glib_gettextize}
53 %{__libtoolize}
54 %{__aclocal}
55 %{__autoconf}
56 %{__automake}
57 %configure \
58         --disable-update-mimedb \
59         --enable-gtk-doc \
60         --with-html-dir=%{_gtkdocdir}
61
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT \
69         HTML_DIR=%{_gtkdocdir} \
70         pkgconfigdir=%{_pkgconfigdir} \
71         omf_dest_dir=%{_omf_dest_dir}/%{name}
72
73 %find_lang %{name} --with-gnome --all-name
74
75 # Remove testing binaries
76 rm -f $RPM_BUILD_ROOT%{_bindir}/mg-test*
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 /usr/bin/scrollkeeper-update
83 %update_mime_database
84 %update_desktop_database_post
85 %update_icon_cache hicolor
86
87 %postun
88 /usr/bin/scrollkeeper-update
89 %update_desktop_database_postun
90 %update_mime_database
91 %update_icon_cache hicolor
92
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
This page took 1.262991 seconds and 3 git commands to generate.