]> git.pld-linux.org Git - packages/dbf2mysql.git/blob - dbf2mysql.spec
f6c3fc48d858cd7cdf1e5768ee1f6b7ebd490502
[packages/dbf2mysql.git] / dbf2mysql.spec
1 Summary:        Tool for creating converters from dbf files to MySQL commands
2 Summary(pl):    Narzêdzie do tworzenia konwerterów plików dbf na instrukcje MySQL
3 Name:           dbf2mysql
4 Version:        1.14a
5 Release:        1
6 License:        GPL
7 Group:          Applications/Databases
8 Source0:        ftp://ftp.debian.org/debian/pool/main/d/dbf2mysql/%{name}_%{version}.orig.tar.gz
9 # Source0-md5:  381f69bf6aa5d8dbed8a4ac129d63a6c
10 Patch0:         %{name}-debian.patch
11 URL:            http://dbf2mysql.sourceforge.net/
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 dbf2mysql is a little tool that will display dBase III and IV files.
16 You can also use it to convert your old .dbf files for further use
17 with MySQL.
18
19 %description -l pl
20 dbf2mysql jest ma³ym programem wy¶wietlaj±cym zawarto¶æ plików dBase
21 III i IV. Mo¿na go wykorzystaæ do konwersji starych plików .dbf do
22 wykorzystania pod MySQL.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27 patch -p1 < debian/patches/mysql.dpatch || exit 1
28 patch -p1 < debian/patches/05_mysql_real_connect.dpatch || exit 1
29
30 %build
31 %{__make} \
32         CC="%{__cc}" \
33         CFLAGS="%{rpmcflags}" \
34         MYSQLLIB="-L%{_libdir}"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39 install dbf2mysql mysql2dbf $RPM_BUILD_ROOT%{_bindir}
40 install debian/dbf2mysql.1 $RPM_BUILD_ROOT%{_mandir}/man1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README
48 %attr(755,root,root) %{_bindir}/*
49 %{_mandir}/man1/*
This page took 0.054417 seconds and 2 git commands to generate.