1 Summary: GNOME 2D chemical structure drawing tool
2 Summary(pl): Program GNOME do rysowania dwuwymiarowych wzorów chemicznych
7 Group: X11/Applications/Science
8 Source0: http://savannah.nongnu.org/download/gchempaint/unstable.pkg/%{version}/%name-%{version}.tar.bz2
9 URL: http://www.nongnu.org/gchempaint
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: libglade2-devel >= 2.0.0
13 BuildRequires: libgnomeprint-devel >= 2.0.0
14 BuildRequires: libgnomeprintui-devel >= 2.1.3
15 BuildRequires: libgnomeui-devel >= 2.0.0
16 BuildRequires: gnome-chemistry-utils-devel >= 0.1.3
17 Requires: gnome-chemistry-utils >= 0.1.3
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 %define _noautoreqdep libGL.so.1 libGLU.so.1
23 GChemPaint is a 2D chemical structures editor for the Gnome-2 desktop.
24 GChemPaint is a multi-document application and will be a bonobo server
25 so that some chemistry could be embedded in Gnome applications such as
29 GChemPaint jest edytorem dwuwymiarowych wzorów chemicznych dla
30 ¶rodowiska Gnome-2. GChemPaint pozwala na edycjê wielu dokumentów
31 jednocze¶nie i bêdzie serwerem bonobo, co pozwoli na u¿ywanie wzorów
32 chemicznych w innych aplikacjach Gnome, takich jak Gnumeric czy
46 rm -rf $RPM_BUILD_ROOT
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48 ##crappy fix for make install running scrollkeeper-update
49 #rm -fr $RPM_BUILD_ROOT/var
51 %find_lang %{name} --with-gnome
54 rm -rf $RPM_BUILD_ROOT
56 %post -p /usr/bin/scrollkeeper-update
57 %postun -p /usr/bin/scrollkeeper-update
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README
62 %attr(755,root,root) %{_bindir}/%{name}
64 %{_datadir}/gnome/ui/*.xml
66 %{_desktopdir}/%{name}.desktop
68 %{_datadir}/mime-info/%{name}.*
69 %{_libdir}/bonobo/servers/%{name}.server