rpms/opticalraytracer/devel import.log, NONE, 1.1 opticalraytracer.desktop, NONE, 1.1 opticalraytracer.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Miloš Jakubíček
mjakubicek at fedoraproject.org
Mon Oct 6 14:29:34 UTC 2008
Author: mjakubicek
Update of /cvs/pkgs/rpms/opticalraytracer/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25609/devel
Modified Files:
.cvsignore sources
Added Files:
import.log opticalraytracer.desktop opticalraytracer.spec
Log Message:
-Initial commit
--- NEW FILE import.log ---
opticalraytracer-1_2-1_fc9:HEAD:opticalraytracer-1.2-1.fc9.src.rpm:1223303212
--- NEW FILE opticalraytracer.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Optical Ray Tracer
GenericName=Optical Ray Tracer
Comment=Utility that analyzes systems of lenses
Exec=raytracer
Icon=OpticalRayTracer
Terminal=false
Type=Application
Categories=Graphics;
--- NEW FILE opticalraytracer.spec ---
Name: opticalraytracer
Version: 1.2
Release: 1%{?dist}
Summary: Utility that analyzes systems of lenses
Group: Amusements/Graphics
License: GPLv2+
URL: http://arachnoid.com/OpticalRayTracer/index.html
Source0: http://arachnoid.com/OpticalRayTracer/raytracer.tar.bz2
Source1: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libXext-devel
BuildRequires: zlib-devel
BuildRequires: libjpeg-devel
BuildRequires: qt3-devel
BuildRequires: kdebase3-devel
BuildRequires: desktop-file-utils
%description
OpticalRayTracer is a X Window GUI-based utility that analyzes systems of
lenses. It uses optical principles and a virtual optical bench to predict
the behavior of many kinds of ordinary and exotic lens types.
OpticalRayTracer includes an advanced, easy-to-use interface that allows the
user to rearrange the optical configuration by simply dragging lenses around
using the mouse.
%prep
%setup -q -n raytracer
%build
# honor $RPM_OPT_FLAGS
sed -i 's|CXXFLAGS="$ac_save_CXXFLAGS"|CXXFLAGS="$RPM_OPT_FLAGS"|' configure
%configure --disable-rpath
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
desktop-file-install --vendor="fedora" \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE1}
install -D -p -m644 src/OpticalRayTracer.png \
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/OpticalRayTracer.png
# do not use absolute symlinks
rm $RPM_BUILD_ROOT%{_docdir}/HTML/en/raytracer/common
pushd $RPM_BUILD_ROOT%{_docdir}/HTML/en/raytracer
ln -s ../common
popd
%clean
rm -rf $RPM_BUILD_ROOT
%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
%files
%defattr(-,root,root,-)
%doc COPYING AUTHORS
%{_bindir}/raytracer
%{_datadir}/apps/raytracer/
%{_datadir}/applications/fedora-opticalraytracer.desktop
%{_datadir}/icons/hicolor/32x32/apps/OpticalRayTracer.png
%{_docdir}/HTML/en/raytracer/
%changelog
* Sun Sep 14 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 1.2-1
- Update to 1.2
- Revisited description
- Removed both -x86_64.patch and -autotools.patch as they were merged upstream.
- No more 'make -f Makefile.cvs dist' needed.
* Fri Sep 5 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 1.1-1
- Initial release.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/opticalraytracer/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 6 Oct 2008 09:51:44 -0000 1.1
+++ .cvsignore 6 Oct 2008 14:29:03 -0000 1.2
@@ -0,0 +1 @@
+raytracer.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/opticalraytracer/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Oct 2008 09:51:44 -0000 1.1
+++ sources 6 Oct 2008 14:29:03 -0000 1.2
@@ -0,0 +1 @@
+059e888e5ea6f1dc2fadf59a13ce780a raytracer.tar.bz2
More information about the fedora-extras-commits
mailing list