forked from pool/libical
This commit is contained in:
parent
7a3f5550d1
commit
1e6f379718
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 20 23:48:21 IST 2008 - msuman@suse.de
|
||||||
|
|
||||||
|
- Use proper RPM macros in the spec file, remove unnecessary options
|
||||||
|
passed to the configure script.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 2 00:27:07 CET 2008 - dmueller@suse.de
|
Tue Dec 2 00:27:07 CET 2008 - dmueller@suse.de
|
||||||
|
|
||||||
|
57
libical.spec
57
libical.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libical (Version 0.42)
|
# spec file for package libical (Version 0.42)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,11 +25,11 @@ License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 0.42
|
Version: 0.42
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: An Implementation of Basic iCAL Protocols
|
Summary: An Implementation of Basic iCAL Protocols
|
||||||
Source: libical-%version.tar.bz2
|
Source: libical-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: libical0 = %version
|
Requires: libical0 = %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libical is an open source implementation of the IETF's iCalendar
|
Libical is an open source implementation of the IETF's iCalendar
|
||||||
@ -86,7 +86,7 @@ Authors:
|
|||||||
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
|
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
|
||||||
Summary: An Implementation of Basic iCAL Protocols
|
Summary: An Implementation of Basic iCAL Protocols
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libical = %version
|
Requires: libical = %{version}
|
||||||
|
|
||||||
%description -n libical-doc
|
%description -n libical-doc
|
||||||
Libical is an open source implementation of the IETF's iCalendar
|
Libical is an open source implementation of the IETF's iCalendar
|
||||||
@ -104,28 +104,26 @@ Authors:
|
|||||||
%setup -q -n libical-%{version}
|
%setup -q -n libical-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
#autoreconf -f -i
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
%{configure} \
|
||||||
CXXFLAGS="$RPM_OPT_FLAGS" \
|
--with-bdb4 \
|
||||||
./configure \
|
--with-bdb4-dir=%{_prefix} \
|
||||||
--prefix=/usr \
|
--without-builtintz \
|
||||||
--libdir=%{_libdir} \
|
--enable-python \
|
||||||
-with-bdb4-dir=/usr \
|
--enable-shared \
|
||||||
--without-builtintz \
|
--disable-static
|
||||||
--with-bdb4 --enable-shared --disable-static \
|
%{__make}
|
||||||
--enable-python
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
%{makeinstall}
|
||||||
rm -rf examples/.deps/
|
%{__rm} $RPM_BUILD_ROOT/%{_libdir}/libical*.la
|
||||||
rm -rf examples/.libs
|
%{__rm} doc/Makefile*
|
||||||
rm -rf examples/*.o
|
%{__rm} -rf examples/.deps
|
||||||
rm examples/doesnothing
|
%{__rm} -rf examples/.libs
|
||||||
rm -rf scripts/Makefile*
|
%{__rm} examples/*.o
|
||||||
sed -i -e '1s,.*,#!/usr/bin/perl,' scripts/mkneticali.pl
|
%{__rm} examples/doesnothing
|
||||||
rm -rf doc/Makefile*
|
%{__rm} scripts/Makefile*
|
||||||
rm -f $RPM_BUILD_ROOT/%_libdir/lib*.la
|
%{__sed} -i -e '1s,.*,#!/usr/bin/perl,' scripts/mkneticali.pl
|
||||||
|
|
||||||
%post -n libical0 -p /sbin/ldconfig
|
%post -n libical0 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -139,15 +137,18 @@ rm -f $RPM_BUILD_ROOT/%_libdir/lib*.la
|
|||||||
%files -n libical-devel
|
%files -n libical-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
/usr/include/ical.h
|
%{_libdir}/pkgconfig/libical.pc
|
||||||
/usr/include/libical
|
%{_includedir}/ical.h
|
||||||
%_libdir/pkgconfig/libical.pc
|
%{_includedir}/libical
|
||||||
|
|
||||||
%files -n libical-doc
|
%files -n libical-doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doc examples scripts
|
%doc doc examples scripts
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 19 2008 msuman@suse.de
|
||||||
|
- Use proper RPM macros in the spec file, remove unnecessary options
|
||||||
|
passed to the configure script.
|
||||||
* Tue Dec 02 2008 dmueller@suse.de
|
* Tue Dec 02 2008 dmueller@suse.de
|
||||||
- update to 0.42:
|
- update to 0.42:
|
||||||
* Fix for storing inline attachments
|
* Fix for storing inline attachments
|
||||||
|
Loading…
Reference in New Issue
Block a user