]> git.pld-linux.org Git - SPECS.git/blob - vdkxdb.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / vdkxdb.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs # don't build static libraries
4 #
5 Summary:        VDKXdb - a set of data-aware widgets to build database applications using VDK
6 Summary(pl.UTF-8):      VDKXdb - zestaw widżetów do budowy aplikacji bazodanowych przy użyciu VDK
7 Name:           vdkxdb
8 Version:        2.4.0
9 Release:        0.1
10 License:        LGPL v2
11 Group:          Libraries
12 Source0:        http://dl.sourceforge.net/vdklib/%{name}-%{version}.tar.gz
13 # Source0-md5:  e603e6f3b78bd6e17572025e02130ae7
14 Patch0:         %{name}-xbase_ver.patch
15 Patch1:         %{name}-ac_FLAGS.patch
16 URL:            http://vdklib.sourceforge.net/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 VDKXdb is a set of data-aware widgets made to build light weight
24 database applications using VDK library.
25
26 %description -l pl.UTF-8
27 VDKXdb to zestaw zorientowanych na dane widżetów do budowy lekkich
28 aplikacji bazodanowych przy użyciu biblioteki VDK.
29
30 %package devel
31 Summary:        Header files for vdkxdb library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki vdkxdb
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files for vdkxdb library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki vdkxdb.
41
42 %package static
43 Summary:        Static vdkxdb library
44 Summary(pl.UTF-8):      Statyczna biblioteka vdkxdb
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static vdkxdb library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka vdkxdb.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57 %patch1 -p1
58
59 %build
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__autoheader}
64 %{__automake}
65 %configure \
66         --enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
67 %{__make}
68 %{__make} docs
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %doc doc/doxy/html/*
90 %attr(755,root,root) %{_bindir}/*
91 %attr(755,root,root) %{_libdir}/lib*.so
92 %{_libdir}/lib*.la
93 %{_includedir}/vdkxdb2
94 %{_mandir}/man1/*
95
96 %if %{with static_libs}
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
100 %endif
This page took 0.145073 seconds and 3 git commands to generate.