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