3 Summary: rFunc - UDF Library for InterBase/Firebird server
9 Source0: http://downloads.sourceforge.net/rfunc/%{pname}-%{version}-RC1-unix.tar.gz
10 # Source0-md5: 8105d437b058defb82d83aac9b665b6d
11 Patch0: %{name}-makefile.patch
12 URL: http://rfunc.sourceforge.net/
13 BuildRequires: Firebird-devel
14 BuildRequires: libuuid-devel
15 BuildRequires: sed >= 4.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define ibdir %{_libdir}/interbase
21 rFunc is a UDF Library for InterBase/Firebird server. The library
22 represents a set of user's (UDF) string, bit, numerical functions, and
23 also for operation with dates&time and BLOBs.
33 USERCFLAGS="%{rpmcflags}"
36 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{ibdir}/UDF
39 install source/rfunc $RPM_BUILD_ROOT%{ibdir}/UDF/rfunc.so
40 install sql/rfunc6.sql $RPM_BUILD_ROOT%{ibdir}/UDF/rfunc.sql
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc doc/rfunc* doc/*.css doc/img
48 %lang(ru) %doc doc/rus
49 %attr(755,root,root) %{ibdir}/UDF/rfunc.so
50 %{ibdir}/UDF/rfunc.sql