gperiodic/gperiodic.spec

80 lines
2.3 KiB
RPMSpec

Name: gperiodic
Version: 3.0.3
Release: 1mamba
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: https://www.frantz.fi/software/gperiodic.php
Source: http://downloads.sourceforge.net/project/gperiodic/gperiodic-%{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
%{_datadir}/icons/hicolor/*/apps/gperiodic.png
%dir %{_datadir}/pixmaps
%{_datadir}/pixmaps/*
%{_mandir}/man1/gperiodic.1*
%doc AUTHORS
#ChangeLog README
%changelog
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* Mon Feb 01 2016 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic update by autodist
* Thu Apr 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.0-1mamba
- update to 3.0.0
* 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