From 38096dad9b3ad7749515b43b2070720372c1a118 Mon Sep 17 00:00:00 2001 From: Philippe Makowski Date: May 04 2009 09:07:49 +0000 Subject: Intitial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..aa48119 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Firebird-2.1.2.18118-0.tar.bz2 diff --git a/firebird-2.1.2-doc.patch b/firebird-2.1.2-doc.patch new file mode 100644 index 0000000..44d0853 --- /dev/null +++ b/firebird-2.1.2-doc.patch @@ -0,0 +1,76 @@ +--- doc/sql.extensions/README.global_temporary_tables.orig 2007-03-15 10:35:57.000000000 +0100 ++++ doc/sql.extensions/README.global_temporary_tables 2009-04-13 15:56:47.000000000 +0200 +@@ -67,11 +67,11 @@ + garbage collection of deleted record versions. DELETE triggers are not fired in + this case. + +- Data and index pages of all of the GTT�s instances are placed in separate temporary +-file�s. Each connection has its own temporary file created when this connection +-first referenced some GTT. Also these temporary files are always opened with �Forced +-Writes = OFF� setting despite of database setting. ++ Data and index pages of all of the GTTs instances are placed in separate temporary ++files. Each connection has its own temporary file created when this connection ++first referenced some GTT. Also these temporary files are always opened with "Forced ++Writes = OFF" setting despite of database setting. + + There's no limit on number of GTT instances. If you have N transactions +-active simultaneously and each transaction has referenced some GTT then you�ll +-have N GTT�s instances. ++active simultaneously and each transaction has referenced some GTT then you'll ++have N GTTs instances. +--- doc/sql.extensions/README.expression_indices.orig 2005-01-28 15:07:11.000000000 +0100 ++++ doc/sql.extensions/README.expression_indices 2009-04-13 15:56:36.000000000 +0200 +@@ -19,7 +19,7 @@ + + Example(s): + 1. CREATE INDEX IDX1 ON T1 COMPUTED BY ( UPPER(COL1 COLLATE PXW_CYRL) ); +- SELECT * FROM T1 WHERE UPPER(COL1 COLLATE PXW_CYRL) = '����' ++ SELECT * FROM T1 WHERE UPPER(COL1 COLLATE PXW_CYRL) = '' + -- PLAN (T1 INDEX (IDX1)) + 2. CREATE INDEX IDX2 ON T2 COMPUTED BY ( EXTRACT(YEAR FROM COL2) || EXTRACT(MONTH FROM COL2) ); + SELECT * FROM T2 ORDER BY EXTRACT(YEAR FROM COL2) || EXTRACT(MONTH FROM COL2) +--- doc/sql.extensions/README.common_table_expressions.orig 2007-03-15 10:34:22.000000000 +0100 ++++ doc/sql.extensions/README.common_table_expressions 2009-04-13 15:55:55.000000000 +0200 +@@ -6,7 +6,7 @@ + + + Function: +- Common Table Expressions is like view�s, locally defined within main query. ++ Common Table Expressions is like views, locally defined within main query. + From the engine point of view CTE is a derived table so no intermediate + materialization is performed. + +@@ -45,11 +45,11 @@ + Or, in less formal format : + + WITH [RECURSIVE] +- CTE_A [(a1, a2, �)] +- AS ( SELECT � ), ++ CTE_A [(a1, a2, ...)] ++ AS ( SELECT ...), + +- CTE_B [(b1, b2, �)] +- AS ( SELECT � ), ++ CTE_B [(b1, b2, ...)] ++ AS ( SELECT ... ), + ... + SELECT ... + FROM CTE_A, CTE_B, TAB1, TAB2 ... +@@ -60,7 +60,7 @@ + Rules of non-recursive common table expressions : + + Several table expressions can be defined at one query +- Any SELECT�s clause can be used in table expressions ++ Any SELECTs clause can be used in table expressions + Table expressions can reference each other + Table expressions can be used within any part of main query or another + table expression +@@ -104,7 +104,7 @@ + Non-recursive members are placed first in UNION + Recursive members are separated from anchor members and from each + other with UNION ALL clause +- References between CTE�s should not have loops ++ References between CTEs should not have loops + Aggregates (DISTINCT, GROUP BY, HAVING) and aggregate functions (SUM, + COUNT, MAX etc) are not allowed in recursive members + Recursive member can have only one reference to itself and only in FROM clause diff --git a/firebird-fix-initscript.patch b/firebird-fix-initscript.patch new file mode 100644 index 0000000..efe2a3c --- /dev/null +++ b/firebird-fix-initscript.patch @@ -0,0 +1,47 @@ +--- builds/install/arch-specific/linux/misc/firebird.init.d.mandrake.in 2008-01-22 12:39:13.000000000 +0100 ++++ builds/install/arch-specific/linux/misc/firebird.init.d.mandrake.in.pm 2009-05-03 12:10:31.000000000 +0200 +@@ -19,6 +19,7 @@ + # Optionally run chkconfig to autostart the new service + INSTANCE=default + FIREBIRD=@prefix@ ++name=firebird + + # No changes needed below for multiple instances + FBRunUser=firebird +@@ -39,18 +40,22 @@ + echo $MANAGER -pidfile $pidfile -start -forever | su $FBRunUser + RETVAL=$? + [ $RETVAL -eq 0 ] && success || failure ++ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$name + echo + ;; + stop) +- echo -n "Stopping $FULLNAME " +- + if [ -f $pidfile ] + then +- kill `cat $pidfile` ++ echo -n "Stopping $FULLNAME: " ++ killproc -p $pidfile $name ++ RETVAL=$? ++ echo ++ else ++ echo -n "$FULLNAME server is stopped" ++ echo + fi + RETVAL=$? +- [ $RETVAL -eq 0 ] && success || failure +- echo ++ [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$name + ;; + status) + if [ -f $pidfile ] +@@ -70,7 +75,7 @@ + RETVAL=$? + ;; + *) +- echo "Usage: firebird {start|stop|status|restart|reload}" ++ echo "Usage: $name {start|stop|status|restart|reload}" + exit 1 + esac + diff --git a/firebird-logrotate b/firebird-logrotate new file mode 100644 index 0000000..5da6610 --- /dev/null +++ b/firebird-logrotate @@ -0,0 +1,9 @@ +firebird.log { + weekly + missingok + rotate 52 + compress + delaycompress + notifempty + create 640 firebird adm + } diff --git a/firebird-mcpu-to-mtune.patch b/firebird-mcpu-to-mtune.patch new file mode 100644 index 0000000..aadff14 --- /dev/null +++ b/firebird-mcpu-to-mtune.patch @@ -0,0 +1,11 @@ +--- builds/posix/prefix.linux 2007-05-03 07:24:50.000000000 -0400 ++++ builds/posix/prefix.linux.oden 2008-07-18 08:45:48.000000000 -0400 +@@ -22,7 +22,7 @@ + # you may remove it if engine is getting compiled with any other GCC version + + COMMON_FLAGS=-ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -pipe -MMD -fPIC -fmessage-length=0 +-OPTIMIZE_FLAGS=-O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin ++OPTIMIZE_FLAGS=-O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer -fno-builtin + WARN_FLAGS=-Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable + + PROD_FLAGS=-DNDEBUG $(COMMON_FLAGS) $(OPTIMIZE_FLAGS) diff --git a/firebird-profile.csh b/firebird-profile.csh new file mode 100644 index 0000000..be8d55c --- /dev/null +++ b/firebird-profile.csh @@ -0,0 +1 @@ +setenv PATH "${PATH}:%{fbroot}/bin" diff --git a/firebird-profile.sh b/firebird-profile.sh new file mode 100755 index 0000000..6255688 --- /dev/null +++ b/firebird-profile.sh @@ -0,0 +1 @@ +export PATH=$PATH:%{fbroot}/bin diff --git a/firebird.spec b/firebird.spec new file mode 100644 index 0000000..659a1fb --- /dev/null +++ b/firebird.spec @@ -0,0 +1,528 @@ +%global pkgname Firebird-2.1.2.18118-0 +%global fbroot %{_libdir}/%{name} +%global major 2.1.2 + + +Summary: SQL relational database management system +Name: firebird +Version: 2.1.2.18118.0 +Release: 6%{?dist} + +Group: Applications/Databases +License: Interbase +URL: http://www.firebirdsql.org/ +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot + +Source0: http://downloads.sourceforge.net/firebird/%{pkgname}.tar.bz2 +Source1: firebird-profile.sh +Source2: firebird-profile.csh +Source3: firebird-logrotate + +Patch0: firebird-mcpu-to-mtune.patch +Patch1: firebird-2.1.2-doc.patch +Patch2: firebird-fix-initscript.patch + + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: bison +BuildRequires: libtool +BuildRequires: ncurses-devel +BuildRequires: libtermcap-devel +BuildRequires: libicu-devel + +Requires: %{name}-arch = %{version} +Requires: grep +Requires: sed +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires(postun): /usr/sbin/userdel +Requires(postun): /usr/sbin/groupdel +Requires(pre): /usr/sbin/groupadd +Requires(pre): /usr/sbin/useradd +Requires: %{name}-filesystem +Requires: %{name}-libfbclient +Requires: logrotate + +%description +This package contains common files between firebird-classic and +firebird-superserver. You will need this if you want to use either one. + +%package doc +Summary: Documentation for Firebird SQL RDBMS +Group: Applications/Databases + +%description doc +This are the Firebird SQL Database shared doc and examples files. + +%package filesystem +Summary: Filesystem for Firebird SQL RDBMS +Group: Applications/Databases + +%description filesystem +This is the Firebird SQL Database root file system. + +%package devel +Summary: Development Libraries for Firebird SQL RDBMS +Group: Applications/Databases +Requires: %{name}-filesystem +Requires: %{name}-libfbclient = %{version}-%{release} +Requires: %{name}-libfbembed = %{version}-%{release} + + +%description devel +Development libraries for firebird. + +%package classic +Summary: Classic (xinetd) server for Firebird SQL RDBMS +Group: Applications/Databases +Provides: %{name}-arch = %{version} +Requires: xinetd +Requires: %{name} = %{version} +Conflicts: %{name}-superserver +Requires: %{name}-libfbembed +Requires: %{name}-libfbclient +Requires: %{name}-filesystem + + +%description classic +This is the classic (xinetd) server Firebird SQL RDBMS. +It can also be used as an embedded server, when paired with the +client-embedded package. + +%package superserver +Summary: Superserver (single process) server for Firebird SQL RDBMS +Group: Applications/Databases +Provides: %{name}-arch = %{version} +Requires: %{name} = %{version} +Conflicts: %{name}-classic +Requires: %{name}-libfbclient +Requires: %{name}-filesystem + + +%description superserver +This is the Superserver (single process) Firebird SQL RDBMS. + + +%package libfbclient +Summary: Multi-threaded, non-local client libraries for Firebird SQL RDBMS +Group: System Environment/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires: %{name}-filesystem + +%description libfbclient +Multi-threaded, non-local client libraries for Firebird SQL Database + + +%package libfbembed +Summary: Multi-process, local client libraries for Firebird SQL RDBMS +Group: System Environment/Libraries +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires: %{name}-filesystem + +%description libfbembed +Multi-process, local client libraries for Firebird SQL RDBMS + + +%prep +%setup -q -n %{pkgname} +# convert intl character to UTF-8 +iconv -f ISO-8859-1 -t utf-8 -c ./doc/README.intl -o ./doc/README.intl +# backport patch +%patch2 +%patch1 +%patch0 + +%build + +# classic +autoreconf -vfi +%configure --prefix=%{fbroot} \ + --with-system-icu + +# Can't use make %{?_smp_mflags} as parallel build is broken +make + +cd gen + +./install/makeInstallImage.sh + +# here we patch a bug in the configure script +%ifarch ppc64 +mv -f ./buildroot/usr/lib/* ./buildroot/%{_libdir} +%endif + +mv ./buildroot/ buildroot-classic +chmod 644 ./buildroot-classic%{fbroot}/help/help.fdb +cd .. + +# superserver +%configure --prefix=%{fbroot} \ + --enable-superserver \ + --with-system-icu + +# Can't use make %{?_smp_mflags} as parallel build is broken +make + +cd gen +./install/makeInstallImage.sh + +# here we patch a bug in the configure script +%ifarch ppc64 +mv -f ./buildroot/usr/lib/* ./buildroot/%{_libdir} +%endif + +mv ./buildroot/ buildroot-superserver +chmod 644 ./buildroot-superserver%{fbroot}/help/help.fdb + + + +%install +# we wanted to setup both Classic and Superserver, we need to do all here +rm -Rf %{buildroot} +install -d %{buildroot} + +cd %{buildroot} + +mkdir -p %{buildroot}%{_sysconfdir}/%{name} +mkdir -p %{buildroot}%{_initrddir} +mkdir -p %{buildroot}%{_sysconfdir}/xinetd.d +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d +mkdir -p %{buildroot}%{_var}/run/%{name} +mkdir -p %{buildroot}%{_localstatedir}/lib/%{name} +mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/data +mkdir -p %{buildroot}%{_localstatedir}/log/%{name} +mkdir -p %{buildroot}%{_includedir}/%{name} +mkdir -p %{buildroot}%{_libdir} +mkdir -p %{buildroot}%{fbroot} +mkdir -p %{buildroot}%{fbroot}/help +mkdir -p %{buildroot}%{fbroot}/intl +mkdir -p %{buildroot}%{fbroot}/lib +mkdir -p %{buildroot}%{fbroot}/include +mkdir -p %{buildroot}%{fbroot}/bin-classic +mkdir -p %{buildroot}%{fbroot}/UDF-classic +mkdir -p %{buildroot}%{fbroot}/bin-superserver +mkdir -p %{buildroot}%{fbroot}/UDF-superserver + +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/examples/empbuild/employee.fdb %{buildroot}%{_localstatedir}/lib/%{name}/data/employee.fdb +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/help/help.fdb %{buildroot}%{fbroot}/help/help.fdb +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/*.msg %{buildroot}%{fbroot}/ +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/intl/fbintl %{buildroot}%{fbroot}/intl/fbintl +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/lib/libib_util.so %{buildroot}%{fbroot}/lib/ +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/lib/libfbclient.so.%{major} %{buildroot}%{fbroot}/lib/ +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/lib/libfbembed.so.%{major} %{buildroot}%{fbroot}/lib/ +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/bin/* %{buildroot}%{fbroot}/bin-classic/ +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/UDF/* %{buildroot}%{fbroot}/UDF-classic/ +cp %{_builddir}/%{pkgname}/gen/buildroot-superserver%{fbroot}/bin/* %{buildroot}%{fbroot}/bin-superserver/ +cp %{_builddir}/%{pkgname}/gen/buildroot-superserver%{fbroot}/UDF/* %{buildroot}%{fbroot}/UDF-superserver/ + +cd %{buildroot}%{fbroot}/bin-superserver/ +ln -s ./fbmgr.bin ./fbmgr +cd %{buildroot} + +cd %{buildroot}%{fbroot}/lib/ +ln -s %{fbroot}/lib/libfbembed.so.%{major} libfbembed.so.2.1 +ln -s %{fbroot}/lib/libfbembed.so.2.1 libfbembed.so +ln -s %{fbroot}/lib/libfbclient.so.%{major} libfbclient.so.2 +ln -s %{fbroot}/lib/libfbclient.so.2 libfbclient.so +cd %{buildroot} + +cd %{buildroot}%{_libdir} +ln -s %{fbroot}/lib/libfbembed.so libfbembed.so +ln -s %{fbroot}/lib/libfbembed.so.2.1 libfbembed.so.2.1 +ln -s %{fbroot}/lib/libfbembed.so.%{major} libfbembed.so.%{major} +ln -s %{fbroot}/lib/libfbclient.so libfbclient.so +ln -s %{fbroot}/lib/libfbclient.so.2 libfbclient.so.2 +ln -s %{fbroot}/lib/libfbclient.so.%{major} libfbclient.so.%{major} +ln -s %{fbroot}/lib/libib_util.so libib_util.so +cd %{buildroot} + +echo 1 > %{buildroot}%{_localstatedir}/log/%{name}/%{name}.log +ln -s %{_localstatedir}/log/%{name}/%{name}.log .%{fbroot}/%{name}.log +sed "s@%{name}.log@%{_localstatedir}/log/%{name}/%{name}.log@g" %{SOURCE3} > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} + +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/include/* %{buildroot}%{_includedir}/%{name}/ +cd %{buildroot}%{fbroot}/include/ +ln -s %{_includedir}/%{name}/ibase.h ibase.h +ln -s %{_includedir}/%{name}/iberror.h iberror.h +ln -s %{_includedir}/%{name}/ib_util.h ib_util.h +ln -s %{_includedir}/%{name}/perf.h perf.h +cd %{buildroot} + +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/aliases.conf .%{_sysconfdir}/%{name}/aliases.conf +sed "s@%{fbroot}/examples/empbuild@%{_localstatedir}/lib/%{name}/data@" -i .%{_sysconfdir}/%{name}/aliases.conf +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/firebird.conf .%{_sysconfdir}/%{name}/firebird.conf +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/intl/fbintl.conf .%{_sysconfdir}/%{name}/fbintl.conf +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/security2.fdb .%{_sysconfdir}/%{name}/security2.fdb + +ln -s %{_sysconfdir}/%{name}/aliases.conf .%{fbroot}/aliases.conf +ln -s %{_sysconfdir}/%{name}/firebird.conf .%{fbroot}/firebird.conf +ln -s %{_sysconfdir}/%{name}/security2.fdb .%{fbroot}/security2.fdb +ln -s %{_sysconfdir}/%{name}/fbintl.conf .%{fbroot}/intl/fbintl.conf + +sed "s@%%{fbroot}@%{fbroot}@g" %{SOURCE1} > %{buildroot}%{_sysconfdir}/profile.d/firebird.sh +sed "s@%%{fbroot}@%{fbroot}@g" %{SOURCE2} > %{buildroot}%{_sysconfdir}/profile.d/firebird.csh + +cp %{_builddir}/%{pkgname}/gen/buildroot-classic%{fbroot}/misc/%{name}.xinetd %{buildroot}%{_sysconfdir}/xinetd.d/%{name} +cp %{_builddir}/%{pkgname}/gen/buildroot-superserver%{fbroot}/misc/%{name}.init.d.mandrake %{buildroot}%{_initrddir}/%{name} +sed "s@chkconfig: 345@chkconfig: -@" -i %{buildroot}%{_initrddir}/%{name} + + +%clean +rm -Rf %{buildroot} + +%post libfbclient -p /sbin/ldconfig + +%postun libfbclient -p /sbin/ldconfig + +%post libfbembed -p /sbin/ldconfig + +%postun libfbembed -p /sbin/ldconfig + +%post classic +if test ! -e %{fbroot}/bin; then + ln -s %{fbroot}/bin{-classic,} +fi +if test ! -e %{fbroot}/UDF; then + ln -s %{fbroot}/UDF{-classic,} +fi +if /sbin/service xinetd status >& /dev/null; then + /sbin/service xinetd reload +fi + +%preun classic +if [ $1 -eq 0 ]; then + if /sbin/service xinetd status >& /dev/null; then + /sbin/service xinetd reload + fi + if [ "$(readlink %{fbroot}/bin 2> /dev/null)" = "%{fbroot}/bin-classic" ]; then + rm -f %{fbroot}/bin + fi + if [ "$(readlink %{fbroot}/UDF 2> /dev/null)" = "%{fbroot}/UDF-classic" ]; then + rm -f %{fbroot}/UDF + fi +fi + + +%post superserver +if test ! -e %{fbroot}/bin; then + ln -s %{fbroot}/bin{-superserver,} +fi +if test ! -e %{fbroot}/UDF; then + ln -s %{fbroot}/UDF{-superserver,} +fi + +if [ $1 -eq 2 ]; then + if /sbin/service firebird status >& /dev/null; then + /sbin/service firebird restart + fi +fi +if [ $1 -eq 1 ]; then + chkconfig firebird off +fi + + +%preun superserver +if [ $1 -eq 0 ]; then + + if /sbin/service firebird status >& /dev/null; then + /sbin/service firebird stop + fi + + chkconfig --del firebird + + if [ "$(readlink %{fbroot}/bin 2> /dev/null)" = "%{fbroot}/bin-superserver" ]; then + rm -f %{fbroot}/bin + fi + if [ "$(readlink %{fbroot}/UDF 2> /dev/null)" = "%{fbroot}/UDF-superserver" ]; then + rm -f %{fbroot}/UDF + fi +fi + + +%pre +# Create the firebird group if it doesn't exist +getent group %{name} || /usr/sbin/groupadd -r %{name} +getent passwd %{name} >/dev/null || /usr/sbin/useradd -d / -g %{name} -s /bin/sh -r %{name} + +# Add gds_db to /etc/services if needed +FileName=/etc/services +newLine="gds_db 3050/tcp # Firebird SQL Database Remote Protocol" +oldLine=`grep "^gds_db" $FileName` +if [ -z "$oldLine" ]; then + echo $newLine >> $FileName +fi + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%defattr(0644,root,root,0755) +%dir %attr(0755,root,root) %{_localstatedir}/lib/%{name} +%dir %attr(0770,%{name},%{name}) %{_localstatedir}/lib/%{name}/data +%attr(0660,%{name},%{name}) %{_localstatedir}/lib/%{name}/data/employee.fdb +%dir %{_localstatedir}/log/%{name} +%dir %{fbroot}/intl +%dir %{_sysconfdir}/%{name} +%config(noreplace) %attr (0660,%{name},%{name}) %{_sysconfdir}/%{name}/security2.fdb +%{fbroot}/security2.fdb +%config(noreplace) %{_sysconfdir}/%{name}/fbintl.conf +%config(noreplace) %{_sysconfdir}/%{name}/aliases.conf +%config(noreplace) %{_sysconfdir}/%{name}/firebird.conf +%{fbroot}/aliases.conf +%{fbroot}/firebird.conf +%{fbroot}/intl/fbintl.conf +%{fbroot}/firebird.log +%attr(0660,%{name},%{name}) %{_localstatedir}/log/%{name}/%{name}.log +%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/logrotate.d/%{name} +%{fbroot}/*.msg +%{fbroot}/help +%{_libdir}/libib_util.so +%{fbroot}/lib/libib_util.so +%defattr(0644,root,root,0644) +%config(noreplace) %{_sysconfdir}/profile.d/firebird.csh +%config(noreplace) %{_sysconfdir}/profile.d/firebird.sh +%defattr(0755,root,root,0750) +%{fbroot}/intl/fbintl + +%files filesystem +%defattr(0755,%{name},%{name},0755) +%dir %{fbroot} +%defattr(0755,root,root,0755) +%dir %{fbroot}/lib + +%files doc +%defattr(0644,root,root,0755) +%doc gen/buildroot-classic%{fbroot}/doc +%doc gen/buildroot-classic%{fbroot}/examples +%doc gen/buildroot-classic%{fbroot}/README +%doc gen/buildroot-classic%{fbroot}/misc/intl.sql +%doc gen/buildroot-classic%{fbroot}/misc/upgrade + + + +%files devel +%defattr(0644,root,root,0755) +%dir %{fbroot}/include +%{fbroot}/include/* +%{fbroot}/lib/*.so +%{_includedir}/* +%{_libdir}/*.so + + + +%files libfbclient +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%{_libdir}/libfbclient.so.* +%{fbroot}/lib/libfbclient.so.* + + +%files libfbembed +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%{_libdir}/libfbembed.so.* +%{fbroot}/lib/libfbembed.so.* + + +%files classic +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%config(noreplace) %{_sysconfdir}/xinetd.d/%{name} +%dir %{fbroot}/bin-classic +%dir %{fbroot}/UDF-classic +%defattr(0755,root,root,0755) +%{fbroot}/bin-classic/* +%{fbroot}/UDF-classic/*.so +%defattr(0644,root,root,0755) +%{fbroot}/UDF-classic/*.sql + + +%files superserver +%defattr(0644,root,root,0755) +%doc doc/license/IDPL.txt +%doc doc/license/README.license.usage.txt +%defattr(0644,root,root,0755) +%dir %attr(0755,%{name},%{name}) %{_var}/run/%{name} +%dir %{fbroot}/bin-superserver +%dir %{fbroot}/UDF-superserver +%defattr(0755,root,root,0755) +%{_initrddir}/%{name} +%{fbroot}/bin-superserver/* +%{fbroot}/UDF-superserver/*.so +%defattr(0644,root,root,0755) +%{fbroot}/UDF-superserver/*.sql + + +%changelog +* Sat May 02 2009 Philippe Makowski 2.1.2.18118.0-6 +- add filesystem-subpackage +- remove common subpackage and use the main instead +- add logrotate config + +* Thu Apr 30 2009 Philippe Makowski 2.1.2.18118.0-5 +- fix directories owning + +* Thu Apr 23 2009 Philippe Makowski 2.1.2.18118.0-4 +- major cleaning install process to take care of the two architectures (Classic and Superserver) the right way + +* Wed Apr 22 2009 Philippe Makowski 2.1.2.18118.0-3 +- fix group creation + +* Sun Apr 19 2009 Philippe Makowski 2.1.2.18118.0-2 +- fix autogen issue for f11 +- patch init script +- fix ppc64 lib destination issue + +* Sun Apr 19 2009 Philippe Makowski 2.1.2.18118.0-1 +- backport doc patch +- update to 2.1.2.18118 +- cleanup macros +- specifie libdir +- change firebird user login + +* Sat Mar 28 2009 Philippe Makowski 2.1.1.17910.0-5 +- Major packaging restructuring + +* Mon Mar 21 2009 Philippe Makowski 2.1.1.17190.0-4 +- Create a doc package +- major cleaning to avoid rpmlint errors +- revert to 2.1.1 (last stable build published) + +* Mon Mar 09 2009 Jonathan MERCIER 2.1.2.18116.0-3 +- Perform %%configure with option --with-system-icu +- Add libicu-devel in BuildRequires +- Use iconv for convert files to UTF-8 + +* Fri Mar 05 2009 Jonathan MERCIER 2.1.2.18116.0-2 +- Update to 2.1.2 +- Use %%global instead of %%define +- Change ${SOURCE1} to %%{SOURCE1} +- Change Group Database to Applications/Databases +- Change License IPL to Interbase +- Perform %%configure section's with some module +- Cconvert cyrillic character to UTF-8 + +* Thu Jul 17 2008 Arkady L. Shane 2.1.1.17910.0-1 +- Update to 2.1.1 + +* Fri Apr 18 2008 Arkady L. Shane 2.1.0.17798.0-1 +- Update to 2.1.0 + +* Thu Sep 27 2007 Arkady L. Shane 2.0.3.12981.1-1 +- Update to 2.0.3 + +* Thu Sep 13 2007 Arkady L. Shane 2.0.1.12855.0-1 +- Initial build for Fedora +- cleanup Mandriva spec diff --git a/import.log b/import.log new file mode 100644 index 0000000..5864bbc --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +firebird-2_1_2_18118_0-6_fc10:F-9:firebird-2.1.2.18118.0-6.fc10.src.rpm:1241428024 diff --git a/sources b/sources index e69de29..f355845 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +063b3825a06d328f726b733fd74614b1 Firebird-2.1.2.18118-0.tar.bz2