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 # Source0-md5: cdf5fa5d07884a1ee6a00cf6acb40ed8
10 URL: http://www.nongnu.org/gchempaint/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libglade2-devel >= 2.0.0
14 BuildRequires: libgnomeprint-devel >= 2.0.0
15 BuildRequires: libgnomeprintui-devel >= 2.1.3
16 BuildRequires: libgnomeui-devel >= 2.0.0
17 BuildRequires: gnome-chemistry-utils-devel >= 0.1.3
18 Requires: gnome-chemistry-utils >= 0.1.3
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _noautoreqdep libGL.so.1 libGLU.so.1
24 GChemPaint is a 2D chemical structures editor for the GNOME-2 desktop.
25 GChemPaint is a multi-document application and will be a bonobo server
26 so that some chemistry could be embedded in GNOME applications such as
30 GChemPaint jest edytorem dwuwymiarowych wzorów chemicznych dla
31 ¶rodowiska GNOME-2. GChemPaint pozwala na edycjê wielu dokumentów
32 jednocze¶nie i bêdzie serwerem bonobo, co pozwoli na u¿ywanie wzorów
33 chemicznych w innych aplikacjach GNOME, takich jak Gnumeric czy
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} install DESTDIR=$RPM_BUILD_ROOT
49 ##crappy fix for make install running scrollkeeper-update
50 #rm -fr $RPM_BUILD_ROOT/var
52 %find_lang %{name} --with-gnome
55 rm -rf $RPM_BUILD_ROOT
57 %post -p /usr/bin/scrollkeeper-update
58 %postun -p /usr/bin/scrollkeeper-update
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog NEWS README
63 %attr(755,root,root) %{_bindir}/%{name}
65 # it seems to be the only package using this dir
66 %dir %{_datadir}/gnome/ui
67 %{_datadir}/gnome/ui/*.xml
69 %{_desktopdir}/%{name}.desktop
71 %{_datadir}/mime-info/%{name}.*
72 %{_libdir}/bonobo/servers/%{name}.server