]>
Commit | Line | Data |
---|---|---|
b074a322 | 1 | Summary: Data With Interaction |
40b82732 | 2 | Summary(pl.UTF-8): Data With Interaction - biblioteka do pracy z danymi |
b074a322 JB |
3 | Name: dwi |
4 | Version: 0.6.1 | |
5 | Release: 1 | |
6 | License: LGPL v2.1+ | |
7 | Group: Libraries | |
8 | Source0: http://dl.sourceforge.net/dwi/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 30fa12e13238b80151538513ff189bdc | |
10 | Patch0: %{name}-libpq.patch | |
11 | Patch1: %{name}-libxml2.patch | |
12 | Patch2: %{name}-qof.patch | |
13 | Patch3: %{name}-link.patch | |
14 | URL: http://dwi.sourceforge.net/ | |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRequires: glib2-devel >= 2.0.0 | |
18 | BuildRequires: gtk+2-devel >= 2.0 | |
19 | BuildRequires: libdbi-devel | |
20 | BuildRequires: libglade2-devel >= 2.0 | |
21 | BuildRequires: libgnomeui-devel >= 2.0 | |
22 | BuildRequires: libtool | |
23 | BuildRequires: libxml2-devel >= 2.0.0 | |
24 | BuildRequires: pkgconfig | |
25 | BuildRequires: postgresql-devel | |
26 | BuildRequires: unixODBC-devel | |
27 | #BuildRequires: old qof-devel - forget for now | |
28 | BuildConflicts: libiodbc-devel | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | DWI is a fairly simple environment for quickly creating data-driven | |
33 | applications, that is, graphical applications that manipulate and show | |
34 | info from a database. | |
35 | ||
f1870787 JR |
36 | %description -l pl.UTF-8 |
37 | DWI to w miarę proste środowisko do szybkiego tworzenia aplikacji | |
38 | pracujących z danymi, czyli graficznych aplikacji obrabiających i | |
39 | wyświetlających informacje z bazy danych. | |
b074a322 JB |
40 | |
41 | %package devel | |
42 | Summary: Header files for DWI library | |
40b82732 | 43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki DWI |
b074a322 JB |
44 | Group: Development/Libraries |
45 | Requires: %{name} = %{version}-%{release} | |
46 | Requires: glib2-devel >= 2.0.0 | |
47 | Requires: libxml2-devel >= 2.0.0 | |
48 | ||
49 | %description devel | |
50 | Header files for DWI library. | |
51 | ||
f1870787 JR |
52 | %description devel -l pl.UTF-8 |
53 | Pliki nagłówkowe biblioteki DWI. | |
b074a322 JB |
54 | |
55 | %package static | |
56 | Summary: Static DWI library | |
40b82732 | 57 | Summary(pl.UTF-8): Statyczna biblioteka DWI |
b074a322 JB |
58 | Group: Development/Libraries |
59 | Requires: %{name}-devel = %{version}-%{release} | |
60 | ||
61 | %description static | |
62 | Static DWI library. | |
63 | ||
f1870787 | 64 | %description static -l pl.UTF-8 |
b074a322 JB |
65 | Statyczna biblioteka DWI. |
66 | ||
67 | %prep | |
68 | %setup -q | |
69 | %patch0 -p1 | |
70 | %patch1 -p1 | |
71 | %patch2 -p1 | |
72 | %patch3 -p1 | |
73 | ||
74 | %build | |
75 | %{__libtoolize} | |
76 | %{__aclocal} | |
77 | %{__autoconf} | |
78 | %{__autoheader} | |
79 | %{__automake} | |
80 | %configure | |
81 | %{__make} | |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
89 | rm -f $RPM_BUILD_ROOT%{_libdir}/libdwi-db-*.{la,a} | |
90 | ||
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post -p /sbin/ldconfig | |
95 | %postun -p /sbin/ldconfig | |
96 | ||
97 | %files | |
98 | %defattr(644,root,root,755) | |
99 | %doc AUTHORS NEWS README TODO | |
100 | %attr(755,root,root) %{_bindir}/dwi-run | |
101 | %attr(755,root,root) %{_libdir}/libdwi.so.*.*.* | |
102 | %attr(755,root,root) %{_libdir}/libdwi-parse.so.*.*.* | |
103 | #%attr(755,root,root) %{_libdir}/libdwi-qof.so.*.*.* | |
104 | %attr(755,root,root) %{_libdir}/libdwi-dbdrivers.so.*.*.* | |
105 | %attr(755,root,root) %{_libdir}/libdwi-gtk.so.*.*.* | |
106 | # drivers | |
107 | %attr(755,root,root) %{_libdir}/libdwi-db-libdbi.so | |
108 | %attr(755,root,root) %{_libdir}/libdwi-db-libpg.so | |
109 | %attr(755,root,root) %{_libdir}/libdwi-db-odbc.so | |
110 | ||
111 | %files devel | |
112 | %defattr(644,root,root,755) | |
113 | %attr(755,root,root) %{_libdir}/libdwi.so | |
114 | %attr(755,root,root) %{_libdir}/libdwi-parse.so | |
115 | #%attr(755,root,root) %{_libdir}/libdwi-qof.so | |
116 | %attr(755,root,root) %{_libdir}/libdwi-dbdrivers.so | |
117 | %attr(755,root,root) %{_libdir}/libdwi-gtk.so | |
118 | %{_libdir}/libdwi.la | |
119 | %{_libdir}/libdwi-parse.la | |
120 | #%{_libdir}/libdwi-qof.la | |
121 | %{_libdir}/libdwi-dbdrivers.la | |
122 | %{_libdir}/libdwi-gtk.la | |
123 | %{_includedir}/dwi | |
124 | %{_pkgconfigdir}/dwi-0.pc | |
125 | ||
126 | %files static | |
127 | %defattr(644,root,root,755) | |
128 | %{_libdir}/libdwi.a | |
129 | %{_libdir}/libdwi-parse.a | |
130 | #%{_libdir}/libdwi-qof.a | |
131 | %{_libdir}/libdwi-dbdrivers.a | |
132 | %{_libdir}/libdwi-gtk.a |