]> git.pld-linux.org Git - packages/gchempaint.git/blob - gchempaint.spec
46214bec60f95b3ea7659fa2f3f9754d2287a0a6
[packages/gchempaint.git] / gchempaint.spec
1 Summary:        GNOME 2D chemical structure drawing tool
2 Summary(pl):    Program GNOME do rysowania dwuwymiarowych wzorów chemicznych
3 Name:           gchempaint
4 Version:        0.3.3
5 Release:        1
6 License:        GPL
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)
20
21 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
22
23 %description
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
27 Gnumeric and Abiword.
28
29 %description -l pl
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
34 Abiword.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__aclocal}
41 %{__autoconf}
42 %{__autoheader}
43 %configure
44 %{__make}
45
46 %install
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
51
52 %find_lang %{name} --with-gnome
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post   -p /usr/bin/scrollkeeper-update
58 %postun -p /usr/bin/scrollkeeper-update
59
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog NEWS README
63 %attr(755,root,root) %{_bindir}/%{name}
64 %{_datadir}/%{name}
65 # it seems to be the only package using this dir
66 %dir %{_datadir}/gnome/ui
67 %{_datadir}/gnome/ui/*.xml
68 %{_omf_dest_dir}/*
69 %{_desktopdir}/%{name}.desktop
70 %{_pixmapsdir}/*.png
71 %{_datadir}/mime-info/%{name}.*
72 %{_libdir}/bonobo/servers/%{name}.server
This page took 0.054438 seconds and 2 git commands to generate.