| 1 | Name: libgfbgraph |
|---|
| 2 | Version: 0.2.2 |
|---|
| 3 | Release: 1%{?_dist_release} |
|---|
| 4 | Summary: GLib/GObject wrapper for the Facebook Graph API |
|---|
| 5 | |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: LGPLv2+ |
|---|
| 8 | URL: https://git.gnome.org/browse/libgfbgraph/ |
|---|
| 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gfbgraph/0.2/gfbgraph-%{version}.tar.xz |
|---|
| 10 | |
|---|
| 11 | BuildRequires: glib2-devel |
|---|
| 12 | BuildRequires: json-glib-devel |
|---|
| 13 | BuildRequires: rest-devel |
|---|
| 14 | BuildRequires: libsoup-devel |
|---|
| 15 | BuildRequires: gnome-online-accounts-devel |
|---|
| 16 | |
|---|
| 17 | Vendor: Project Vine |
|---|
| 18 | Distribution: Vine Linux |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | %{summary} |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | %package devel |
|---|
| 25 | Summary: Development tools for %{name} |
|---|
| 26 | Summary(ja): %{name} の開発環境 |
|---|
| 27 | Group: Development/Libraries |
|---|
| 28 | Requires: %{name} = %{version}-%{release} |
|---|
| 29 | Requires: pkgconfig |
|---|
| 30 | |
|---|
| 31 | %description devel |
|---|
| 32 | Header files and libraries for building a extension library for the %{name}. |
|---|
| 33 | |
|---|
| 34 | |
|---|
| 35 | %package docs |
|---|
| 36 | Summary: Documentation for %{name} |
|---|
| 37 | Summary(ja): %{name} 用のドキュメント |
|---|
| 38 | Group: Documentation |
|---|
| 39 | Requires: %{name} = %{version}-%{release} |
|---|
| 40 | BuildArch: noarch |
|---|
| 41 | |
|---|
| 42 | %description docs |
|---|
| 43 | This package contains documentation for %{name}. |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | %prep |
|---|
| 47 | %setup -q -n gfbgraph-%{version} |
|---|
| 48 | |
|---|
| 49 | %build |
|---|
| 50 | %configure \ |
|---|
| 51 | --disable-static |
|---|
| 52 | |
|---|
| 53 | make %{?_smp_mflags} |
|---|
| 54 | |
|---|
| 55 | %install |
|---|
| 56 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 57 | |
|---|
| 58 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
|---|
| 59 | rm -rf $RPM_BUILD_ROOT%{_prefix}/doc |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | %post -p /sbin/ldconfig |
|---|
| 63 | |
|---|
| 64 | %postun -p /sbin/ldconfig |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | %files |
|---|
| 68 | %defattr(-,root,root,-) |
|---|
| 69 | %doc AUTHORS COPYING ChangeLog NEWS README |
|---|
| 70 | %{_libdir}/libgfbgraph-0.2.so.* |
|---|
| 71 | %{_libdir}/girepository-1.0/GFBGraph-0.2.typelib |
|---|
| 72 | |
|---|
| 73 | %files devel |
|---|
| 74 | %defattr(-,root,root,-) |
|---|
| 75 | %{_includedir}/gfbgraph-0.2 |
|---|
| 76 | %{_libdir}/libgfbgraph-0.2.so |
|---|
| 77 | %{_libdir}/pkgconfig/libgfbgraph-0.2.pc |
|---|
| 78 | %{_datadir}/gir-1.0/GFBGraph-0.2.gir |
|---|
| 79 | |
|---|
| 80 | %files docs |
|---|
| 81 | %defattr(-,root,root,-) |
|---|
| 82 | %{_datadir}/gtk-doc/html/gfbgraph |
|---|
| 83 | |
|---|
| 84 | |
|---|
| 85 | %changelog |
|---|
| 86 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1 |
|---|
| 87 | - initial build |
|---|
| 88 | |
|---|