]> git.pld-linux.org Git - packages/dbf2mysql.git/blame - dbf2mysql.spec
- use http://ftp.debian.org/ url
[packages/dbf2mysql.git] / dbf2mysql.spec
CommitLineData
8742bdd8 1Summary: Tool for creating converters from dbf files to MySQL commands
eba335de 2Summary(pl.UTF-8): Narzędzie do tworzenia konwerterów plików dbf na instrukcje MySQL
8742bdd8
AM
3Name: dbf2mysql
4Version: 1.14a
5Release: 1
6License: GPL
7Group: Applications/Databases
26ba9539 8Source0: http://ftp.debian.org/debian/pool/main/d/dbf2mysql/%{name}_%{version}.orig.tar.gz
8742bdd8
AM
9# Source0-md5: 381f69bf6aa5d8dbed8a4ac129d63a6c
10Patch0: %{name}-debian.patch
11URL: http://dbf2mysql.sourceforge.net/
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15dbf2mysql is a little tool that will display dBase III and IV files.
16You can also use it to convert your old .dbf files for further use
17with MySQL.
18
c169d403
JR
19%description -l pl.UTF-8
20dbf2mysql jest małym programem wyświetlającym zawartość plików dBase
21III i IV. Można go wykorzystać do konwersji starych plików .dbf do
8742bdd8
AM
22wykorzystania pod MySQL.
23
24%prep
25%setup -q
26%patch0 -p1
27patch -p1 < debian/patches/mysql.dpatch || exit 1
28patch -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
37rm -rf $RPM_BUILD_ROOT
38install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39install dbf2mysql mysql2dbf $RPM_BUILD_ROOT%{_bindir}
40install debian/dbf2mysql.1 $RPM_BUILD_ROOT%{_mandir}/man1
41
42%clean
43rm -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.098427 seconds and 4 git commands to generate.