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