libical.spec
author dermotm
Mon, 24 Jul 2006 12:30:39 +0000
branchgnome-2-10
changeset 19949 94f49bf19351
parent 19881 6180c371ed87
permissions -rw-r--r--
access control test #4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     1
#
19693
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
     2
# spec file for package libical
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
     3
#
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     6
# package are under the same license as the package itself.
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     7
#
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     8
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
     9
Name:         libical
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    10
License:      LGPL
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    11
Group:        System/Libraries
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    12
Version:      0.23
19643
798139c9a46e 2005-08-03 Laszlo Peter <[email protected]>
laca
parents: 5370
diff changeset
    13
Release:      52
19693
ecfa915b40d9 2005-08-05 Laszlo Peter <[email protected]>
laca
parents: 19643
diff changeset
    14
Distribution: Java Desktop System
575
2b5c59a05848 2003-07-15 Mark McLoughlin <[email protected]>
markmc
parents: 570
diff changeset
    15
Vendor:	      Sun Microsystems, Inc.
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    16
Summary:      A library for iCal (RFC2445) parsing
19881
6180c371ed87 Update Source Links
mattk
parents: 19719
diff changeset
    17
Source:		  http://www.softwarestudio.org/download/%{name}-%{version}.tar.gz
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    18
URL:          http://www.gnome.org
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    19
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    20
Docdir:       %{_defaultdocdir}
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    21
Autoreqprov:  on
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    22
Prereq:       /sbin/ldconfig
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    23
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    24
%description
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    25
This package contains iCal (RFC2445) parser and other relevant 
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    26
routines and data structures.
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    27
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    28
%prep
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    29
%setup -q
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    30
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    31
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    32
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    33
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    34
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    35
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    36
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    37
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    38
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    39
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    40
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    41
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    42
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    43
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    44
CFLAGS="$RPM_OPT_FLAGS" \
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    45
  ./configure \
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    46
    --prefix=%{_prefix} \
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    47
    --libdir=%{_libdir} \
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    48
    --enable-python_bindings=no
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    49
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
make -j $CPUS
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    51
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    52
%install
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    53
make install DESTDIR=$RPM_BUILD_ROOT
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    54
rm $RPM_BUILD_ROOT%{_libdir}/*.a
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    55
rm $RPM_BUILD_ROOT%{_libdir}/*.la
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    56
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    57
%clean
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    58
rm -rf $RPM_BUILD_ROOT
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    59
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    60
%post
1080
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    61
/sbin/ldconfig
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    62
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    63
%postun
497903a49ccb 2003-08-19 Glynn Foster <[email protected]>
gman
parents: 1058
diff changeset
    64
/sbin/ldconfig
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    65
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    66
%files
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    67
%defattr(-,root,root)
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    68
%doc AUTHORS ChangeLog COPYING THANKS NEWS README TODO
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    69
%{_libdir}/*.so*
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    70
%{_includedir}/*
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    71
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    72
%changelog
3628
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    73
* Fri Jul 09 2004 - [email protected]
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    74
- ported to rpm4
cf6118e136d2 Merged from cinnabar-suse91 branch back into HEAD
mattk
parents: 3519
diff changeset
    75
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    76
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    77
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    78
1757
20af6039d2c8 Update distro to cinnabar
mattk
parents: 1609
diff changeset
    79
* Wed Feb 18 2004 - <[email protected]>
20af6039d2c8 Update distro to cinnabar
mattk
parents: 1609
diff changeset
    80
- Update Distro to Cinnabar
20af6039d2c8 Update distro to cinnabar
mattk
parents: 1609
diff changeset
    81
1058
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    82
* Thu Aug 14 2003 - <[email protected]>
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    83
- remove *.a, *.la
219c9b3fae9f 2003-08-14 Laszlo Peter <[email protected]>
laca
parents: 1025
diff changeset
    84
570
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    85
* Fri Jul 11 2003 - <[email protected]>
e9a1989cc4cb now-applet specs were added.
mk84910
parents:
diff changeset
    86
- Initial spec file