Commit 89b2b3ef authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add libsecret (needed for webkit)

parent 0be4fa7e
......@@ -39,6 +39,7 @@ PACKAGES = \
libpciaccess libdrm mesa libepoxy \
pulseaudio \
graphite2 harfbuzz libdatrie libthai pango atk at-spi2-core at-spi2-atk gdk-pixbuf2 gtk3 \
libsecret \
itstool yelp-xsl yelp-tools \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
......
......@@ -39,6 +39,7 @@ Requires: libepoxy
Requires: clutter
Requires: clutter-gtk
Requires: pulseaudio-libs-glib2
Requires: libsecret
%description
Meta package for Gnome SDK dependencies
......
......@@ -35,6 +35,7 @@ BuildRequires: libepoxy-devel
BuildRequires: clutter-gtk-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: dconf-devel
BuildRequires: libsecret-devel
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
......@@ -104,6 +105,7 @@ Requires: cogl-devel
Requires: clutter-devel
Requires: clutter-gtk-devel
Requires: pulseaudio-libs-devel
Requires: libsecret-devel
%description
Meta package for Gnome SDK dependencies
......
# first two digits of version
%global release_version %%(echo %{version} | awk -F. '{print $1"."$2}')
Name: libsecret
Version: 0.18
Release: 1%{?dist}
Summary: Library for storing and retrieving passwords and other secrets
License: LGPLv2+
URL: https://live.gnome.org/Libsecret
Source0: http://download.gnome.org/sources/libsecret/%{release_version}/libsecret-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc-stub
BuildRequires: vala-devel
BuildRequires: vala-tools
%description
libsecret is a library for storing and retrieving passwords and other secrets.
It communicates with the "Secret Service" using DBus. gnome-keyring and
KSecretService are both implementations of a Secret Service.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
%build
aclocal --force
autoconf
%configure --disable-static --disable-gtk-doc --disable-manpages
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang libsecret
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f libsecret.lang
%doc AUTHORS COPYING NEWS README
%{_bindir}/secret-tool
%{_libdir}/libsecret-1.so.*
%{_libdir}/girepository-1.0/Secret-1.typelib
%files devel
%{_includedir}/libsecret-1/
%{_libdir}/libsecret-1.so
%{_libdir}/pkgconfig/libsecret-1.pc
%{_libdir}/pkgconfig/libsecret-unstable.pc
%{_datadir}/gir-1.0/Secret-1.gir
%{_datadir}/vala/vapi/libsecret-1.deps
%{_datadir}/vala/vapi/libsecret-1.vapi
%doc %{_datadir}/gtk-doc/
%changelog
* Fri Jan 9 2015 Alexander Larsson <alexl@redhat.com> - 0.18-1
- Initial version from fedora
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment