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