3 %bcond_with tests # build with tests
4 %bcond_without tests # build without tests
15 Source0: http://bond.treshna.com/%{name}-%{version}.tar.gz
16 # Source0-md5: 08b033a93d8b1a123a1be5fe112ac521
19 #Patch0: %{name}-what.patch
20 URL: http://bond.treshna.com/
21 BuildRequires: libxml2-devel >= 2.6.0
22 BuildRequires: postgresql-devel
24 #Requires(pre,post): -
27 Requires: libxml2 >= 2.6.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Bond is a rapid application development (RAD) tool for linux that allows you to create network database programs quickly and easily. With this new version comes major updates in Bond XML format, and a move away from the use of C code completely! This means you can create powerful database programs quickly, only requiring knowledge of XML and SQL.
43 #%description subpackage
45 #%description subpackage -l pl
52 # if ac/am/* rebuilding is necessary, do it in this order and add
53 # appropriate BuildRequires
55 for pack in bonddb bond; do
71 rm -rf $RPM_BUILD_ROOT
72 # create directories if necessary
73 #install -d $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
93 # if _sysconfdir != /etc:
95 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
97 %attr(755,root,root) %{_bindir}/*
101 # initscript and its config
102 %attr(754,root,root) /etc/rc.d/init.d/%{name}
103 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
106 #%defattr(644,root,root,755)
108 #%{_datadir}/%{name}-ext