summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/libcaldav
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-08-17 23:16:27 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-08-17 23:16:27 +0200
commit3981ced036cda6b6a52203f600990c360571d1f5 (patch)
tree573b36b17eb54ce4e9178a41b3df12dce56bed34 /redhat/dependencies/libcaldav
parent9e497b5b5e1f50f9d3b6df85008b1b2a9aeb45f6 (diff)
downloadtde-packaging-3981ced036cda6b6a52203f600990c360571d1f5.tar.gz
tde-packaging-3981ced036cda6b6a52203f600990c360571d1f5.zip
RPM Packaging: update packages for 3.5.13.2 under Fedora 19
Diffstat (limited to 'redhat/dependencies/libcaldav')
-rw-r--r--redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec28
1 files changed, 20 insertions, 8 deletions
diff --git a/redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec b/redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec
index f792bb98d..9bd814c2a 100644
--- a/redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec
+++ b/redhat/dependencies/libcaldav/libcaldav-3.5.13.2.spec
@@ -3,6 +3,8 @@
%define _variant .opt
%endif
+%define tde_version 3.5.13.2
+
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -10,7 +12,7 @@
Name: trinity-libcaldav
Version: 0.6.5
-Release: 3%{?dist}%{?_variant}
+Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
Vendor: Trinity Project
URL: http://www.trinitydesktop.org/
@@ -60,6 +62,7 @@ easy to integrate CalDAV support into any PIM application.
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+
Obsoletes: libcaldav-devel < %{version}-%{release}
Provides: libcaldav-devel = %{version}-%{release}
@@ -74,44 +77,50 @@ Provides: libcaldav-devel = %{version}-%{release}
%prep
%setup -q -n libcaldav-%{version}
%patch1 -p1 -b .dir
+autoreconf --force --install --symlink
+
%build
# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5
-export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${CFLAGS}"
+export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
if [ -d /usr/evolution28 ]; then
export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
fi
-autoreconf --force --install --symlink
%configure \
--docdir=%{tde_docdir}/libcaldav \
--includedir=%{tde_includedir} \
--libdir=%{tde_libdir} \
-
+ \
+ --disable-dependency-tracking
+
%__make %{?_smp_mflags}
+
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
+# Unwanted files
%__rm -f %{buildroot}%{tde_libdir}/*.a
+
%clean
%__rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%{tde_libdir}/*.so.*
+%{tde_libdir}/libcaldav.so.*
%{tde_docdir}/libcaldav/
%files devel
%defattr(-,root,root,-)
%{tde_includedir}/caldav.h
-%{tde_libdir}/*.la
-%{tde_libdir}/*.so
+%{tde_libdir}/libcaldav.la
+%{tde_libdir}/libcaldav.so
%{tde_libdir}/pkgconfig/libcaldav.pc
%post
@@ -128,7 +137,10 @@ autoreconf --force --install --symlink
%Changelog
-* Sun Jul 28 2012 Francois Andriot <francois.andriot@free.fr> - 0.6.5-3
+* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 0.6.5-4
+- Build for Fedora 19
+
+* Sat Jul 28 2012 Francois Andriot <francois.andriot@free.fr> - 0.6.5-3
- Renames to 'trinity-libcaldav'
- Build on MGA2