/[packages]/cauldron/libgcal/current/SPECS/libgcal.spec
ViewVC logotype

Contents of /cauldron/libgcal/current/SPECS/libgcal.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 68068 - (show annotations) (download)
Fri Mar 11 00:43:09 2011 UTC (13 years, 1 month ago) by mikala
File size: 2643 byte(s)
Add patch0 from upstream (fix issue #69 on libgcal bugzilla) :
 Checks now for empty strings before copy them

1 %define name libgcal
2 %define version 0.9.6
3 %define major 0
4 %define libname %mklibname gcal %{major}
5 %define develname %mklibname gcal -d
6
7
8 Name: %name
9 Version: %version
10 Release: %mkrel 2
11 Summary: Implements Google Data Protocol 2.0
12 License: BSD
13 Group: Communications
14 URL: http://code.google.com/p/libgcal/
15 Source: http://libgcal.googlecode.com/files/%name-%version.tar.bz2
16 Patch0: libgcal-0.9.6-check-for-empty-strings.patch
17 BuildRequires: cmake
18 BuildRequires: curl-devel
19 BuildRequires: libxml2-devel
20 BuildRequires: check-devel
21
22 %description
23 Implements Google Data Protocol 2.0.
24 It does allow communication with google calendar and contacts,
25 implements already:
26 - authentication
27 - get all events/contacts
28 - atom stream parsing
29 - access to individual events/contacts
30 - add/delete/edit events/contacts
31 - query for updated events/contacts
32 - add/edit/delete contacts with photo
33 - download your contact's photos
34 - proxy is supported
35 - timezones
36 - use only xml to add/edit/delete entries
37 - great doxygen documentation
38
39 #-------------------------------------------------------------------
40
41 %package -n %{libname}
42 Summary: Library implementing Google Data Protocol Data 2.0
43 Group: System/Libraries
44 Obsoletes: libgcal <= 0.9.3-1
45 Provides: %{name} = %{version}-%{release}
46
47 %description -n %{libname}
48 This library implements Google Data Protocol 2.0
49 It does allow communication with google calendar and contacts,
50 implements already:
51 - authentication
52 - get all events/contacts
53 - atom stream parsing
54 - access to individual events/contacts
55 - add/delete/edit events/contacts
56 - query for updated events/contacts
57 - add/edit/delete contacts with photo
58 - download your contact's photos
59 - proxy is supported
60 - timezones
61 - use only xml to add/edit/delete entries
62 - great doxygen documentation
63
64 %files -n %{libname}
65 %defattr(-,root,root)
66 %{_libdir}/libgcal.so.%{major}*
67
68 #--------------------------------------------------------------------
69
70
71 %package -n %{develname}
72 Summary: Library headers for %{name}
73 Group: Development/C
74 Requires: %{libname} = %{version}
75 Obsoletes: libgcal-devel <= 0.9.3-1
76 Provides: %{name}-devel = %{version}-%{release}
77
78 %description -n %{develname}
79 This is the libraries, include files and other resources you can use
80 to incorporate %{name} into applications.
81
82 %files -n %{develname}
83 %defattr(-,root,root)
84 %{_includedir}/*
85 %{_libdir}/libgcal.so
86 %{_libdir}/pkgconfig/libgcal.pc
87 %{_libdir}/LibGCal/cmake/LibGCalConfig.cmake
88
89 #--------------------------------------------------------------------
90
91 %prep
92 %setup -q
93 %patch0 -p0
94 %build
95 %cmake
96 %make
97
98 %install
99 %__rm -rf %buildroot
100 %makeinstall_std -C build
101
102 %clean
103 %__rm -rf %buildroot

  ViewVC Help
Powered by ViewVC 1.1.30