rpms/kaya/F-8 kaya-0.5.0-conf.patch, NONE, 1.1 kaya-0.5.0-smp.patch, NONE, 1.1 kaya.spec, NONE, 1.1 sources, 1.1, 1.2
Jochen Schmitt (s4504kr)
fedora-extras-commits at redhat.com
Mon Jun 9 17:43:55 UTC 2008
- Previous message: rpms/rpmlint/F-9 .cvsignore, 1.18, 1.19 rpmlint-CHANGES.package.old, 1.1, 1.2 rpmlint.config, 1.19, 1.20 rpmlint.spec, 1.43, 1.44 sources, 1.18, 1.19 rpmlint-0.81-fedoralicensing.patch, 1.1, NONE
- Next message: rpms/em8300/devel .cvsignore, 1.15, 1.16 em8300.spec, 1.20, 1.21 sources, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: s4504kr
Update of /cvs/extras/rpms/kaya/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1802
Modified Files:
sources
Added Files:
kaya-0.5.0-conf.patch kaya-0.5.0-smp.patch kaya.spec
Log Message:
Initial RPM release
kaya-0.5.0-conf.patch:
--- NEW FILE kaya-0.5.0-conf.patch ---
diff -up kaya-0.5.0/configure.ac.conf kaya-0.5.0/configure.ac
--- kaya-0.5.0/configure.ac.conf 2008-05-26 12:53:59.000000000 +0200
+++ kaya-0.5.0/configure.ac 2008-06-05 20:21:32.000000000 +0200
@@ -220,7 +220,7 @@ PGINC=""
AC_ARG_DISABLE([postgres],
AS_HELP_STRING([--disable-postgres],
[Disable Postgres database support]),
- [AC_CHECK_HEADER([postgresql/libpq-fe.h],[PGINC="-I/usr/include/postgresql"])
+ [AC_CHECK_HEADER([libpq-fe.h],[PGINC="-I/usr/include"])
AC_CHECK_LIB(pq, PQconnectdb,
[PGSTUB=""
PGMAN="PostgresDB.libs"
@@ -247,6 +247,7 @@ AC_ARG_DISABLE([mysql],
AS_HELP_STRING([--disable-mysql],
[Disable MySQL database support]),
[AC_CHECK_HEADER([mysql/mysql.h])
+LIBS="$LIBS -L${libdir}/mysql"
AC_CHECK_LIB(mysqlclient, mysql_init,
[AC_MSG_NOTICE([Found libmysqlclient, is it recent enough?])
AC_CHECK_LIB(mysqlclient, mysql_stmt_init,
kaya-0.5.0-smp.patch:
--- NEW FILE kaya-0.5.0-smp.patch ---
diff -rN -u old-kaya/libs/Makefile.in new-kaya/libs/Makefile.in
--- old-kaya/libs/Makefile.in 2008-05-29 21:50:16.000000000 +0100
+++ new-kaya/libs/Makefile.in 2008-05-29 21:50:18.000000000 +0100
@@ -41,6 +41,8 @@
rm -f *~ Makefile
rm -rf autom4te.cache
+Multicore.o: Threads.ki
+Threads.o: thread_glue.h
MyDB.o: my_inter.h ../stdlib/DB.ki
PostgresDB.o: pg_inter.h ../stdlib/DB.ki
SQLiteDB.o: sqlite_inter.h ../stdlib/DB.ki
--- NEW FILE kaya.spec ---
# Disable debuginfo because is make no sense for haskell staff
%define debug_package %{nil}
Name: kaya
Version: 0.5.0
Release: 5%{?dist}
Summary: A Statically typed, imperative programming-language
Group: Development/Languages
License: GPLv2+ and LGPLv2+
URL: http://kayalang.org
Source0: http://kayalang.org/src/%{name}-%{version}.tgz
Patch1: kaya-0.5.0-smp.patch
Patch2: kaya-0.5.0-conf.patch
#
# ghc is not supported on alpha and ppc64
#
ExcludeArch: alpha ppc64
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: ghc, gc-devel, happy, zlib-devel, gnutls-devel
BuildRequires: libgcrypt-devel, pcre-devel
BuildRequires: postgresql-devel, mysql-devel, sqlite-devel
BuildRequires: gd-devel, SDL-devel, mesa-libGL-devel
BuildRequires: ncurses-devel, freeglut-devel
%description
Kaya is a compiled statically typed (ie, types are checked at compile time)
imperative programming language; unlike other such languages, however, types
are inferred rather than declared - there is no need for type declarations of
local variables. Kaya has "tagged union" data structures, a powerful feature
more commonly found in functional languages such as Ocaml and Haskell.
Kaya also has built-in abstractions for web application development, making
it easy to write a CGI program without paying too much attention to low level
details such as state management and form handling.
%package doc
Summary: Documentation and Samples for the Kaya Language
Group: Documentation
%description doc
This package contains the documentation for the kaya language.
Additional you may find samples for this language.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
autoconf
CFLAGS=$(echo $RPM_OPT_FLAGS | sed -e 's/\-wp,\-D_FORTIFY_SOURCE=2//g' | \
sed -e 's/\-fstack\-protector//g' )
%configure
# make doesn't support _smp_flags
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir}/kaya
pushd $RPM_BUILD_ROOT%{_bindir}
strip kayac
strip kaya-rekey
strip kayadoc2man
popd
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/kaya
%{_bindir}/kayac
%{_bindir}/kaya-rekey
%{_bindir}/kayadoc2man
%{_libdir}/kaya/
%{_mandir}/man1/*
%doc COPYING GPL2 GPL3 LGPL2.1 LGPL3
%files doc
%defattr(-,root,root,-)
%{_mandir}/man3/*
%doc examples/ docs/
%changelog
* Mon Jun 9 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.5.0-5
- Koji don't like -fstack-protector
* Thu Jun 5 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.5.0-4
- Fix issue to detect mysql in configure script
* Sun Jun 1 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.5.0-3
- Add default attributes for doc package files
- Fix SMP issue
* Thu May 29 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.5.0-2
- Striping executables files
* Mon May 26 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.5.0-1
- New upstream relase
* Sun May 4 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.4.0-5
- Comment special handlings
- Create sub package for documentation and samples
* Mon Apr 28 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.4.0-4
- Fix some smp issues
* Mon Apr 28 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.4.0-3
- Enable parallel building
* Sun Apr 27 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.4.0-2
- disable generating of debuginfo package
- Remove unnecessary patch
* Tue Apr 15 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.4.0-1
- New upstream release
* Thu Nov 29 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.2.7-4
- Generate debuginfos
- Fix an error in the kayac man page
* Wed Nov 7 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.2.7-3
- Fix build id issue
* Tue Oct 30 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.2.7-1
- New upstream release
* Tue Oct 9 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.2.6-2
- Fix wrong license tag.
* Tue Sep 11 2007 Jochen Schmitt <Jochen herr-schmitt de> 0.2.6-1
- Initial RPM
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kaya/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 6 Jun 2008 15:38:24 -0000 1.1
+++ sources 9 Jun 2008 17:43:15 -0000 1.2
@@ -0,0 +1 @@
+e741e98fd5f5e6ed6f01affa45420b35 kaya-0.5.0.tgz
- Previous message: rpms/rpmlint/F-9 .cvsignore, 1.18, 1.19 rpmlint-CHANGES.package.old, 1.1, 1.2 rpmlint.config, 1.19, 1.20 rpmlint.spec, 1.43, 1.44 sources, 1.18, 1.19 rpmlint-0.81-fedoralicensing.patch, 1.1, NONE
- Next message: rpms/em8300/devel .cvsignore, 1.15, 1.16 em8300.spec, 1.20, 1.21 sources, 1.15, 1.16
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list