68 lines
1.9 KiB
RPMSpec
68 lines
1.9 KiB
RPMSpec
|
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
|