From 0dcb67b1849667e5d3d8431ee338832ca4ad9424 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:22:30 +0100 Subject: [PATCH] automatic rebuild by autodist [release 2.0.10-2mamba;Mon Aug 19 2013] --- README.md | 2 + gperiodic-2.0.10-makefile.patch | 9 +++++ gperiodic-2.0.10-path.patch | 18 +++++++++ gperiodic.spec | 67 +++++++++++++++++++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 gperiodic-2.0.10-makefile.patch create mode 100644 gperiodic-2.0.10-path.patch create mode 100644 gperiodic.spec diff --git a/README.md b/README.md index 9fd606a..e10817b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # 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. + diff --git a/gperiodic-2.0.10-makefile.patch b/gperiodic-2.0.10-makefile.patch new file mode 100644 index 0000000..6ce8ea6 --- /dev/null +++ b/gperiodic-2.0.10-makefile.patch @@ -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 diff --git a/gperiodic-2.0.10-path.patch b/gperiodic-2.0.10-path.patch new file mode 100644 index 0000000..a56a561 --- /dev/null +++ b/gperiodic-2.0.10-path.patch @@ -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 diff --git a/gperiodic.spec b/gperiodic.spec new file mode 100644 index 0000000..f7c2117 --- /dev/null +++ b/gperiodic.spec @@ -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 +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 2.0.10-2mamba +- automatic rebuild by autodist + +* Sun Jul 20 2008 gil 2.0.10-1mamba +- update to 2.0.10 +- edit patch +- added patch (remove -DGTK_DISABLE_DEPRECATED) + +* Tue Aug 30 2005 Massimo Pintore 2.0.8-1qilnx +- package created by autospec