Tomas Cech 2013-12-19 09:01:42 +00:00 committed by Git OBS Bridge
parent 17e7c80005
commit d7bb53cfba

View File

@ -1,6 +1,7 @@
#
# spec file for package eperiodique
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) specCURRENT_YEAR SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -15,18 +16,19 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: eperiodique
Version: 0.4
Release: 0
License: BSD-2-Clause
Summary: Periodic table of elements in EFL
Url: http://eperiodique.sourceforge.net/
License: BSD-2-Clause
Group: Amusements/Teaching/Other
Url: http://eperiodique.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
BuildRequires: eina-devel >= 1.7.0
BuildRequires: evas-devel >= 1.7.0
BuildRequires: edje-devel >= 1.7.0
BuildRequires: elementary-devel >= 1.7.0
BuildRequires: edje >= 1.7.0
BuildRequires: pkgconfig(eina) >= 1.7.0
BuildRequires: pkgconfig(elementary) >= 1.7.0
BuildRequires: pkgconfig(evas) >= 1.7.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{suse_version}
BuildRequires: fdupes
@ -44,7 +46,7 @@ basic data for each element, pictures, Bohr models and lattice structures.
make %{?_smp_mflags}
%install
make install DESTDIR="%{buildroot}"
make install DESTDIR="%{buildroot}" %{?_smp_mflags}
mkdir %{buildroot}%{_datadir}/pixmaps
rm -rf %{buildroot}%{_datadir}/doc
mv %{buildroot}%{_datadir}/icons/%{name}.png %{buildroot}/%{_datadir}/pixmaps/