SPECS: lazarus.spec - up to 0.9.14 - it works but still many to do
rotom
rotom at pld-linux.org
Tue Apr 25 23:39:12 CEST 2006
Author: rotom Date: Tue Apr 25 21:39:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 0.9.14
- it works but still many to do
---- Files affected:
SPECS:
lazarus.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/lazarus.spec
diff -u SPECS/lazarus.spec:1.5 SPECS/lazarus.spec:1.6
--- SPECS/lazarus.spec:1.5 Wed Dec 29 23:16:13 2004
+++ SPECS/lazarus.spec Tue Apr 25 23:39:07 2006
@@ -2,19 +2,19 @@
Summary: Lazarus Component Library and IDE
Summary(pl): Lazarus - biblioteka komponentów i IDE
Name: lazarus
-Version: 0.9.2.4
-%define _snap 041207
+Version: 0.9.14
Release: 0.1
-License: LGPL v2/GPL v2
+License: GPL and modified LGPL
Group: Development/Tools
-Source0: http://dl.sourceforge.net/lazarus/lazarus-%{_snap}.tgz
-# Source0-md5: f7572e3a94211ae063830889c64e77f1
+Source0: http://dl.sourceforge.net/lazarus/%{name}-%{version}-1.tar.gz
+# Source0-md5: 7ee733185e5f0dc10f6c7084e1505c60
URL: http://www.lazarus.freepascal.org/
-BuildRequires: fpc >= 1.0.10
-# is it noarch??? if not, it's heavily broken (binaries in datadir, no optflags)
-BuildRequires: noarch-or-FHS+optflags
-Requires: fpcsrc >= 1.9.5
-Requires: gdk-pixbuf-devel >= 0.18.0
+BuildRequires: fpc >= 2.0.2
+BuildRequires: gtk+-devel
+BuildRequires: gdk-pixbuf-devel
+BuildRequires: glibc-devel
+Requires: fpc-src >= 2.0.2
+Requires: gdk-pixbuf >= 0.18.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define lazdir %{_datadir}/lazarus
@@ -33,19 +33,27 @@
%setup -q -n %{name}
%build
+
%{__make}
+strip lazarus
+strip startlazarus
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/lazarus,%{_pixmapsdir},%{_desktopdir},%{_bindir}} \
- $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{_snap}
+ $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-install exampels/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{_snap}
+for i in components docs doceditor ide lcl units converter debugger ideintf languages localize.bat startlazarus \
+designer images lazarus localize.sh packager tools ; do
+cp -a $i $RPM_BUILD_ROOT%{_datadir}/lazarus
+done
-cp -a lazarus/* $RPM_BUILD_ROOT%{_datadir}/lazarus
-install lazarus/images/ide_icon48x48.png $RPM_BUILD_ROOT%{_pixmapsdir}/lazarus.png
-install lazarus/gnome.ide.desktop $RPM_BUILD_ROOT%{_desktopdir}/lazarus.desktop
+install images/ide_icon48x48.png $RPM_BUILD_ROOT%{_pixmapsdir}/lazarus.png
+install install/lazarus.desktop $RPM_BUILD_ROOT%{_desktopdir}/lazarus.desktop
ln -sf %{lazdir}/lazarus $RPM_BUILD_ROOT%{_bindir}/lazarus
+ln -sf %{lazdir}/startlazarus $RPM_BUILD_ROOT%{_bindir}/startlazarus
%clean
rm -rf $RPM_BUILD_ROOT
@@ -54,10 +62,13 @@
%defattr(644,root,root,755)
%doc docs/* README
%attr(755,root,root) %{_bindir}/lazarus
+%attr(755,root,root) %{_bindir}/startlazarus
%{_datadir}/lazarus
+%attr(755,root,root) %{_datadir}/lazarus/lazarus
+%attr(755,root,root) %{_datadir}/lazarus/startlazarus
%{_pixmapsdir}/lazarus.png
%{_desktopdir}/lazarus.desktop
-%{_examplesdir}/%{name}-%{_snap}
+%{_examplesdir}/%{name}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -65,6 +76,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2006/04/25 21:39:07 rotom
+- up to 0.9.14
+- it works but still many to do
+
Revision 1.5 2004/12/29 22:16:13 speedo
- typo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lazarus.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list