]> git.pld-linux.org Git - packages/bond.git/blob - bond.spec
- updated gettext BR
[packages/bond.git] / bond.spec
1 Summary:        Building object network databases
2 Summary(pl.UTF-8):      Sieciowe obiektowe bazy danych
3 Name:           bond
4 Version:        2.0.9
5 Release:        0.1
6 License:        GPL v2
7 Group:          Development
8 Source0:        http://bond.treshna.com/%{name}-%{version}.tar.gz
9 # Source0-md5:  08b033a93d8b1a123a1be5fe112ac521
10 URL:            http://bond.treshna.com/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  gettext-tools
14 BuildRequires:  libgda-devel
15 BuildRequires:  libtool
16 BuildRequires:  libxml2-devel >= 2.6.0
17 BuildRequires:  postgresql-devel
18 Requires:       libxml2 >= 2.6.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Bond is a rapid application development (RAD) tool for Linux that
23 allows you to create network database programs quickly and easily.
24
25 %description -l pl.UTF-8
26 Bond jest narzędziem RAD dla Linuksa pozwalającym szybko i łatwo
27 tworzyć sieciowe bazy danych.
28
29 %package -n bonddb
30 Summary:        Building object network databases - database
31 Summary(pl.UTF-8):      Sieciowe obiektowe bazy danych - baza danych
32 Group:          Development
33
34 %description -n bonddb
35 DB part of Bond.
36
37 %description -n bonddb -l pl.UTF-8
38 Część bazodanowa Bonda.
39
40 %prep
41 %setup -q -n %{name}
42
43 %build
44 cd bonddb
45 %{__gettextize}
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__autoheader}
50 %{__automake}
51 %configure \
52         --enable-mysql=yes \
53         --enable-gda=yes \
54         --with-gnu-ld \
55         --with-pic
56 %{__make}
57
58 cd ../bond
59 %{__gettextize}
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
80 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
81 %attr(755,root,root) %{_bindir}/*
82 %{_datadir}/%{name}
83
84 # initscript and its config
85 %attr(754,root,root) /etc/rc.d/init.d/%{name}
86 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
87
88 %files -n bonddb
89 %defattr(644,root,root,755)
90 #%doc extras/*.gz
91 #%{_datadir}/%{name}-ext
This page took 0.400146 seconds and 3 git commands to generate.