rpms/planets/F-7 planets.spec,NONE,1.1 sources,1.1,1.2

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Wed Feb 6 18:41:34 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/planets/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5284

Modified Files:
	sources 
Added Files:
	planets.spec 
Log Message:
Initial import.



--- NEW FILE planets.spec ---
Name: planets
Version:  0.1.13
Release:  2%{?dist}
Summary: A celestial simulator  

Group: Amusements/Games 
License: GPLv2+
URL: http://planets.homedns.org/
Source0: http://planets.homedns.org/dist/planets-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildRequires: desktop-file-utils, ocaml-labltk-devel, ocaml-camlp4-devel
Requires: hicolor-icon-theme
ExclusiveArch:  alpha armv4l %{ix86} ia64 x86_64 ppc sparc

%description
Planets is a simple interactive program for playing with simulations
of planetary systems

%prep
%setup -q

%build

iconv -f ISO-8859-1 -t UTF-8 TODO > iconv.tmp
mv iconv.tmp TODO

make

%install
rm -rf %{buildroot}
mkdir -p  %{buildroot}%{_bindir}
install -m 755 planets %{buildroot}%{_bindir}/planets
mkdir -p %{buildroot}/usr/share/man/man1
cp -pr planets.1 %{buildroot}%{_mandir}/man1

mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor fedora            \
  --remove-category Application               \
  --add-category Simulation                  \
  --dir %{buildroot}%{_datadir}/applications \
  planets.desktop

mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 planets.png \
  %{buildroot}%{_datadir}/icons/hicolor/32x32/apps

%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
  
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc CHANGES codeguide.txt COPYING CREDITS getting_started.html KEYBINDINGS.txt LICENSE README TODO VERSION
%{_bindir}/planets
%{_datadir}/applications/fedora-planets.desktop
%{_datadir}/icons/hicolor/32x32/apps/planets.png
%{_mandir}/man1/planets.1.gz

%changelog
* Tue Feb 5 2008 Jon Ciesla <limb at jcomserv.net> - 0.1.13-2
- Dropped unneccessary docs.
- Used rpmmacro for man page.
- Using ExclusiveArch due to ppc64 ocaml issues.

* Sun Feb 3 2008 Jon Ciesla <limb at jcomserv.net> - 0.1.13-1
- create.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/planets/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Feb 2008 17:32:55 -0000	1.1
+++ sources	6 Feb 2008 18:40:33 -0000	1.2
@@ -0,0 +1 @@
+2c72f2469ee0413bd470a2ad84f2f0f8  planets-0.1.13.tgz




More information about the fedora-extras-commits mailing list