- Updated to version 0.9.30

- Remove the obsolete .spec BuildRoot tag.
- Do not install manfiles for executables which are not in the path
f39
Joost van der Sluis 14 years ago
parent 5777983850
commit 68068e9750

1
.gitignore vendored

@ -1 +1,2 @@
lazarus-0.9.28-src.tar.bz2 lazarus-0.9.28-src.tar.bz2
/lazarus-0.9.30-src.tar.bz2

@ -1,6 +1,6 @@
Name: lazarus Name: lazarus
Version: 0.9.28.2 Version: 0.9.30
Release: 3%{?dist} Release: 1%{?dist}
Summary: Lazarus Component Library and IDE for Freepascal Summary: Lazarus Component Library and IDE for Freepascal
Group: Development/Languages Group: Development/Languages
@ -10,7 +10,6 @@ URL: http://www.lazarus.freepascal.org/
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2 Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2
patch0: Makefile_patch.diff patch0: Makefile_patch.diff
patch1: Desktop_patch.diff patch1: Desktop_patch.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fpc, binutils, glibc-devel, desktop-file-utils, fpc-src, gtk2-devel BuildRequires: fpc, binutils, glibc-devel, desktop-file-utils, fpc-src, gtk2-devel
Requires: fpc-src, fpc, binutils, glibc-devel, gdb, gtk2-devel Requires: fpc-src, fpc, binutils, glibc-devel, gdb, gtk2-devel
@ -18,7 +17,7 @@ Requires: fpc-src, fpc, binutils, glibc-devel, gdb, gtk2-devel
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
%description %description
A free and opensource RAD tool for freepascal using the lazarus A free and opensource RAD tool for Free Pascal using the Lazarus
component library - LCL, which is also included in this package. component library - LCL, which is also included in this package.
%prep %prep
@ -34,9 +33,6 @@ cd tools
find install -depth -type d ! \( -path "install/linux/*" -o -path "install/linux" -o -path "install" \) -exec rm -rf '{}' \; find install -depth -type d ! \( -path "install/linux/*" -o -path "install/linux" -o -path "install" \) -exec rm -rf '{}' \;
cd .. cd ..
# Remove scripts vulnerable to symlink-attacks (bug 460642)
rm tools/convert_po_file_to_utf-8.sh
export FPCDIR=%{_datadir}/fpcsrc/ export FPCDIR=%{_datadir}/fpcsrc/
fpcmake -Tall fpcmake -Tall
make tools OPT='-gl' make tools OPT='-gl'
@ -46,16 +42,7 @@ make lazbuilder OPT='-gl'
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
# These files have the wrong executable-bit set in version 0.9.28:
chmod -x lazarus/tools/chmmaker/chmwriter.lpi
chmod -x lazarus/tools/chmmaker/unit1.pas
chmod -x lazarus/tools/chmmaker/unit1.lfm
chmod -x lazarus/tools/chmmaker/unit1.lrs
chmod +x lazarus/components/lazsvnpkg/lazsvnpkg_images.sh
chmod +x lazarus/examples/trayicon/createbundle.sh
make -C lazarus install INSTALL_PREFIX=%{buildroot}%{_prefix} _LIB=%{_lib} make -C lazarus install INSTALL_PREFIX=%{buildroot}%{_prefix} _LIB=%{_lib}
make -C lazarus/install/man INSTALL_MANDIR=%{buildroot}%{_mandir}
install -D -p -m 0644 lazarus/install/lazarus-mime.xml $LazBuildDir%{buildroot}%{_datadir}/mime/packages/lazarus.xml install -D -p -m 0644 lazarus/install/lazarus-mime.xml $LazBuildDir%{buildroot}%{_datadir}/mime/packages/lazarus.xml
install -D -p -m 0644 lazarus/images/ide_icon48x48.png %{buildroot}%{_datadir}/pixmaps/lazarus.png install -D -p -m 0644 lazarus/images/ide_icon48x48.png %{buildroot}%{_datadir}/pixmaps/lazarus.png
@ -101,6 +88,11 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Wed Apr 27 2011 Joost van der Sluis <joost@cnoc.nl> - 0.9.30-1
- Updated to version 0.9.30
- Remove the obsolete .spec BuildRoot tag.
- Do not install manfiles for executables which are not in the path
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.28.2-3 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.28.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

@ -1 +1 @@
52dc157fa1e83e90b5331820bd616d81 lazarus-0.9.28.2-src.tar.bz2 5ece11700df569ebb518ccca37d93f1d lazarus-0.9.30-src.tar.bz2

Loading…
Cancel
Save