]> git.pld-linux.org Git - packages/gchempaint.git/blob - gchempaint.spec
- removed obsoleted GNOME mime-info stuff, new style macros
[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.4.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Science
8 Source0:        http://savannah.nongnu.org/download/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  6d02d5ec9b5371529b308b4ba7983a38
10 URL:            http://www.nongnu.org/gchempaint/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libglade2-devel >= 2.0.0
14 BuildRequires:  libgnomeprintui-devel >= 2.1.3
15 BuildRequires:  libgnomeui-devel >= 2.0.0
16 BuildRequires:  libtool
17 BuildRequires:  gnome-chemistry-utils-devel >= 0.2.5
18 BuildRequires:  openbabel-devel >= 1.100.2
19 Requires:       gnome-chemistry-utils >= 0.2.5
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
23
24 %description
25 GChemPaint is a 2D chemical structures editor for the GNOME-2 desktop.
26 GChemPaint is a multi-document application and will be a bonobo server
27 so that some chemistry could be embedded in GNOME applications such as
28 Gnumeric and Abiword.
29
30 %description -l pl
31 GChemPaint jest edytorem dwuwymiarowych wzorów chemicznych dla
32 ¶rodowiska GNOME-2. GChemPaint pozwala na edycjê wielu dokumentów
33 jednocze¶nie i bêdzie serwerem bonobo, co pozwoli na u¿ywanie wzorów
34 chemicznych w innych aplikacjach GNOME, takich jak Gnumeric czy
35 Abiword.
36
37 %prep
38 %setup -q
39
40 %build
41 %{__libtoolize}
42 %{__aclocal}
43 %{__autoconf}
44 %{__autoheader}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
55
56 %find_lang %{name} --with-gnome
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post
62 %scrollkeeper_update_post
63
64 %postun
65 %scrollkeeper_update_post
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS ChangeLog NEWS README TODO
70 %attr(755,root,root) %{_bindir}/%{name}
71 %{_datadir}/%{name}
72 %{_datadir}/gnome-2.0/ui/*
73 %{_omf_dest_dir}/%{name}
74 %{_desktopdir}/%{name}.desktop
75 %{_pixmapsdir}/*.png
76 %{_libdir}/bonobo/servers/%{name}.server
This page took 0.358178 seconds and 3 git commands to generate.