]> git.pld-linux.org Git - packages/gchempaint.git/blob - gchempaint.spec
c45d1b0b2ee1b20d697af11ff69d2b3a3f485d08
[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 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:  gcu-lib-devel >= 0.1.3
17 Requires:       gcu-lib >= 0.1.3
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
21
22 %description
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
26 Gnumeric and Abiword.
27
28 %description -l pl
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
33 Abiword.
34
35 %prep
36 %setup -q
37
38 %build
39 %{__aclocal}
40 %{__autoconf}
41 %{__autoheader}
42 %configure
43 %{__make}
44
45 %install
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
50
51 %find_lang %{name} --with-gnome
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post   -p /usr/bin/scrollkeeper-update
57 %postun -p /usr/bin/scrollkeeper-update
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README
62 %attr(755,root,root) %{_bindir}/%{name}
63 %{_datadir}/%{name}
64 %{_datadir}/gnome/ui/*.xml
65 %{_omf_dest_dir}/*
66 %{_desktopdir}/%{name}.desktop
67 %{_pixmapsdir}/*.png
68 %{_datadir}/mime-info/%{name}.*
69 %{_libdir}/bonobo/servers/%{name}.server
This page took 0.040283 seconds and 2 git commands to generate.