|
|
59ff018 |
%define host www.falconpl.org
|
|
|
59ff018 |
|
|
|
59ff018 |
Name: Falcon
|
|
|
59ff018 |
Version: 0.8.8
|
|
|
ed0086c |
Release: 3%{?dist}
|
|
|
59ff018 |
Summary: The Falcon Programming Language
|
|
|
59ff018 |
Summary(it): Il linguaggio di programmazione Falcon
|
|
|
59ff018 |
License: GPLv2+
|
|
|
59ff018 |
Group: Development/Languages
|
|
|
59ff018 |
URL: http://%{host}/
|
|
|
59ff018 |
Source: http://%{host}/downloads/%{version}/%{name}-%{version}-fc9.tar.gz
|
|
|
ed0086c |
Patch0: Falcon-0.8.8-libdir.patch
|
|
|
59ff018 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
59ff018 |
BuildRequires: bison cmake pcre-devel zlib-devel
|
|
|
59ff018 |
|
|
|
59ff018 |
%description
|
|
|
59ff018 |
The Falcon Programming Language is an embeddable scripting language
|
|
|
59ff018 |
aiming to empower even simple applications with a powerful,
|
|
|
59ff018 |
flexible, extensible and highly configurable scripting engine.
|
|
|
59ff018 |
|
|
|
59ff018 |
Falcon is also a standalone multiplatform scripting language that
|
|
|
59ff018 |
aims to be both simple and powerful.
|
|
|
59ff018 |
|
|
|
59ff018 |
%description -l it
|
|
|
59ff018 |
Il Falcon è un linguaggio di programmazione embeddabile che intende
|
|
|
59ff018 |
fornire nuove potenzialità anche a semplici applicazioni, fornendo
|
|
|
59ff018 |
loro un potente, flessibie, estendibile e configurabile motore
|
|
|
59ff018 |
di scripting.
|
|
|
59ff018 |
|
|
|
59ff018 |
Falcon è anche uno scripting languge completo e multipiattaforma,
|
|
|
59ff018 |
semplice e potente.
|
|
|
59ff018 |
|
|
|
59ff018 |
%package devel
|
|
|
59ff018 |
Summary: Development files for %{name}
|
|
|
59ff018 |
Group: Development/Libraries
|
|
|
59ff018 |
Requires: %{name} = %{version}-%{release}
|
|
|
59ff018 |
|
|
|
59ff018 |
%description devel
|
|
|
59ff018 |
The Falcon Programming Language is an embeddable scripting language
|
|
|
59ff018 |
aiming to empower even simple applications with a powerful,
|
|
|
59ff018 |
flexible, extensible and highly configurable scripting engine.
|
|
|
59ff018 |
|
|
|
59ff018 |
Falcon is also a standalone multiplatform scripting language that
|
|
|
59ff018 |
aims to be both simple and powerful.
|
|
|
59ff018 |
|
|
|
59ff018 |
This package contains development files for %{name}. This is not
|
|
|
59ff018 |
necessary for using the %{name} interpreter.
|
|
|
59ff018 |
|
|
|
59ff018 |
|
|
|
59ff018 |
%prep
|
|
|
59ff018 |
%setup -q
|
|
|
ed0086c |
%patch0 -p1 -b .libdir
|
|
|
59ff018 |
|
|
|
59ff018 |
|
|
|
59ff018 |
%build
|
|
|
59ff018 |
# Using only -j 2 (max two processors in build) flags.
|
|
|
59ff018 |
# It seems CMAKE has some problem in determining priority of startup actions
|
|
|
59ff018 |
# so the package won't build correctly with -j more than 2.
|
|
|
59ff018 |
#
|
|
|
59ff018 |
CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./build.sh \
|
|
|
59ff018 |
-p $RPM_BUILD_ROOT%{_prefix} -f %{_prefix} -l %{_lib} -j 2
|
|
|
59ff018 |
|
|
|
59ff018 |
|
|
|
59ff018 |
%install
|
|
|
59ff018 |
rm -rf $RPM_BUILD_ROOT
|
|
|
59ff018 |
./build.sh -i
|
|
|
59ff018 |
#avoid complains for cmake installed files
|
|
|
59ff018 |
rm -rf $RPM_BUILD_ROOT/build
|
|
|
59ff018 |
|
|
|
59ff018 |
|
|
|
59ff018 |
%clean
|
|
|
59ff018 |
rm -rf $RPM_BUILD_ROOT
|
|
|
59ff018 |
|
|
|
59ff018 |
%post -p /sbin/ldconfig
|
|
|
59ff018 |
|
|
|
59ff018 |
%postun -p /sbin/ldconfig
|
|
|
59ff018 |
|
|
|
59ff018 |
|
|
|
59ff018 |
%files
|
|
|
59ff018 |
%defattr(-,root,root,-)
|
|
|
59ff018 |
%doc ChangeLog README RELNOTES LICENSE GPLv2-grant
|
|
|
59ff018 |
%exclude %{_bindir}/falcon-conf
|
|
|
59ff018 |
%exclude %{_bindir}/falconeer.fal
|
|
|
59ff018 |
%exclude %{_bindir}/faltest
|
|
|
59ff018 |
%{_bindir}/*
|
|
|
59ff018 |
%exclude %{_mandir}/man1/falcon-conf*
|
|
|
59ff018 |
%exclude %{_mandir}/man1/falconeer.fal*
|
|
|
59ff018 |
%exclude %{_mandir}/man1/faltest*
|
|
|
59ff018 |
%{_libdir}/falcon
|
|
|
59ff018 |
%{_libdir}/*.so.*
|
|
|
59ff018 |
%{_mandir}/man1/*
|
|
|
59ff018 |
|
|
|
59ff018 |
%files devel
|
|
|
59ff018 |
%defattr(-,root,root,-)
|
|
|
59ff018 |
%{_bindir}/falcon-conf
|
|
|
59ff018 |
%{_bindir}/falconeer.fal
|
|
|
59ff018 |
%{_bindir}/faltest
|
|
|
59ff018 |
%{_includedir}/*
|
|
|
59ff018 |
%{_libdir}/*.so
|
|
|
59ff018 |
%{_mandir}/man1/falcon-conf*
|
|
|
59ff018 |
%{_mandir}/man1/falconeer.fal*
|
|
|
59ff018 |
%{_mandir}/man1/faltest*
|
|
|
59ff018 |
|
|
|
59ff018 |
%changelog
|
|
|
ed0086c |
* Wed May 21 2008 Michel Salim <salimma@fedoraproject.org> - 0.8.8-3
|
|
|
ed0086c |
- Use correct libdir for module path
|
|
|
ed0086c |
|
|
|
59ff018 |
* Thu Apr 24 2008 Michel Salim <salimma@fedoraproject.org> - 0.8.8-2
|
|
|
59ff018 |
- Updated license
|
|
|
59ff018 |
- Changed source URL to one that includes license grant
|
|
|
59ff018 |
|
|
|
59ff018 |
* Fri Jan 25 2008 Michel Salim <michel.sylvan@gmail.com> - 0.8.8-1
|
|
|
59ff018 |
- Initial Fedora package
|
|
|
59ff018 |
Based on initial spec by Giancarlo Niccolai <gc@falconpl.org>
|