]> git.pld-linux.org Git - packages/Firebird.git/blobdiff - Firebird.spec
- this is pointless
[packages/Firebird.git] / Firebird.spec
index 3ff357241003a617e60b5a16a395ec1ea1672f7d..f85dcdbe5f402b3580ed81dbfa1a895020d5457a 100644 (file)
@@ -5,6 +5,7 @@
 %bcond_with    ss      # Super Server
 Summary:       Firebird SQL Database Server and Client tools
 Summary(pl):   Firebird - serwer baz danych SQL oraz narzêdzia klienckie
+Summary(de):   Firebird - relationalen Open-Source- Datenbankmanagementsystems
 Name:          Firebird
 # FirebirdCS/FirebirdSS (Classic Server/Super Server)?
 Version:       1.5.2.4731
@@ -33,6 +34,7 @@ BuildRequires:        automake
 BuildRequires: libtool
 BuildRequires: libstdc++-devel
 BuildRequires: ncurses-devel
+BuildRequires: rpmbuild(macros) >= 1.202
 BuildRequires: unzip
 Requires:      %{name}-lib = %{version}-%{release}
 # official ports are x86, sparc and amd64
@@ -54,6 +56,19 @@ Firebird jest pot
 danych zaprojektowanym do osadzania w aplikacjach na wielu
 platformach.
 
+%description -l de
+Firebird ist der Open-Source-Spin-Off des weiterhin kommerziell von
+Borland vertriebenen relationalen Datenbankmanagementsystemes
+InterBase. Die Abspaltung erfolgte im Jahre 2000 als kurz vor Freigabe
+der Version 6 des kommerziellen Vorgängers Interbase bei Borland
+ernsthafte Überlegungen im Gange waren, die Weiterentwicklung
+einzustellen.
+
+Aus Interbase 6.0 wurde Firebird 1.0, wobei dies als eine
+Bugfix-Version mit nur wenigen Erweiterungen angesehen werden kann.
+Eine Erweiterung von Firebird 1.0 ist der 64-Bit File I/O, so dass
+auch Datenbankdateien über 2GB erzeugt werden können.
+
 %package lib
 Summary:       Firebird shared library
 Summary(pl):   Biblioteka wspó³dzielona Firebird
@@ -181,47 +196,31 @@ install %{SOURCE6}        $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/firebird
 rm -rf $RPM_BUILD_ROOT
 
 %pre
-if [ -n "`/usr/bin/getgid firebird`" ]; then
-        if [ "`/usr/bin/getgid firebird`" != "145" ]; then
-                echo "Error: group firebird doesn't have gid=145. Correct this before installing firebird." 1>&2
-                exit 1
-        fi
-else
-        /usr/sbin/groupadd -g 145 firebird
-fi
-if [ -n "`/bin/id -u firebird 2>/dev/null`" ]; then
-        if [ "`/bin/id -u firebird`" != "89" ]; then
-                echo "Error: user firebird doesn't have uid=145. Correct this before installing firebird." 1>&2
-                exit 1
-        fi
-else
-        /usr/sbin/useradd -u 145 \
-                        -d %{ibdir} -s /bin/sh -g firebird \
-                        -c "Firebird Server" firebird 1>&2
-fi
+%groupadd -g 145 firebird
+%useradd -u 145 -d %{ibdir} -s /bin/sh -g firebird -c "Firebird Server" firebird
 
 %if %{with ss}
 %post
 /sbin/chkconfig --add firebird
 if [ -f /var/lock/subsys/firebird ]; then
-        /etc/rc.d/init.d/firebird restart >&2
+       /etc/rc.d/init.d/firebird restart >&2
 else
-        echo "Run \"/etc/rc.d/init.d/firebird start\" to start firebird." >&2
+       echo "Run \"/etc/rc.d/init.d/firebird start\" to start firebird." >&2
 fi
 
 %preun
 if [ "$1" = "0" ]; then
-        if [ -f /var/lock/subsys/firebird ]; then
-                /etc/rc.d/init.d/firebird stop
-        fi
-        /sbin/chkconfig --del firebird
+       if [ -f /var/lock/subsys/firebird ]; then
+               /etc/rc.d/init.d/firebird stop
+       fi
+       /sbin/chkconfig --del firebird
 fi
 %endif
 
 %postun
 if [ "$1" = "0" ]; then
-        %userremove firebird
-        %groupremove firebird
+       %userremove firebird
+       %groupremove firebird
 fi
 
 %post  lib -p /sbin/ldconfig
@@ -246,7 +245,7 @@ fi
 %attr(754,root,root) /etc/rc.d/init.d/firebird
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/firebird
 %else
-%attr(640,root,root) %config(noreplace) %verify(not mtime md5 size) /etc/sysconfig/rc-inetd/firebird
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/firebird
 %endif
 
 %files lib
This page took 0.056022 seconds and 4 git commands to generate.