1 Summary: GNOME 2D chemical structure drawing tool
2 Summary(pl.UTF-8): Program GNOME do rysowania dwuwymiarowych wzorów chemicznych
7 Group: X11/Applications/Science
8 Source0: http://savannah.nongnu.org/download/gchempaint/0.6/%{name}-%{version}.tar.bz2
9 # Source0-md5: 3b81f99972bedccd5f19a6bda785d451
10 URL: http://www.nongnu.org/gchempaint/
11 BuildRequires: autoconf >= 2.50
12 BuildRequires: automake
13 BuildRequires: gnome-chemistry-utils-devel >= 0.4.7
14 BuildRequires: gnome-doc-utils
15 BuildRequires: gnome-vfs2-devel >= 2.6.0
16 BuildRequires: gtk+2-devel >= 2:2.6.0
17 BuildRequires: libbonoboui-devel >= 2.6.0
18 BuildRequires: libglade2-devel >= 2.4.0
19 BuildRequires: libgnomeprintui-devel >= 2.6.0
20 BuildRequires: libgnomeui-devel >= 2.6.0
21 BuildRequires: libtool
22 BuildRequires: rpmbuild(macros) >= 1.198
23 BuildRequires: shared-mime-info >= 0.12
25 Requires(post,postun): scrollkeeper
26 Requires(post,postun): /sbin/ldconfig
27 Requires: gnome-chemistry-utils >= 0.4.7
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _noautoreqdep libGL.so.1 libGLU.so.1
33 GChemPaint is a 2D chemical structures editor for the GNOME-2 desktop.
34 GChemPaint is a multi-document application and will be a bonobo server
35 so that some chemistry could be embedded in GNOME applications such as
38 %description -l pl.UTF-8
39 GChemPaint jest edytorem dwuwymiarowych wzorów chemicznych dla
40 środowiska GNOME-2. GChemPaint pozwala na edycję wielu dokumentów
41 jednocześnie i będzie serwerem bonobo, co pozwoli na używanie wzorów
42 chemicznych w innych aplikacjach GNOME, takich jak Gnumeric czy
46 Summary: Header files for gchempaint
47 Summary(pl.UTF-8): Pliki nagłówkowe dla programu gchempaint
48 Group: X11/Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: gnome-chemistry-utils-devel >= 0.4.7
51 Requires: gnome-vfs2-devel >= 2.6.0
52 Requires: gtk+2-devel >= 2:2.6.0
53 Requires: libbonoboui-devel >= 2.6.0
54 Requires: libglade2-devel >= 2.4.0
55 Requires: libgnomeprintui-devel >= 2.6.0
56 Requires: libgnomeui-devel >= 2.6.0
59 The gchempaint-devel package contains the header files necessary for
60 developing programs using gchempaint, and especially for writing new
63 %description devel -l pl.UTF-8
64 Pakiet gchempaint-devel zawiera pliki nagłówkowe niezbędne do
65 tworzenia oprogramowania wykorzystującego gchempaint, a zwłaszcza do
66 tworzenia wtyczek do niego.
69 Summary: Static gchempaint libraries
70 Summary(pl.UTF-8): Statyczne biblioteki programu gchempaint
71 Group: X11/Development/Libraries
72 Requires: %{name}-devel = %{version}-%{release}
75 Static gchempaint libraries.
77 %description static -l pl.UTF-8
78 Statyczne biblioteki programu gchempaint.
90 --disable-update-databases \
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT
100 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{la,a}
102 %find_lang %{name} --with-gnome
105 rm -rf $RPM_BUILD_ROOT
108 %scrollkeeper_update_post
111 update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||:
112 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
115 %scrollkeeper_update_postun
117 if [ "$1" = "0" ]; then
119 update-mime-database %{_datadir}/mime >/dev/null 2>&1
120 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
123 %files -f %{name}.lang
124 %defattr(644,root,root,755)
125 %doc AUTHORS ChangeLog NEWS README TODO
126 %attr(755,root,root) %{_bindir}/%{name}
127 %attr(755,root,root) %{_bindir}/%{name}-viewer
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
129 %dir %{_libdir}/%{name}
130 %dir %{_libdir}/%{name}/plugins
131 %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
132 %{_libdir}/bonobo/servers/%{name}.server
133 %{_sysconfdir}/gconf/schemas/*
135 %{_datadir}/mime/packages/*
136 %{_desktopdir}/%{name}.desktop
137 %{_iconsdir}/hicolor/128x128/apps/*
138 %{_iconsdir}/hicolor/128x128/mimetypes/*
139 %{_iconsdir}/hicolor/32x32/apps/*
140 %{_iconsdir}/hicolor/32x32/mimetypes/*
141 %{_iconsdir}/hicolor/48x48/apps/*
142 %{_iconsdir}/hicolor/48x48/mimetypes/*
143 %{_iconsdir}/hicolor/72x72/apps/*
144 %{_iconsdir}/hicolor/72x72/mimetypes/*
145 %{_omf_dest_dir}/gchempaint
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_libdir}/lib*.so
151 %{_includedir}/%{name}
154 %defattr(644,root,root,755)