]> git.pld-linux.org Git - SPECS.git/blob - gperiodic.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gperiodic.spec
1 Summary:        Displays a periodic table of the elements
2 Summary(pl.UTF-8):      Wyświetla układ okresowy pierwiastków
3 Name:           gperiodic
4 Version:        2.0.9
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Science
8 Source0:        http://www.frantz.fi/software/%{name}-%{version}.tar.gz
9 # Source0-md5:  6ecd96c3cf6b204cfe5210d67f107bcb
10 URL:            http://www.frantz.fi/software/gperiodic.php
11 BuildRequires:  gtk+2-devel >= 1:2.0
12 BuildRequires:  pkgconfig
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Gperiodic displays a periodic table of the elements, allowing you to
17 browse through the elements, and view detailed information about each
18 element.
19
20 %description -l pl.UTF-8
21 Gperiodic wyświetla układ okresowy pierwiastków. Pozwala przeglądać
22 układ i wyświetla szczegółowe informacje o pierwiastkach.
23
24 %prep
25 %setup -q
26
27 %build
28 %{__make} \
29         CC="%{__cc}" \
30         CFLAGS="%{rpmcflags} `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}}
35
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %find_lang %{name}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files -f %{name}.lang
45 %defattr(644,root,root,755)
46 %doc AUTHORS ChangeLog README
47 %attr(755,root,root) %{_bindir}/*
48 %{_desktopdir}/*.desktop
49 %{_pixmapsdir}/*.png
This page took 0.234394 seconds and 3 git commands to generate.