From 3e96d8251028eb59545e39e773fefb9ddbaacc06 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Nov 03 2008 20:05:34 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..8a718a3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +corrida-0.96-11.tar.gz diff --git a/corrida.desktop b/corrida.desktop new file mode 100644 index 0000000..3538565 --- /dev/null +++ b/corrida.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Corrida +Comment=Application for archivation of meteor observations +GenericName=Corrida +Exec=corrida %f +Icon=corrida +Categories=Graphics;Education; +Terminal=false diff --git a/corrida.spec b/corrida.spec new file mode 100644 index 0000000..7bb5ba1 --- /dev/null +++ b/corrida.spec @@ -0,0 +1,67 @@ +%define version_major 0.96 +%define version_minor 11 + +Name: corrida +Version: %{version_major}.%{version_minor} +Release: 1%{?dist} +Summary: Application for archivation of meteor observations + +Group: Amusements/Graphics +License: GPLv2 +URL: http://corrida.pkim.org/ +Source0: http://corrida.pkim.org/releases/corrida-%{version_major}-%{version_minor}.tar.gz +Source1: corrida.desktop +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gtk2-devel +BuildRequires: ImageMagick +BuildRequires: desktop-file-utils + +%description +Application was designed by Polish Fireball Center cooperators to ease +archivation of meteor observations. + + +%prep +%setup -q -n corrida-%{version_major}-%{version_minor} + + +%build +find . -type f |xargs chmod 0644 +make %{?_smp_mflags} PREFIX=%{_prefix}/ CFLAGS="%{optflags}" +convert common/corrida.ico corrida.png + + +%install +rm -rf $RPM_BUILD_ROOT +make install PREFIX=$RPM_BUILD_ROOT%{_prefix}/ + +# Directory structure +install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps +install -d $RPM_BUILD_ROOT%{_datadir}/applications + +# Icon +install -pm 0644 corrida.png $RPM_BUILD_ROOT%{_datadir}/pixmaps + +# Menu entry +desktop-file-install --vendor=fedora %{SOURCE1} \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_bindir}/corrida +%{_bindir}/torero +%{_datadir}/corrida +%{_datadir}/pixmaps/* +%{_datadir}/applications/* +%doc copying + + +%changelog +* Sun Nov 02 2008 Lubomir Rintel (Fedora Astronomy) - 0.96.11-1 +- Initial packaging attempt diff --git a/import.log b/import.log new file mode 100644 index 0000000..c469be3 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +corrida-0_96_11-1_el5:EL-5:corrida-0.96.11-1.el5.src.rpm:1225746292 diff --git a/sources b/sources index e69de29..d64ca91 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +19a6ad86c093b34d7ddb64ff6e5e38e0 corrida-0.96-11.tar.gz