/[pkgs]/devel/Falcon/Falcon.spec
ViewVC logotype

Contents of /devel/Falcon/Falcon.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Thu Sep 24 03:32:53 2009 UTC (2 months ago) by salimma
Branch: MAIN
CVS Tags: F-12-split, Falcon-0_9_4_2-1_fc12, HEAD
Changes since 1.11: +35 -5 lines
* Wed Sep 23 2009 Michel Salim <salimma@fedoraproject.org> - 0.9.4.2-1
- Update to 0.9.4.2
- Package documentation files
1 %global host www.falconpl.org
2
3 Name: Falcon
4 Version: 0.9.4.2
5 Release: 1%{?dist}
6 Summary: The Falcon Programming Language
7 Summary(it): Il linguaggio di programmazione Falcon
8
9 License: GPLv2+
10 Group: Development/Languages
11 URL: http://%{host}/
12 Source0: http://%{host}/project_dl/_official_rel/%{name}-%{version}.tar.gz
13 Source1: http://%{host}/project_dl/_official_rel/%{name}-docs-core.%{version}.tgz
14 Source2: http://%{host}/project_dl/_official_rel/%{name}-feathers-docs.%{version}.tgz
15 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
16
17 BuildRequires: bison cmake pcre-devel zlib-devel
18
19 %description
20 The Falcon Programming Language is an embeddable scripting language
21 aiming to empower even simple applications with a powerful,
22 flexible, extensible and highly configurable scripting engine.
23
24 Falcon is also a standalone multiplatform scripting language that
25 aims to be both simple and powerful.
26
27 %description -l it
28 Il Falcon è un linguaggio di programmazione embeddabile che intende
29 fornire nuove potenzialità anche a semplici applicazioni, fornendo
30 loro un potente, flessibie, estendibile e configurabile motore
31 di scripting.
32
33 Falcon è anche uno scripting languge completo e multipiattaforma,
34 semplice e potente.
35
36 %package devel
37 Summary: Development files for %{name}
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40
41 %description devel
42 The Falcon Programming Language is an embeddable scripting language
43 aiming to empower even simple applications with a powerful,
44 flexible, extensible and highly configurable scripting engine.
45
46 Falcon is also a standalone multiplatform scripting language that
47 aims to be both simple and powerful.
48
49 This package contains development files for %{name}. This is not
50 necessary for using the %{name} interpreter.
51
52 %package doc
53 Summary: Documentation for %{name}
54 Group: Documentation
55 Requires: %{name} = %{version}-%{release}
56 BuildArch: noarch
57
58 %description doc
59 The Falcon Programming Language is an embeddable scripting language
60 aiming to empower even simple applications with a powerful,
61 flexible, extensible and highly configurable scripting engine.
62
63 Falcon is also a standalone multiplatform scripting language that
64 aims to be both simple and powerful.
65
66 This package contains HTML documentation for %{name}.
67
68
69 %prep
70 %setup -q -a1 -a2
71 mkdir largedocs
72 mv Falcon-docs-core.0.9.4 largedocs/core
73 mv Falcon-feathers-docs.%{version} largedocs/feathers
74
75
76 %build
77 CXXFLAGS="$RPM_OPT_FLAGS -w" CFLAGS="$RPM_OPT_FLAGS -w" ./build.sh \
78 -p $RPM_BUILD_ROOT%{_prefix} -f %{_prefix} -l %{_lib} %{?_smp_flags}
79
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 ./build.sh -i
84 # with cmake-2.6, the default install target misses some files
85 [ -f $RPM_BUILD_ROOT%{_bindir}/faltest ] || \
86 (cd devel/release/build/core && make install && \
87 cd ../modules/feathers && make install)
88 # Fix falconeer script
89 sed -i "s|#!/bin/falcon|#!%{_bindir}/falcon|" \
90 $RPM_BUILD_ROOT%{_bindir}/falconeer.fal
91
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post -p /sbin/ldconfig
97
98 %postun -p /sbin/ldconfig
99
100
101 %files
102 %defattr(-,root,root,-)
103 %doc AUTHORS ChangeLog copyright README RELNOTES LICENSE LICENSE_GPLv2
104 %exclude %{_bindir}/falcon-conf
105 %exclude %{_bindir}/falconeer.fal
106 %exclude %{_bindir}/faltest
107 %{_bindir}/*
108 %exclude %{_mandir}/man1/falcon-conf*
109 %exclude %{_mandir}/man1/falconeer.fal*
110 %exclude %{_mandir}/man1/faltest*
111 %{_libdir}/falcon
112 %{_libdir}/*.so.*
113 %{_mandir}/man1/*
114
115 %files devel
116 %defattr(-,root,root,-)
117 %{_bindir}/falcon-conf
118 %{_bindir}/falconeer.fal
119 %{_bindir}/faltest
120 %{_includedir}/*
121 %{_libdir}/*.so
122 %{_mandir}/man1/falcon-conf*
123 %{_mandir}/man1/falconeer.fal*
124 %{_mandir}/man1/faltest*
125
126 %files doc
127 %defattr(-,root,root,-)
128 %doc largedocs/*
129
130
131
132 %changelog
133 * Wed Sep 23 2009 Michel Salim <salimma@fedoraproject.org> - 0.9.4.2-1
134 - Update to 0.9.4.2
135 - Package documentation files
136
137 * Tue Aug 25 2009 Michel Salim <salimma@fedoraproject.org> - 0.9.4-1
138 - Update to 0.9.4
139
140 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.14.2-3
141 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
142
143 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.14.2-2
144 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
145
146 * Fri Feb 6 2009 Michel Salim <salimma@fedoraproject.org> - 0.8.14.2-1
147 - Update to 0.8.14.2
148
149 * Mon Jun 9 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.10-3
150 - Revert r401 patch; does not fix cmake-2.6 problem on Rawhide
151 Reverting to manually using 'make install' in individual subdirectories
152
153 * Mon Jun 9 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.10-2
154 - Merge in cmake fixes from core/trunk r401
155 - Patch core/CMakeLists.txt to default to /usr, as it appears that the
156 requested prefix is not properly used
157 - Fix incorrect #! interpreter in falconeer.fal
158
159 * Sat Jun 7 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.10-1
160 - Update to 0.8.10
161
162 * Wed May 21 2008 Michel Salim <salimma@fedoraproject.org> - 0.8.8-3
163 - Use correct libdir for module path
164
165 * Thu Apr 24 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.8.8-2
166 - Updated license
167 - Changed source URL to one that includes license grant
168
169 * Fri Jan 25 2008 Michel Salim <michel.sylvan@gmail.com> - 0.8.8-1
170 - Initial Fedora package
171 Based on initial spec by Giancarlo Niccolai <gc@falconpl.org>

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2