summaryrefslogtreecommitdiffstats
path: root/gnome
diff options
context:
space:
mode:
authorMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-21 03:15:16 -0400
committerMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-21 03:15:16 -0400
commit623d47951ea52b6b03a1742ec3749b433b789712 (patch)
treec44d09b49898a068ce71fd09d79de1ae91511d5b /gnome
parent12feb9b0875297dd586ec9e8a711f91ef2f11303 (diff)
downloadspecs-623d47951ea52b6b03a1742ec3749b433b789712.tar.gz
specs-623d47951ea52b6b03a1742ec3749b433b789712.tar.xz
specs-623d47951ea52b6b03a1742ec3749b433b789712.zip
gdata-sharp: initial commit
Diffstat (limited to 'gnome')
-rw-r--r--gnome/gdata-sharp.spec90
1 files changed, 90 insertions, 0 deletions
diff --git a/gnome/gdata-sharp.spec b/gnome/gdata-sharp.spec
new file mode 100644
index 0000000..463f089
--- /dev/null
+++ b/gnome/gdata-sharp.spec
@@ -0,0 +1,90 @@
+%define debug_package %{nil}
+
+Name: gdata-sharp
+Version: 1.4.0.2
+Release: 1%{?dist}
+Summary: .NET library for the Google Data API
+
+Group: System Environment/Libraries
+License: ASL 2.0
+URL: http://code.google.com/p/google-gdata/
+Source0: http://google-gdata.googlecode.com/files/libgoogle-data-mono-%{version}.tar.gz
+Patch0: %{name}-1.4.0.2-pkgconfig.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: mono-devel mono-nunit22
+#Requires:
+
+%description
+The Google Data APIs (GData) provide a simple protocol for reading and
+writing data on the web.
+
+Each of the following Google services provides a Google data API:
+
+ * Base
+ * Blogger
+ * Calendar
+ * Spreadsheets
+ * Google Apps Provisioning
+ * Code Search
+ * Notebook
+ * Picasa Web Albums
+ * Document Feed
+ * Contacts
+ * You Tube
+ * Google Health
+
+The GData .NET Client Library provides a library and source code that
+make it easy to access data through Google Data APIs.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q -n libgoogle-data-mono-%{version}
+%patch0 -p1 -b .pkgconfig
+
+sed -i "s|\$(PREFIX)/lib|\$(PREFIX)/%{_lib}|g" Makefile
+
+for i in misc/*.pc.in; do
+ sed -i "s|libdir=\${prefix}/lib|libdir=\${prefix}/%{_lib}|" "$i"
+done
+
+
+%build
+make %{?_smp_mflags} PREFIX=%{_prefix}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE-2.0.txt RELEASE_NOTES.HTML
+%{_libdir}/mono/GData-Sharp
+%{_libdir}/mono/gac/Google.GData.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/pkgconfig/gdata-sharp-*.pc
+
+
+%changelog
+* Fri Aug 21 2009 Michel Salim <salimma@fedoraproject.org> - 1.4.0.2-1
+- Initial Fedora package
+