diff --git a/.libzapojit.metadata b/.libzapojit.metadata new file mode 100644 index 0000000..ef4718f --- /dev/null +++ b/.libzapojit.metadata @@ -0,0 +1 @@ +d2aeb465e03dfbee6d40c30992f86c37f52342fb SOURCES/libzapojit-0.0.3.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/libzapojit.spec b/SPECS/libzapojit.spec new file mode 100644 index 0000000..939b24d --- /dev/null +++ b/SPECS/libzapojit.spec @@ -0,0 +1,119 @@ +%define api 0.0 + +Name: libzapojit +Version: 0.0.3 +Release: 2%{?dist} +Summary: GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs + +License: LGPLv2+ +URL: http://live.gnome.org/Zapojit +Source0: http://download.gnome.org/sources/%{name}/%{api}/%{name}-%{version}.tar.xz + +BuildRequires: gettext +BuildRequires: glib2-devel >= 2.28 +BuildRequires: gnome-online-accounts-devel +BuildRequires: gobject-introspection-devel +BuildRequires: gtk-doc +BuildRequires: intltool +BuildRequires: json-glib-devel +BuildRequires: libsoup-devel >= 2.38 +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: rest-devel +Requires: gobject-introspection + +%description +GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs. It supports +SkyDrive file and folder objects, and the following SkyDrive operations: + - Deleting a file, folder or photo. + - Listing the contents of a folder. + - Reading the properties of a file, folder or photo. + - Uploading files and photos. + +%package devel +Summary: Development files for %{name} +Requires: gobject-introspection-devel +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure \ + --disable-silent-rules \ + --disable-static \ + --enable-gtk-doc \ + --enable-introspection + +# Omit unused direct shared library dependencies. +sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool + +make %{?_smp_mflags} + + +%install +make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -name '*.la' -delete +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc AUTHORS +%doc COPYING +%doc ChangeLog +%doc NEWS +%doc README +%{_libdir}/%{name}-%{api}.so.* + +%dir %{_libdir}/girepository-1.0 +%{_libdir}/girepository-1.0/Zpj-%{api}.typelib + +%files devel +%{_libdir}/%{name}-%{api}.so +%{_libdir}/pkgconfig/zapojit-%{api}.pc + +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/Zpj-%{api}.gir + +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%doc %{_datadir}/gtk-doc/html/%{name}-%{api} + +%dir %{_includedir}/%{name}-%{api} +%{_includedir}/%{name}-%{api}/zpj + + +%changelog +* Tue Jul 16 2013 Matthias Clasen - 0.0.3-2 +- Rebuild with newer gtk-doc to fix multilib issues + +* Fri Mar 08 2013 Debarshi Ray - 0.0.3-1 +- Update to 0.0.3. + +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Debarshi Ray - 0.0.2-2 +- Co-own %%{_libdir}/girepository-1.0 and %%{_datadir}/gir-1.0. +- Remove Group tag and %%defattr. + +* Wed Jun 06 2012 Debarshi Ray - 0.0.2-1 +- Update to 0.0.2. + +* Wed May 30 2012 Debarshi Ray - 0.0.1-1 +- Initial spec.