gfbgraph/gfbgraph.spec

70 lines
2.0 KiB
RPMSpec
Raw Normal View History

2020-08-10 10:57:43 +08:00
Name: gfbgraph
2022-04-13 13:48:13 +08:00
Version: 0.2.5
Release: 1
2020-08-10 10:57:43 +08:00
Summary: GLib/GObject wrapper for the Facebook Graph API
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/GFBGraph
Source0: https://download.gnome.org/sources/gfbgraph/0.2/gfbgraph-%{version}.tar.xz
2022-04-13 13:48:13 +08:00
BuildRequires: autoconf automake make libtool glib2-devel gobject-introspection-devel gtk-doc
BuildRequires: pkgconfig(goa-1.0) pkgconfig(json-glib-1.0)
2020-08-10 10:57:43 +08:00
BuildRequires: pkgconfig(libsoup-2.4) pkgconfig(rest-0.7)
2022-04-13 13:48:13 +08:00
2020-08-10 10:57:43 +08:00
Requires: gobject-introspection
2022-04-13 13:48:13 +08:00
2020-08-10 10:57:43 +08:00
%description
GLib/GObject wrapper for the Facebook Graph API that integrates with GNOME
Online Accounts.
2022-04-13 13:48:13 +08:00
%package devel
2020-08-10 10:57:43 +08:00
Summary: Development files for gfbgraph
Requires: gobject-introspection-devel gfbgraph%{?_isa} = %{version}-%{release}
2022-04-13 13:48:13 +08:00
%description devel
2020-08-10 10:57:43 +08:00
The gfbgraph-devel package contains libraries and header files for
developing applications that use gfbgraph.
%prep
2022-04-13 13:48:13 +08:00
%autosetup -p1
2020-08-10 10:57:43 +08:00
%build
2022-04-13 13:48:13 +08:00
gtkdocize
autoreconf --install --verbose
2020-08-10 10:57:43 +08:00
%configure \
--disable-silent-rules \
--disable-static \
--enable-gtk-doc \
--enable-introspection
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
%make_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -delete
rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
%ldconfig_scriptlets
%files
2022-04-13 13:48:13 +08:00
%doc AUTHORS COPYING NEWS README
2020-08-10 10:57:43 +08:00
%{_libdir}/libgfbgraph-0.2.so.*
%{_libdir}/girepository-1.0/GFBGraph-0.2.typelib
%files devel
%{_libdir}/libgfbgraph-0.2.so
%{_libdir}/pkgconfig/libgfbgraph-0.2.pc
%{_datadir}/gir-1.0/GFBGraph-0.2.gir
%doc %{_datadir}/gtk-doc/html/gfbgraph-0.2
%{_includedir}/gfbgraph-0.2/gfbgraph
%changelog
2022-04-13 13:48:13 +08:00
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 0.2.5-1
- Update to 0.2.5
2021-11-15 11:33:57 +08:00
* Mon Nov 15 2021 liwu <liwu13@huawei.com> - 0.2.4-2
- Fix CVE-2021-39358
2021-06-17 10:42:42 +08:00
* Thu Jun 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 0.2.4-1
- Upgrade to 0.2.4
2020-08-10 10:57:43 +08:00
* Mon Jul 20 2020 yaokai <yaokai13@huawei.com> - 0.2.3-1
- package init