Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:Update
firebird.1411
firebird-classic.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File firebird-classic.spec of Package firebird.1411
# # spec file for package firebird-classic # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define upversion 2.5.2.26539 %define pkgversion Firebird-%{upversion}-0 %define bname firebird %if 0%{?suse_version} < 1130 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif Name: firebird-classic Version: %{upversion} Release: 0 Source: %{pkgversion}.tar.bz2 Url: http://www.firebirdsql.org/ BuildRequires: gcc-c++ BuildRequires: libedit-devel BuildRequires: libicu-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: pkg-config %ifnarch %{ix86} x86_64 BuildRequires: libatomic-ops-devel %endif Requires(pre): pwdutils Requires: %{bname} = %{version} Provides: %{bname}-server Summary: Classic architecture binaries for SQL database server License: SUSE-IDPL-1.0 and SUSE-IBPL-1.0 Group: Productivity/Databases/Servers # PATCH-FIX-OPENSUSE firebird-2.5.1-chown.patch mkubecek@suse.cz -- allow install as non-root Patch1: %{bname}-2.5.1-chown.patch # PATCH-FEATURE-OPENSUSE firebird-2.5.2-gpidfile.patch mkubecek@suse.cz -- add -gpidfile option to fbguard Patch2: %{bname}-2.5.2-gpidfile.patch # PATCH-FIX-OPENSUSE firebird-2.5.2-init.patch mkubecek@suse.cz -- use startproc/killproc in init script Patch3: %{bname}-2.5.2-init.patch # PATCH-FIX-OPENSUSE firebird-2.5.1-disable.patch mkubecek@suse.cz -- disable inetd service, don't run as root Patch5: %{bname}-2.5.1-disable.patch # PATCH-FIX-OPENSUSE firebird-2.5.1-config.patch mkubecek@suse.cz -- change default DatabaseAccess to safer one Patch6: %{bname}-2.5.1-config.patch # PATCH-FEATURE-OPENSUSE firebird-2.5.2-pkgconfig.patch mkubecek@suse.cz -- provide pkg-config file for fbclient Patch7: %{bname}-2.5.2-pkgconfig.patch # PATCH-FIX-OPENSUSE firebird-2.5.2-runlevel.patch mkubecek@suse.cz -- don't start in runlevel 2 Patch8: %{bname}-2.5.2-runlevel.patch # PATCH-FIX-OPENSUSE ppc64-libdir.patch dvaleev@suse.com -- fix build on ppc64 architecture Patch9: ppc64-libdir.patch # PATCH-FIX-UPSTREAM firebird-2.5.2-icu49.patch [bnc#789171] adrianosf@gmail.com -- fix broken unicode collations with ICU 49 Patch10: %{bname}-2.5.2-icu49.patch # PATCH-FIX-UPSTREAM firebird-2.5.2-CORE-4058.patch [bnc#808268] peshkoff@mail.ru -- remote stack overflow (CORE-4058) Patch11: %{bname}-2.5.2-CORE-4058.patch # PATCH-FIX-UPSTREAM firebird-2.5.2-isqlalign adrianosf@gmail.com -- fix column alignment with UTF-8 Patch21: %{bname}-2.5.2-isqlalign.patch # PATCH-FIX-UPSTREAM firebird-2.5.2-isqllocale mkubecek@suse.cz -- fix isql output if charset is different from locale Patch22: %{bname}-2.5.2-isqllocale.patch # PATCH-FIX-UPSTREAM firebird-2.5.2-isqlwidth mkubecek@suse.cz -- fix buffer overflow in isql column alignment Patch23: %{bname}-2.5.2-isqlwidth.patch %description Classic architecture binaries for Firebird SQL server. These can be used either for Classic (separate processes run by (x)inetd) or SuperClassic (one multithreaded daemon with per-connection cache and shared locking system) model. Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names, since 1981. %prep %setup -n %{pkgversion} %patch1 %patch2 -p1 %patch3 %patch5 %patch6 %patch7 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch21 -p1 %patch22 -p1 %patch23 -p1 %build ./autogen.sh --prefix=%{_prefix} \ --with-system-icu --with-system-editline \ --with-fbbin=%{_bindir} --with-fbsbin=%{_sbindir} \ --with-fbconf=%{_sysconfdir}/%{bname} \ --with-fblib=%{_libdir} --with-fbinclude=%{_includedir}/%{bname} \ --with-fbdoc=%{_docdir}/%{bname} \ --with-fbudf=%{_libdir}/%{bname}/udf \ --with-fbsample=%{_docdir}/%{bname}/sample \ --with-fbsample-db=%{_libdir}/%{bname}/sample \ --with-fbhelp=%{_libdir}/%{bname}/lib \ --with-fbintl=%{_libdir}/%{bname}/intl \ --with-fbmisc=%{_datadir}/%{bname}/misc \ --with-fbsecure-db=%{_localstatedir}/lib/%{bname}/secdb \ --with-fbmsg=%{_libdir}/%{bname}/lib \ --with-fblog=%{_localstatedir}/log/%{bname} \ --with-fbglock=%{_localstatedir}/run/%{bname} \ --with-fbplugins=%{_libdir}/%{bname}/plugins make %{?jobs:CPU=%jobs} cd gen make -f Makefile.install buildRoot chmod -R u+w buildroot%{_docdir}/%{bname} %install mkdir -p ${RPM_BUILD_ROOT}%{_bindir} cp gen/buildroot%{_bindir}/* ${RPM_BUILD_ROOT}%{_bindir}/ mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} cp gen/buildroot%{_sbindir}/* ${RPM_BUILD_ROOT}%{_sbindir}/ mkdir -p ${RPM_BUILD_ROOT}%{_libdir} cp -a gen/buildroot%{_libdir}/libfbembed.so* ${RPM_BUILD_ROOT}%{_libdir}/ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d cp gen/buildroot%{_datadir}/%{bname}/misc/firebird.xinetd \ ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/%{bname} mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig cp -v gen/install/misc/*.pc ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig/ cd ${RPM_BUILD_ROOT} rm -vf .%{_sbindir}/*.sh rm -vf .%{_sbindir}/fb_config mv -v .%{_bindir}/isql .%{_bindir}/isql-fb mv -v .%{_bindir}/gstat .%{_bindir}/gstat-fb %files %defattr(-,root,root) %{_bindir}/* %{_sbindir}/* %config(noreplace) %{_sysconfdir}/xinetd.d/%{bname} # ---------------------------------------------------------------------------- %package -n libfbembed2_5 Summary: Firebird SQL server embedded client library Group: Development/Libraries/C and C++ %description -n libfbembed2_5 Shared embedded client library for Firebird SQL server. Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names, since 1981. %files -n libfbembed2_5 %defattr(-,root,root) %{_libdir}/libfbembed.so.* %post -n libfbembed2_5 /sbin/ldconfig %postun -n libfbembed2_5 /sbin/ldconfig # ---------------------------------------------------------------------------- %package -n libfbembed-devel Summary: Development files for Firebird SQL server embedded client library Group: Development/Libraries/C and C++ Requires: %{bname}-devel Requires: libfbembed2_5 = %{version} %description -n libfbembed-devel Development files for Firebird SQL server embedded client library. Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names, since 1981. %files -n libfbembed-devel %defattr(-,root,root) %{_libdir}/libfbembed.so %{_libdir}/pkgconfig/fbembed.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor