SPECS: lazarus.spec - cleanups - lazarus-desktop.patch added
rotom
rotom at pld-linux.org
Thu Apr 27 20:41:08 CEST 2006
Author: rotom Date: Thu Apr 27 18:41:08 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cleanups
- lazarus-desktop.patch added
---- Files affected:
SPECS:
lazarus.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/lazarus.spec
diff -u SPECS/lazarus.spec:1.6 SPECS/lazarus.spec:1.7
--- SPECS/lazarus.spec:1.6 Tue Apr 25 23:39:07 2006
+++ SPECS/lazarus.spec Thu Apr 27 20:41:03 2006
@@ -3,12 +3,13 @@
Summary(pl): Lazarus - biblioteka komponentów i IDE
Name: lazarus
Version: 0.9.14
-Release: 0.1
+Release: 0.2
License: GPL and modified LGPL
Group: Development/Tools
Source0: http://dl.sourceforge.net/lazarus/%{name}-%{version}-1.tar.gz
# Source0-md5: 7ee733185e5f0dc10f6c7084e1505c60
URL: http://www.lazarus.freepascal.org/
+Patch0: %{name}-desktop.patch
BuildRequires: fpc >= 2.0.2
BuildRequires: gtk+-devel
BuildRequires: gdk-pixbuf-devel
@@ -31,6 +32,7 @@
%prep
%setup -q -n %{name}
+%patch0 -p1
%build
@@ -40,16 +42,21 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/lazarus,%{_pixmapsdir},%{_desktopdir},%{_bindir}} \
+install -d $RPM_BUILD_ROOT{%{_datadir}/lazarus/docs,%{_pixmapsdir},%{_desktopdir},%{_bindir}} \
$RPM_BUILD_ROOT%{_examplesdir}/%{name}
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
-for i in components docs doceditor ide lcl units converter debugger ideintf languages localize.bat startlazarus \
+for i in components 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 docs/*.html $RPM_BUILD_ROOT%{_datadir}/lazarus/docs
+cp -a docs/html $RPM_BUILD_ROOT%{_datadir}/lazarus/docs
+cp -a docs/images $RPM_BUILD_ROOT%{_datadir}/lazarus/docs
+cp -a docs/xml $RPM_BUILD_ROOT%{_datadir}/lazarus/docs
+
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
@@ -60,7 +67,7 @@
%files
%defattr(644,root,root,755)
-%doc docs/* README
+%doc docs/*.txt docs/*.pdf README
%attr(755,root,root) %{_bindir}/lazarus
%attr(755,root,root) %{_bindir}/startlazarus
%{_datadir}/lazarus
@@ -76,6 +83,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2006/04/27 18:41:03 rotom
+- cleanups
+- lazarus-desktop.patch added
+
Revision 1.6 2006/04/25 21:39:07 rotom
- up to 0.9.14
- it works but still many to do
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/lazarus.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list