]> git.pld-linux.org Git - packages/dclib.git/blame - dclib.spec
- up to 0.3.12
[packages/dclib.git] / dclib.spec
CommitLineData
25c75371
JB
1#
2# Conditional build:
46978f0f 3%bcond_with lying # lie about the H header (always H:1)
25c75371 4#
a95b674e 5Summary: DirectConnect support library for dcgui-qt
45f7b9cd 6Summary(pl.UTF-8): Biblioteka obsługująca DirectConnect dla dcgui-qt
a97cdc01 7Name: dclib
dd45c6cd 8Version: 0.3.12
af139c20 9Release: 1
bcbb008b 10Epoch: 1
a95b674e 11License: GPL
9578f9b3 12Group: Libraries
af139c20 13Source0: http://dl.sourceforge.net/wxdcgui/%{name}-%{version}.tar.bz2
dd45c6cd 14# Source0-md5: 0681342620baeb1ac2309d4f770f666e
46978f0f 15Patch0: %{name}-lying_tags.patch
af139c20 16Patch1: %{name}-include.patch
2b4f16c0 17Patch2: %{name}-DESTDIR.patch
af139c20 18URL: http://wxdcgui.sourceforge.net/
2b4f16c0
PG
19BuildRequires: autoconf
20BuildRequires: automake
5d8bc76d 21BuildRequires: bzip2-devel
9578f9b3 22BuildRequires: libstdc++-devel
2b4f16c0 23BuildRequires: libtool
7cca6f8f 24BuildRequires: libxml2-devel > 2.0.0
9c907330 25BuildRequires: openssl-devel >= 0.9.7d
5d8bc76d 26Requires: libxml2 > 2.0.0
a97cdc01
PG
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
a97cdc01 29%description
5d8bc76d 30DirectConnect support library for dcgui-qt.
a97cdc01 31
3b6ce15d
JR
32%description -l pl.UTF-8
33Biblioteka obsługująca DirectConnect dla dcgui-qt.
a97cdc01
PG
34
35%package devel
a95b674e 36Summary: Header files for dclib
45f7b9cd 37Summary(pl.UTF-8): Pliki nagłówkowe dla dclib
9578f9b3 38Group: Development/Libraries
06f9e904 39Requires: %{name} = %{epoch}:%{version}-%{release}
9578f9b3
JB
40Requires: bzip2-devel
41Requires: libstdc++-devel
42Requires: libxml2-devel > 2.0.0
43Requires: openssl-devel
a97cdc01
PG
44
45%description devel
5d8bc76d 46Header files for dclib.
a97cdc01 47
3b6ce15d
JR
48%description devel -l pl.UTF-8
49Pliki nagłówkowe dla dclib.
a97cdc01
PG
50
51%package static
5d8bc76d 52Summary: Static dclib library
45f7b9cd 53Summary(pl.UTF-8): Statyczna biblioteka dclib
9578f9b3 54Group: Development/Libraries
06f9e904 55Requires: %{name}-devel = %{epoch}:%{version}-%{release}
a97cdc01
PG
56
57%description static
5d8bc76d 58Static dclib library.
a97cdc01 59
3b6ce15d 60%description static -l pl.UTF-8
5d8bc76d 61Statyczna biblioteka dclib.
a97cdc01
PG
62
63%prep
fa58460f 64%setup -q
46978f0f 65%{?with_lying:%patch0 -p1}
af139c20 66%patch1 -p1
2b4f16c0 67%patch2 -p1
a97cdc01
PG
68
69%build
2b4f16c0
PG
70%{__libtoolize}
71%{__aclocal}
72%{__autoconf}
73%{__automake}
a97cdc01 74%configure
a97cdc01
PG
75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
b4ada796
PG
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
a97cdc01
PG
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
5d8bc76d
JB
86%post -p /sbin/ldconfig
87%postun -p /sbin/ldconfig
88
a97cdc01
PG
89%files
90%defattr(644,root,root,755)
915f2c4a 91%doc AUTHORS README
5d8bc76d 92%attr(755,root,root) %{_libdir}/libdc.so.*.*
07892a12 93%{_datadir}/dclib
a97cdc01
PG
94
95%files devel
96%defattr(644,root,root,755)
5d8bc76d
JB
97%attr(755,root,root) %{_libdir}/*.so
98%{_libdir}/*.la
99%{_includedir}/dclib
130f8006 100%{_pkgconfigdir}/*.pc
a97cdc01
PG
101
102%files static
103%defattr(644,root,root,755)
a95b674e 104%{_libdir}/*.a
This page took 0.043779 seconds and 4 git commands to generate.