- converted to UTF-8
[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
3b6ce15d 6Summary(pl.UTF-8): Biblioteka obsługująca DirectConnect dla dcgui-qt
a97cdc01 7Name: dclib
30a81c37 8Version: 0.3.8
915f2c4a 9Release: 1
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/
7cca6f8f 17BuildRequires: automake
5d8bc76d 18BuildRequires: bzip2-devel
9578f9b3 19BuildRequires: libstdc++-devel
7cca6f8f 20BuildRequires: libxml2-devel > 2.0.0
9c907330 21BuildRequires: openssl-devel >= 0.9.7d
5d8bc76d 22Requires: libxml2 > 2.0.0
a97cdc01
PG
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
a97cdc01 25%description
5d8bc76d 26DirectConnect support library for dcgui-qt.
a97cdc01 27
3b6ce15d
JR
28%description -l pl.UTF-8
29Biblioteka obsługująca DirectConnect dla dcgui-qt.
a97cdc01
PG
30
31%package devel
a95b674e 32Summary: Header files for dclib
3b6ce15d 33Summary(pl.UTF-8): Pliki nagłówkowe dla dclib
9578f9b3 34Group: Development/Libraries
06f9e904 35Requires: %{name} = %{epoch}:%{version}-%{release}
9578f9b3
JB
36Requires: bzip2-devel
37Requires: libstdc++-devel
38Requires: libxml2-devel > 2.0.0
39Requires: openssl-devel
a97cdc01
PG
40
41%description devel
5d8bc76d 42Header files for dclib.
a97cdc01 43
3b6ce15d
JR
44%description devel -l pl.UTF-8
45Pliki nagłówkowe dla dclib.
a97cdc01
PG
46
47%package static
5d8bc76d 48Summary: Static dclib library
3b6ce15d 49Summary(pl.UTF-8): Statyczna biblioteka dclib
9578f9b3 50Group: Development/Libraries
06f9e904 51Requires: %{name}-devel = %{epoch}:%{version}-%{release}
a97cdc01
PG
52
53%description static
5d8bc76d 54Static dclib library.
a97cdc01 55
3b6ce15d 56%description static -l pl.UTF-8
5d8bc76d 57Statyczna biblioteka dclib.
a97cdc01
PG
58
59%prep
fa58460f 60%setup -q
46978f0f 61%{?with_lying:%patch0 -p1}
a97cdc01
PG
62
63%build
cde201de 64cp -f /usr/share/automake/config.sub admin
a97cdc01 65%configure
a97cdc01
PG
66%{__make}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
b4ada796
PG
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
a97cdc01
PG
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
5d8bc76d
JB
77%post -p /sbin/ldconfig
78%postun -p /sbin/ldconfig
79
a97cdc01
PG
80%files
81%defattr(644,root,root,755)
915f2c4a 82%doc AUTHORS README
5d8bc76d 83%attr(755,root,root) %{_libdir}/libdc.so.*.*
07892a12 84%{_datadir}/dclib
a97cdc01
PG
85
86%files devel
87%defattr(644,root,root,755)
5d8bc76d
JB
88%attr(755,root,root) %{_libdir}/*.so
89%{_libdir}/*.la
90%{_includedir}/dclib
130f8006 91%{_pkgconfigdir}/*.pc
a97cdc01
PG
92
93%files static
94%defattr(644,root,root,755)
a95b674e 95%{_libdir}/*.a
This page took 0.053867 seconds and 4 git commands to generate.