|
|
@ -1,13 +1,13 @@
|
|
|
|
Name: lazarus
|
|
|
|
Name: lazarus
|
|
|
|
Version: 1.2
|
|
|
|
Version: 1.4
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 0.1.RC2%{?dist}
|
|
|
|
Summary: Lazarus Component Library and IDE for Freepascal
|
|
|
|
Summary: Lazarus Component Library and IDE for Freepascal
|
|
|
|
|
|
|
|
|
|
|
|
Group: Development/Languages
|
|
|
|
Group: Development/Languages
|
|
|
|
# GNU Classpath style exception, see COPYING.modifiedLGPL
|
|
|
|
# GNU Classpath style exception, see COPYING.modifiedLGPL
|
|
|
|
License: GPLv2+ and MPLv1.1 and LGPLv2+ with exceptions
|
|
|
|
License: GPLv2+ and MPLv1.1 and LGPLv2+ with exceptions
|
|
|
|
URL: http://www.lazarus.freepascal.org/
|
|
|
|
URL: http://www.lazarus.freepascal.org/
|
|
|
|
Source0: http://downloads.sourceforge.net/project/%{name}/Lazarus%20Zip%20_%20GZip/Lazarus%20%{version}/%{name}-%{version}-0.tar.gz
|
|
|
|
Source0: http://downloads.sourceforge.net/project/%{name}/Lazarus%20Zip%20_%20GZip/Lazarus%20%{version}RC2/%{name}-%{version}RC2-0.tar.gz
|
|
|
|
patch0: Makefile_patch.diff
|
|
|
|
patch0: Makefile_patch.diff
|
|
|
|
patch1: Desktop_patch.diff
|
|
|
|
patch1: Desktop_patch.diff
|
|
|
|
|
|
|
|
|
|
|
@ -32,31 +32,21 @@ rm -rf debian
|
|
|
|
cd tools
|
|
|
|
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 patch-backup files
|
|
|
|
|
|
|
|
rm Makefile.fpc.orig
|
|
|
|
|
|
|
|
rm install/lazarus.desktop.orig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export FPCDIR=%{_datadir}/fpcsrc/
|
|
|
|
export FPCDIR=%{_datadir}/fpcsrc/
|
|
|
|
fpcmake -Tall
|
|
|
|
fpcmake -Tall
|
|
|
|
make bigide OPT='-gl -gw'
|
|
|
|
make bigide OPT='-gl -gw'
|
|
|
|
make tools OPT='-gl -gw'
|
|
|
|
make tools OPT='-gl -gw'
|
|
|
|
# make lazbuilder OPT='-gl -gw'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
make -C lazarus install INSTALL_PREFIX=%{buildroot}%{_prefix} _LIB=%{_lib}
|
|
|
|
make -C lazarus install INSTALL_PREFIX=%{buildroot}%{_prefix} _LIB=%{_lib}
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
desktop-file-install \
|
|
|
|
desktop-file-install \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
lazarus/install/%{name}.desktop
|
|
|
|
lazarus/install/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
|
|
ln -sf ../%{_lib}/%{name}/lazarus %{buildroot}%{_bindir}/lazarus-ide
|
|
|
|
|
|
|
|
ln -sf ../%{_lib}/%{name}/startlazarus %{buildroot}%{_bindir}/startlazarus
|
|
|
|
|
|
|
|
ln -sf ../%{_lib}/%{name}/lazbuild %{buildroot}%{_bindir}/lazbuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/lazarus
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/lazarus
|
|
|
|
sed 's#__LAZARUSDIR__#%{_libdir}/%{name}#;s#__FPCSRCDIR__#%{_datadir}/fpcsrc#' \
|
|
|
|
sed 's#__LAZARUSDIR__#%{_libdir}/%{name}#;s#__FPCSRCDIR__#%{_datadir}/fpcsrc#' \
|
|
|
|
lazarus/tools/install/linux/environmentoptions.xml \
|
|
|
|
lazarus/tools/install/linux/environmentoptions.xml \
|
|
|
@ -68,18 +58,23 @@ chmod 755 %{buildroot}%{_libdir}/%{name}/components/lazreport/tools/localize.sh
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post
|
|
|
|
update-desktop-database -q &> /dev/null ||:
|
|
|
|
/usr/bin/update-desktop-database -q &> /dev/null || :
|
|
|
|
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
|
|
|
/bin/touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
|
|
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%postun
|
|
|
|
update-desktop-database -q &> /dev/null ||:
|
|
|
|
/usr/bin/update-desktop-database -q &> /dev/null ||:
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
|
|
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
%posttrans
|
|
|
|
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
@ -87,9 +82,13 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
%{_bindir}/%{name}-ide
|
|
|
|
%{_bindir}/%{name}-ide
|
|
|
|
%{_bindir}/startlazarus
|
|
|
|
%{_bindir}/startlazarus
|
|
|
|
%{_bindir}/lazbuild
|
|
|
|
%{_bindir}/lazbuild
|
|
|
|
|
|
|
|
%{_bindir}/lazres
|
|
|
|
|
|
|
|
%{_bindir}/lrstolfm
|
|
|
|
|
|
|
|
%{_bindir}/updatepofiles
|
|
|
|
%{_datadir}/pixmaps/lazarus.png
|
|
|
|
%{_datadir}/pixmaps/lazarus.png
|
|
|
|
%{_datadir}/applications/*%{name}.desktop
|
|
|
|
%{_datadir}/applications/*%{name}.desktop
|
|
|
|
%{_datadir}/mime/packages/lazarus.xml
|
|
|
|
%{_datadir}/mime/packages/lazarus.xml
|
|
|
|
|
|
|
|
%{_datadir}/icons/hicolor/48x48/mimetypes/*
|
|
|
|
%doc lazarus/COPYING*
|
|
|
|
%doc lazarus/COPYING*
|
|
|
|
%doc lazarus/README.txt
|
|
|
|
%doc lazarus/README.txt
|
|
|
|
%dir %{_sysconfdir}/lazarus
|
|
|
|
%dir %{_sysconfdir}/lazarus
|
|
|
@ -97,6 +96,10 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Mar 9 2015 Joost van der Sluis <joost@cnoc.nl> - 1.4-0.1.RC2
|
|
|
|
|
|
|
|
- Updated to version 1.4RC2
|
|
|
|
|
|
|
|
- Fixed invalid dates in changelog
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 18 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2-4
|
|
|
|
* Mon Aug 18 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2-4
|
|
|
|
- update scriptlets
|
|
|
|
- update scriptlets
|
|
|
|
|
|
|
|
|
|
|
@ -133,7 +136,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.30.4-2
|
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.30.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 18 2012 Joost van der Sluis <joost@cnoc.nl> - 0.9.30.4-1
|
|
|
|
* Wed Apr 18 2012 Joost van der Sluis <joost@cnoc.nl> - 0.9.30.4-1
|
|
|
|
- Updated to version 0.9.30.4
|
|
|
|
- Updated to version 0.9.30.4
|
|
|
|
- Use default fonts, editoroptions.xml file removed
|
|
|
|
- Use default fonts, editoroptions.xml file removed
|
|
|
|
|
|
|
|
|
|
|
@ -191,7 +194,7 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
* Wed Jun 18 2008 Joost van der Sluis <joost@cnoc.nl> 0.9.24-4
|
|
|
|
* Wed Jun 18 2008 Joost van der Sluis <joost@cnoc.nl> 0.9.24-4
|
|
|
|
- removed the trailing slash from the FPCDIR export in the build section
|
|
|
|
- removed the trailing slash from the FPCDIR export in the build section
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 24 2008 Joost van der Sluis <joost@cnoc.nl> 0.9.24-3
|
|
|
|
* Thu Apr 24 2008 Joost van der Sluis <joost@cnoc.nl> 0.9.24-3
|
|
|
|
- Remove executable-bit in install-section, instead of the files section
|
|
|
|
- Remove executable-bit in install-section, instead of the files section
|
|
|
|
- Enabled debug-package on x86_64
|
|
|
|
- Enabled debug-package on x86_64
|
|
|
|
|
|
|
|
|
|
|
@ -239,15 +242,15 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|
|
|
* Tue May 23 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-4
|
|
|
|
* Tue May 23 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-4
|
|
|
|
- Only build the basic IDE, to remove dependencies on things which are buggy in fpc 2.0.2
|
|
|
|
- Only build the basic IDE, to remove dependencies on things which are buggy in fpc 2.0.2
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 4 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-3
|
|
|
|
* Thu May 4 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-3
|
|
|
|
- Added the ability to create gtk2-applications
|
|
|
|
- Added the ability to create gtk2-applications
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 4 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-2
|
|
|
|
* Thu May 4 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-2
|
|
|
|
- Updated to version 0.9.14-1.
|
|
|
|
- Updated to version 0.9.14-1.
|
|
|
|
- Changed the Source0 download url from prdownloads to
|
|
|
|
- Changed the Source0 download url from prdownloads to
|
|
|
|
downloads.sourceforge.net
|
|
|
|
downloads.sourceforge.net
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 10 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-1
|
|
|
|
* Mon Apr 10 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.14-1
|
|
|
|
- Updated to version 0.9.14.
|
|
|
|
- Updated to version 0.9.14.
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 28 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.12-1
|
|
|
|
* Tue Mar 28 2006 Joost van der Sluis <joost@cnoc.nl> 0.9.12-1
|
|
|
|