automatic rebuild by autodist [release 2.0.10-2mamba;Mon Aug 19 2013]
This commit is contained in:
parent
809c2275c9
commit
0dcb67b184
@ -1,2 +1,4 @@
|
|||||||
# gperiodic
|
# gperiodic
|
||||||
|
|
||||||
|
GPeriodic is a periodic table application for Linux. It allows you to browse through a periodic table of the elements, and view detailed information on each of the elements. This program also features a non-graphical interface.
|
||||||
|
|
||||||
|
9
gperiodic-2.0.10-makefile.patch
Normal file
9
gperiodic-2.0.10-makefile.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
--- gperiodic-2.0.10/Makefile 2007-07-11 14:58:05.000000000 +0200
|
||||||
|
+++ gperiodic-2.0.10-gil/Makefile 2008-07-20 15:31:34.000000000 +0200
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
CC := gcc
|
||||||
|
-CFLAGS := `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
|
||||||
|
+CFLAGS := `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
|
||||||
|
LIBS :=`pkg-config --libs gtk+-2.0`
|
||||||
|
bindir ?= /usr/bin
|
||||||
|
datadir ?= /usr/share
|
18
gperiodic-2.0.10-path.patch
Normal file
18
gperiodic-2.0.10-path.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- gperiodic-2.0.10/gperiodic.desktop 2007-07-11 14:58:05.000000000 +0200
|
||||||
|
+++ gperiodic-2.0.10-gil/gperiodic.desktop 2008-07-20 15:41:33.000000000 +0200
|
||||||
|
@@ -2,11 +2,14 @@
|
||||||
|
Encoding=UTF-8
|
||||||
|
Categories=Education;Science;Chemistry;Physics;
|
||||||
|
Comment=A program for looking up data of elements from the periodic table.
|
||||||
|
+Comment[it]=Tavola periodica degli elementi.
|
||||||
|
Comment[da]=Et program til at vise data om grundstofferne i det priodiske system.
|
||||||
|
Comment[pl]=Program do wyszukiwania danych pierwiastków z tablicy okresowej.
|
||||||
|
Comment[sv]=En lathund för information om grundämnena i den periodiska tabellen.
|
||||||
|
+GenericName=A program for looking up data of elements from the periodic table.
|
||||||
|
+GenericName[it]=Tavola periodica degli elementi.
|
||||||
|
Exec=gperiodic
|
||||||
|
-Icon=gperiodic
|
||||||
|
+Icon=gperiodic-crystal.png
|
||||||
|
Name=GPeriodic
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
67
gperiodic.spec
Normal file
67
gperiodic.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
Name: gperiodic
|
||||||
|
Version: 2.0.10
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: GPeriodic is a periodic table application for Linux
|
||||||
|
Group: Graphical Desktop/Applications/Educational
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.frantz.fi/software/gperiodic.php
|
||||||
|
Source: http://www.frantz.fi/software/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: %{name}-2.0.10-path.patch
|
||||||
|
Patch1: %{name}-2.0.10-makefile.patch
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libatk-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: libgtk-devel
|
||||||
|
BuildRequires: libpango-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
GPeriodic is a periodic table application for Linux. It allows you to browse through a periodic table of the elements, and view detailed information on each of the elements. This program also features a non-graphical interface.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/%{_bindir}
|
||||||
|
mkdir -p %{buildroot}/%{_datadir}/pixmaps
|
||||||
|
mkdir -p %{buildroot}/%{_datadir}/applications
|
||||||
|
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%dir %{_datadir}/pixmaps
|
||||||
|
%{_datadir}/pixmaps/*
|
||||||
|
%doc AUTHORS ChangeLog README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Aug 19 2013 Automatic Build System <autodist@mambasoft.it> 2.0.10-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Sun Jul 20 2008 gil <puntogil@libero.it> 2.0.10-1mamba
|
||||||
|
- update to 2.0.10
|
||||||
|
- edit patch
|
||||||
|
- added patch (remove -DGTK_DISABLE_DEPRECATED)
|
||||||
|
|
||||||
|
* Tue Aug 30 2005 Massimo Pintore <massimo.pintore@qilinux.it> 2.0.8-1qilnx
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user