diff options
author | albator <albator@arcadia.vtf> | 2011-10-29 23:32:41 +0200 |
---|---|---|
committer | albator <albator@arcadia.vtf> | 2011-10-29 23:32:41 +0200 |
commit | 703986bfe4270bb901f594b92eebb265d04ad8f5 (patch) | |
tree | ca0361b20e1cf443754d4104663977e3f0a2077c /redhat/dependencies/libcaldav | |
parent | 5a3c8c66709ef8eeb3708b0eb2732fa9e84d37d3 (diff) | |
download | tde-packaging-703986bfe4270bb901f594b92eebb265d04ad8f5.tar.gz tde-packaging-703986bfe4270bb901f594b92eebb265d04ad8f5.zip |
Lot of updates for TDE 3.5.13 (RHEL 5, RHEL 6, Fedora 15)
Diffstat (limited to 'redhat/dependencies/libcaldav')
-rw-r--r-- | redhat/dependencies/libcaldav/libcaldav.spec | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/redhat/dependencies/libcaldav/libcaldav.spec b/redhat/dependencies/libcaldav/libcaldav.spec index 220913b3b..86b0f4c8b 100644 --- a/redhat/dependencies/libcaldav/libcaldav.spec +++ b/redhat/dependencies/libcaldav/libcaldav.spec @@ -10,8 +10,16 @@ License: GPL Group: System Environment/Libraries Summary: A client library that adds support for the CalDAV protocol (rfc4791). +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + Source0: libcaldav_0.6.5-2debian2.tar.gz +%if 0%{?fedora} || 0%{?rhel} >= 6 +BuildRequires: libcurl-devel +%else +BuildRequires: trinity-libcurl-devel +%endif + %description libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). The object is to have a library which fully implements the protocol so that it is @@ -38,6 +46,10 @@ autoreconf --force --install --symlink %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} +# The include files do not go in the correct directory +%__mv -f %{buildroot}%{_includedir}/%{name}-0.6.2/*.h %{buildroot}%{_includedir} +%__rm -rf %{buildroot}%{_includedir}/%{name}-0.6.2 + %clean %__rm -rf %{buildroot} @@ -47,7 +59,7 @@ autoreconf --force --install --symlink %{_datadir}/doc/%{name} %files devel -%{_includedir}/%{name}-0.6.2 +%{_includedir}/*.h %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/*.so |