forked from pool/libical
130 lines
3.3 KiB
RPMSpec
130 lines
3.3 KiB
RPMSpec
|
#
|
||
|
# spec file for package libical (Version 0.24.RC4)
|
||
|
#
|
||
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: libical
|
||
|
BuildRequires: db-devel python
|
||
|
URL: http://sourceforge.net/projects/freeassociation/
|
||
|
License: MPL
|
||
|
Group: Development/Libraries/C and C++
|
||
|
Autoreqprov: on
|
||
|
Version: 0.24.RC4
|
||
|
Release: 45
|
||
|
Summary: An implementation of basic iCAL protocols
|
||
|
Source: %name-%version.tar.bz2
|
||
|
Patch: %name.diff
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
Libical is an Open Source implementation of the IETF's iCalendar
|
||
|
Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It
|
||
|
parses iCal components and provides a C API for manipulating the
|
||
|
component properties, parameters, and subcomponents.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Eric Busboom <eric@softwarestudio.org>
|
||
|
|
||
|
%package devel
|
||
|
Summary: An implementation of basic iCAL protocols
|
||
|
Group: Development/Libraries/C and C++
|
||
|
Requires: libical = %{version}
|
||
|
Autoreqprov: on
|
||
|
|
||
|
%description devel
|
||
|
Libical is an Open Source implementation of the IETF's iCalendar
|
||
|
Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It
|
||
|
parses iCal components and provides a C API for manipulating the
|
||
|
component properties, parameters, and subcomponents.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Eric Busboom <eric@softwarestudio.org>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %name-0.24
|
||
|
%patch
|
||
|
|
||
|
%build
|
||
|
autoreconf -f -i
|
||
|
CFLAGS="$RPM_OPT_FLAGS" \
|
||
|
CXXFLAGS="$RPM_OPT_FLAGS" \
|
||
|
./configure \
|
||
|
--prefix=/usr \
|
||
|
--libdir=%{_libdir} \
|
||
|
-with-bdb4-dir=/usr \
|
||
|
--with-bdb4 \
|
||
|
--enable-python
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=%{buildroot}
|
||
|
rm -rf examples/.deps/
|
||
|
rm -rf examples/.libs
|
||
|
rm examples/*.o
|
||
|
|
||
|
%post
|
||
|
%run_ldconfig
|
||
|
|
||
|
%postun
|
||
|
%run_ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc README AUTHORS ChangeLog NEWS TEST THANKS TODO doc examples scripts
|
||
|
%{_libdir}/*.so.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/*.*a
|
||
|
%{_libdir}/*.so
|
||
|
/usr/include/*.h
|
||
|
%dir /usr/share/libical
|
||
|
/usr/share/libical/zoneinfo
|
||
|
|
||
|
%changelog -n libical
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Mon Sep 26 2005 - mls@suse.de
|
||
|
- make devel package require base package
|
||
|
* Wed Jan 19 2005 - sf@suse.de
|
||
|
- fix use of uninitialized variable
|
||
|
* Mon Mar 22 2004 - sf@suse.de
|
||
|
- remove some temporary /object files in examples
|
||
|
* Wed Mar 17 2004 - ro@suse.de
|
||
|
- re-apply patch to make it build
|
||
|
* Fri Feb 06 2004 - adrian@suse.de
|
||
|
- update to version 0.24 RC4
|
||
|
* Sat Jan 10 2004 - adrian@suse.de
|
||
|
- add %%run_ldconfig
|
||
|
* Thu Jul 03 2003 - ro@suse.de
|
||
|
- added unpackaged files
|
||
|
* Fri Jan 17 2003 - stark@suse.de
|
||
|
- update to cvs 20030116 for upcoming Mozilla 1.3
|
||
|
* Wed Dec 11 2002 - stark@suse.de
|
||
|
- update to cvs 20021211 for Mozilla 1.3a
|
||
|
* Thu Oct 17 2002 - stark@suse.de
|
||
|
- "update" to version 0.23a used and provided by mozilla.org
|
||
|
* Tue Sep 17 2002 - ro@suse.de
|
||
|
- removed bogus self-provides
|
||
|
* Mon Jun 17 2002 - meissner@suse.de
|
||
|
- rerun auto* tools
|
||
|
* Wed Apr 17 2002 - rhafer@suse.de
|
||
|
- added missing header files to -devel subpackage
|
||
|
- moved *.so links to -devel subpackage
|
||
|
- uses %%{_libdir} now
|
||
|
* Tue Apr 02 2002 - sf@suse.de
|
||
|
- initial version
|