]> git.pld-linux.org Git - packages/dclib.git/blob - dclib.spec
- kill unneeded automake BR and stuff that belongs to it
[packages/dclib.git] / dclib.spec
1 #
2 # Conditional build:
3 %bcond_with     lying   # lie about the H header (always H:1)
4 #
5 Summary:        DirectConnect support library for dcgui-qt
6 Summary(pl.UTF-8):      Biblioteka obsługująca DirectConnect dla dcgui-qt
7 Name:           dclib
8 Version:        0.3.8
9 Release:        2
10 Epoch:          1
11 License:        GPL
12 Group:          Libraries
13 Source0:        http://downloads.sourceforge.net/wxdcgui/%{name}-%{version}.tar.bz2
14 # Source0-md5:  4ae0980b1e09eff8c7d193867d213333
15 Patch0:         %{name}-lying_tags.patch
16 URL:            http://dcgui.berlios.de/
17 BuildRequires:  bzip2-devel
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libxml2-devel > 2.0.0
20 BuildRequires:  openssl-devel >= 0.9.7d
21 Requires:       libxml2 > 2.0.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 DirectConnect support library for dcgui-qt.
26
27 %description -l pl.UTF-8
28 Biblioteka obsługująca DirectConnect dla dcgui-qt.
29
30 %package devel
31 Summary:        Header files for dclib
32 Summary(pl.UTF-8):      Pliki nagłówkowe dla dclib
33 Group:          Development/Libraries
34 Requires:       %{name} = %{epoch}:%{version}-%{release}
35 Requires:       bzip2-devel
36 Requires:       libstdc++-devel
37 Requires:       libxml2-devel > 2.0.0
38 Requires:       openssl-devel
39
40 %description devel
41 Header files for dclib.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe dla dclib.
45
46 %package static
47 Summary:        Static dclib library
48 Summary(pl.UTF-8):      Statyczna biblioteka dclib
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
51
52 %description static
53 Static dclib library.
54
55 %description static -l pl.UTF-8
56 Statyczna biblioteka dclib.
57
58 %prep
59 %setup -q
60 %{?with_lying:%patch0 -p1}
61
62 %build
63 %configure
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %files
79 %defattr(644,root,root,755)
80 %doc AUTHORS README
81 %attr(755,root,root) %{_libdir}/libdc.so.*.*
82 %{_datadir}/dclib
83
84 %files devel
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/*.so
87 %{_libdir}/*.la
88 %{_includedir}/dclib
89 %{_pkgconfigdir}/*.pc
90
91 %files static
92 %defattr(644,root,root,755)
93 %{_libdir}/*.a
This page took 0.096478 seconds and 4 git commands to generate.