Name: ptbl Version: 1.0 Release: 11%{?dist} Summary: Periodic Table Group: Applications/Productivity License: GPLv3+ URL: http://web.warwick.ac.uk/~phslav/packs.html#ptbl Source0: http://download-mirror.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz Source1: ptbl.1 Source2: ptbl.desktop BuildRequires: gtk2-devel >= 2.10 BuildRequires: glib2-devel >= 2.0 BuildRequires: gnome-doc-utils >= 0.3.2 BuildRequires: gettext BuildRequires: rarian-compat BuildRequires: desktop-file-utils %description Periodic Table application. Each element shows a list of physical/chemical properties, mainly focusing at the need of Condensed Matter Physicist and Material Scientist. %prep %setup -q %build %configure make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %find_lang ptbl-manual --with-gnome find %{buildroot} -type f install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/ptbl.1 desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE2} rm -vf %{buildroot}%{_datadir}/images/ptbl.png install -p -D -m 0644 images/* %{buildroot}%{_datadir}/gnome/help/ptbl-manual/C/images/%{name}.png install -p -D -m 0644 images/* %{buildroot}%{_datadir}/pixmaps/%{name}.png desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %files -f ptbl-manual.lang %doc COPYING %{_bindir}/%{name} %{_datadir}/pixmaps/ptbl.png %{_mandir}/man1/ptbl.1* %{_datadir}/applications/ptbl.desktop %{_datadir}/gnome/help/ptbl-manual/C/images/%{name}.png %changelog * Mon Jan 21 2013 Rudra Banerjee - 1.0-11 -Desktop icon and help pictures corrected. * Sat Jan 19 2013 Rudra Banerjee - 1.0-10 -rpmlint do not show any permission error anymore as pointed in different comments. *Sat Jan 19 2013 Rudra Banerjee - 1.0-9 -icons are placed in correct place, as pointed in https://bugzilla.redhat.com/show_bug.cgi?id=895541#c14 . * Tue Jan 15 2013 Rudra Banerjee - 1.0-8 - Corrected all concerns in https://bugzilla.redhat.com/show_bug.cgi?id=895541#c14, except the strange permission. * Tue Jan 15 2013 Rudra Banerjee - 1.0-7 -man page added, and other corrections are taken care as in https://bugzilla.redhat.com/show_bug.cgi?id=895541#c14 * Tue Jan 15 2013 Rudra Banerjee - 1.0-6 - spec file changed to include the BuildRequires via koji * Tue Jan 15 2013 Rudra Banerjee - 1.0-5 - spec file updated as per https://bugzilla.redhat.com/show_bug.cgi?id=895541#c10 and https://bugzilla.redhat.com/show_bug.cgi?id=895541#c11 * Tue Jan 15 2013 Rudra Banerjee - 1.0-4 - description field updated as https://bugzilla.redhat.com/show_bug.cgi?id=895541#c8 * Tue Jan 15 2013 Rudra Banerjee - 1.0-3 - spec file updated: install and file field edited as suggest by kalev and rdieter in #fedora-devel * Tue Jan 15 2013 Rudra Banerjee - 1.0-2 - spec file changed as per https://bugzilla.redhat.com/show_bug.cgi?id=895541#c1 * Tue Jan 15 2013 Rudra Banerjee - 1.0-1 - Initial Package