]> git.pld-linux.org Git - packages/libofx.git/blob - libofx.spec
- updated to 0.9.1
[packages/libofx.git] / libofx.spec
1 Summary:        LibOFX library that allows applications to support OFX command responses
2 Summary(pl.UTF-8):      Biblioteka LibOFX pozwalająca aplikacjom obsługiwać odpowiedzi na polecenia OFX
3 Name:           libofx
4 Version:        0.9.1
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libofx/%{name}-%{version}.tar.gz
9 # Source0-md5:  e634f47ca12e82d860912d48c93b8e50
10 Patch0:         %{name}-system-wide-treehh.patch
11 Patch1:         %{name}-includes.patch
12 URL:            http://libofx.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  curl-devel >= 7.9.7
16 BuildRequires:  libtool >= 2:1.4d
17 BuildRequires:  opensp-devel
18 BuildRequires:  tree.hh
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This is the LibOFX library. It is a API designed to allow applications
23 to very easily support OFX command responses, usually provided by
24 financial institutions. See http://www.ofx.net/ofx/default.asp for
25 details and specification. LibOFX is based on the excellent OpenSP
26 library written by James Clark, and now part of the OpenJADE project
27 (http://openjade.sourceforge.net/). LibOFX is written in C++, but
28 provides a C style interface usable transparently from both C and C++
29 using a single include file.
30
31 %description -l pl.UTF-8
32 Ten pakiet zawiera bibliotekę LibOFX. Jest to API zaprojektowane aby
33 umożliwić aplikacjom w prosty sposób obsługiwać odpowiedzi na
34 polecenia OFX, zwykle udostępniane przez instytucje finansowe.
35 Szczegóły oraz specyfikację można znaleźć na stronie
36 http://www.ofx.net/ofx/default.asp. LibOFX jest oparta na świetnej
37 bibliotece OpenSP napisanej przez Jamesa Clarka, będącej teraz częścią
38 projektu OpenJADE (http://openjade.sourceforge.net/). LibOFX jest
39 napisana w C++, ale udostępnia interfejs w C, którego można używać w
40 sposób przezroczysty z poziomu C i C++ przy użyciu tego samego pliku
41 nagłówkowego.
42
43 %package devel
44 Summary:        Header files for LibOFX library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki LibOFX
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       opensp-devel
49
50 %description devel
51 Header files for developing programs using LibOFX.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe do tworzenia programów z użyciem LibOFX.
55
56 %package static
57 Summary:        Static version LibOFX library
58 Summary(pl.UTF-8):      Biblioteka statyczna LibOFX
59 Group:          Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61
62 %description static
63 Static LibOFX library.
64
65 %description static -l pl.UTF-8
66 Statyczna biblioteka LibOFX.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71 %patch1 -p1
72 rm -f lib/tree.hh
73
74 %build
75 %{__libtoolize}
76 %{__aclocal} -I m4
77 %{__autoconf}
78 %{__autoheader}
79 %{__automake}
80 %configure \
81         --with-opensp-libs=%{_libdir}
82
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 rm -rf $RPM_BUILD_ROOT%{_docdir}/libofx
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post   -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
98
99 %files
100 %defattr(644,root,root,755)
101 %doc AUTHORS ChangeLog NEWS README
102 %attr(755,root,root) %{_bindir}/ofx2qif
103 %attr(755,root,root) %{_bindir}/ofxdump
104 %attr(755,root,root) %{_libdir}/libofx.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libofx.so.4
106 %{_datadir}/libofx
107
108 %files devel
109 %defattr(644,root,root,755)
110 %doc doc/html
111 %attr(755,root,root) %{_libdir}/libofx.so
112 %{_libdir}/libofx.la
113 %{_includedir}/libofx
114 %{_pkgconfigdir}/libofx.pc
115
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/libofx.a
This page took 0.079441 seconds and 3 git commands to generate.