1
Summary: Drizzle Database Server, client tools, and client libraries
3
Version: @PANDORA_RELEASE_VERSION@
6
Group: System Environment/Libraries
8
URL: http://launchpad.net/drizzle
9
Requires: boost-program-options >= 1.39
11
Packager: Brian Aker <brian@tangent.org>
13
Source: http://launchpad.net/drizzle/trunk/%{version}/+download/drizzle7-%{version}.tar.gz
14
Source1: drizzled.init
15
BuildRoot: %{_tmppath}/%{name}7-%{version}-%{release}-buildroot
18
Drizzle Relational Database Server
20
This package provides the client utilities.
23
Summary: Drizzle Server
24
Group: Applications/Databases
25
Requires: boost-program-options >= 1.39
28
Drizzle SQL Relational Database Server
30
This package provides the Drizzle Server.
33
Summary: Header files and development libraries for %{name}
34
Group: Development/Libraries
35
Requires: %{name} = %{version}-%{release}
38
This package contains the header files and development libraries
39
for %{name}. If you like to develop programs using %{name},
40
you will need to install %{name}-devel.
49
%{__make} %{_smp_mflags}
52
%{__rm} -rf %{buildroot}
53
%{__make} install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""
54
mkdir -p $RPM_BUILD_ROOT/
55
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
56
mkdir -p $RPM_BUILD_ROOT/var/log/drizzled
57
mkdir -p $RPM_BUILD_ROOT/var/run/drizzled
58
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/drizzled
61
%{__rm} -rf %{buildroot}
64
if ! /usr/bin/id -g drizzle &>/dev/null; then
65
/usr/sbin/groupadd -r drizzle
67
if ! /usr/bin/id drizzle &>/dev/null; then
68
/usr/sbin/useradd -M -r -g drizzle -d /var/lib/drizzle -s /bin/false \
69
-c "Drizzle Database Server" drizzle > /dev/null 2>&1
75
/sbin/chkconfig --add drizzled
81
/sbin/chkconfig --del drizzled
87
/sbin/service drizzled condrestart >/dev/null 2>&1 || :
91
%defattr(-,root,root,-)
92
%doc AUTHORS COPYING NEWS README
94
%{_libdir}/libdrizzle.la
95
%{_mandir}/man1/drizzle.1.gz
96
%{_mandir}/man1/drizzledump.1.gz
97
%{_mandir}/man1/drizzleimport.1.gz
98
%{_mandir}/man1/drizzleslap.1.gz
101
%defattr(-,root,root,-)
102
%doc AUTHORS COPYING NEWS README
103
%{_mandir}/man8/drizzled.8.gz
104
%{_mandir}/man8/drizzled7.8.gz
106
/etc/rc.d/init.d/drizzled
107
%attr(0755,drizzle,drizzle) %dir /var/log/drizzled
108
%attr(0755,drizzle,drizzle) %dir /var/run/drizzled
111
%defattr(-,root,root,-)
112
%doc AUTHORS COPYING NEWS README
113
%{_libdir}/libdrizzle.a
114
%{_includedir}/libdrizzle/drizzle.h
115
%{_includedir}/libdrizzle/drizzle_client.h
116
%{_includedir}/libdrizzle-1.0/column_client.h
117
%{_includedir}/libdrizzle-1.0/column.h
118
%{_includedir}/libdrizzle-1.0/column_server.h
119
%{_includedir}/libdrizzle-1.0/command_client.h
120
%{_includedir}/libdrizzle-1.0/command_server.h
121
%{_includedir}/libdrizzle-1.0/conn_client.h
122
%{_includedir}/libdrizzle-1.0/conn.h
123
%{_includedir}/libdrizzle-1.0/conn_server.h
124
%{_includedir}/libdrizzle-1.0/constants.h
125
%{_includedir}/libdrizzle-1.0/drizzle_client.h
126
%{_includedir}/libdrizzle-1.0/drizzle.h
127
%{_includedir}/libdrizzle-1.0/drizzle_server.h
128
%{_includedir}/libdrizzle-1.0/field_client.h
129
%{_includedir}/libdrizzle-1.0/field_server.h
130
%{_includedir}/libdrizzle-1.0/handshake_client.h
131
%{_includedir}/libdrizzle-1.0/handshake_server.h
132
%{_includedir}/libdrizzle-1.0/libdrizzle.h
133
%{_includedir}/libdrizzle-1.0/query.h
134
%{_includedir}/libdrizzle-1.0/result_client.h
135
%{_includedir}/libdrizzle-1.0/result.h
136
%{_includedir}/libdrizzle-1.0/result_server.h
137
%{_includedir}/libdrizzle-1.0/row_client.h
138
%{_includedir}/libdrizzle-1.0/row_server.h
139
%{_includedir}/libdrizzle-1.0/structs.h
140
%{_includedir}/libdrizzle-1.0/visibility.h
141
%{_libdir}/pkgconfig/drizzle.pc
142
%{_libdir}/libdrizzle.so
143
%{_mandir}/man3/drizzle_create.3.gz
147
* Wed Dec 21 2012 Brian Aker <brian@tangent.org> - 0.1-1