Blame SPECS/libsecret.spec

890ef2
# first two digits of version
890ef2
%global release_version %%(echo %{version} | awk -F. '{print $1"."$2}')
890ef2
890ef2
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x armv7hl aarch64
890ef2
%global has_valgrind 1
890ef2
%endif
890ef2
890ef2
Name:           libsecret
890ef2
Version:        0.18.6
890ef2
Release:        1%{?dist}
890ef2
Summary:        Library for storing and retrieving passwords and other secrets
890ef2
890ef2
License:        LGPLv2+
890ef2
URL:            https://wiki.gnome.org/Projects/Libsecret
890ef2
Source0:        http://download.gnome.org/sources/libsecret/%{release_version}/libsecret-%{version}.tar.xz
890ef2
890ef2
BuildRequires:  glib2-devel
890ef2
BuildRequires:  gobject-introspection-devel
890ef2
BuildRequires:  intltool
890ef2
BuildRequires:  libgcrypt-devel >= 1.2.2
890ef2
BuildRequires:  vala
890ef2
BuildRequires:  gtk-doc
890ef2
BuildRequires:  libxslt-devel
890ef2
BuildRequires:  docbook-style-xsl
890ef2
%if 0%{?has_valgrind}
890ef2
BuildRequires:  valgrind-devel
890ef2
%endif
890ef2
890ef2
Provides:       bundled(egglib)
890ef2
890ef2
%description
890ef2
libsecret is a library for storing and retrieving passwords and other secrets.
890ef2
It communicates with the "Secret Service" using DBus. gnome-keyring and
890ef2
KSecretService are both implementations of a Secret Service.
890ef2
890ef2
890ef2
%package        devel
890ef2
Summary:        Development files for %{name}
890ef2
Requires:       %{name}%{?_isa} = %{version}-%{release}
890ef2
890ef2
%description    devel
890ef2
The %{name}-devel package contains libraries and header files for
890ef2
developing applications that use %{name}.
890ef2
890ef2
890ef2
%prep
890ef2
%setup -q
890ef2
890ef2
# Use system valgrind headers instead
890ef2
%if 0%{?has_valgrind}
890ef2
rm -rf build/valgrind/
890ef2
%endif
890ef2
890ef2
890ef2
%build
890ef2
%configure --disable-static
890ef2
make %{?_smp_mflags}
890ef2
890ef2
890ef2
%install
890ef2
%make_install
890ef2
890ef2
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
890ef2
890ef2
%find_lang libsecret
890ef2
890ef2
890ef2
%post -p /sbin/ldconfig
890ef2
890ef2
%postun -p /sbin/ldconfig
890ef2
890ef2
890ef2
%files -f libsecret.lang
890ef2
%license COPYING
890ef2
%doc AUTHORS NEWS README
890ef2
%{_bindir}/secret-tool
890ef2
%{_libdir}/libsecret-1.so.*
890ef2
%{_libdir}/girepository-1.0/Secret-1.typelib
890ef2
%doc %{_mandir}/man1/secret-tool.1.gz
890ef2
890ef2
%files devel
890ef2
%{_includedir}/libsecret-1/
890ef2
%{_libdir}/libsecret-1.so
890ef2
%{_libdir}/pkgconfig/libsecret-1.pc
890ef2
%{_libdir}/pkgconfig/libsecret-unstable.pc
890ef2
%{_datadir}/gir-1.0/Secret-1.gir
890ef2
%{_datadir}/vala/vapi/libsecret-1.deps
890ef2
%{_datadir}/vala/vapi/libsecret-1.vapi
890ef2
%doc %{_datadir}/gtk-doc/
890ef2
890ef2
890ef2
%changelog
890ef2
* Thu Mar 29 2018 Kalev Lember <klember@redhat.com> - 0.18.6-1
890ef2
- Update to 0.18.6
890ef2
- Resolves: #1570013
890ef2
890ef2
* Tue Mar 21 2017 David King <dking@redhat.com> - 0.18.5-2
890ef2
- Fix invalid secret transfer error (#1434474)
890ef2
890ef2
* Fri Mar 25 2016 Kalev Lember <klember@redhat.com> - 0.18.5-1
890ef2
- Update to 0.18.5
890ef2
- Resolves: #1387018
890ef2
890ef2
* Mon May 18 2015 David King <dking@redhat.com> - 0.18.2-2
890ef2
- Update valgrind.h and memcheck.h (#1142140)
890ef2
890ef2
* Thu Apr 30 2015 Richard Hughes <rhughes@redhat.com> - 0.18.2-1
890ef2
- Update to 0.18.2
890ef2
- Resolves: #1174539
890ef2
890ef2
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.15-3
890ef2
- Mass rebuild 2014-01-24
890ef2
890ef2
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.15-2
890ef2
- Mass rebuild 2013-12-27
890ef2
890ef2
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 0.15-1
890ef2
- Update to 0.15
890ef2
890ef2
* Wed Mar 06 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.14-1
890ef2
- Update to 0.14
890ef2
890ef2
* Wed Feb 06 2013 Kalev Lember <kalevlember@gmail.com> - 0.13-1
890ef2
- Update to 0.13
890ef2
890ef2
* Fri Nov 23 2012 Debarshi Ray <rishi@fedoraproject.org> - 0.12-1
890ef2
- Update to 0.12
890ef2
890ef2
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 0.11-1
890ef2
- Update to 0.11
890ef2
890ef2
* Wed Sep 19 2012 Tomas Bzatek <tbzatek@redhat.com> - 0.10-1
890ef2
- Update to 0.10
890ef2
- Enable vala
890ef2
890ef2
* Mon Aug 06 2012 Stef Walter <stefw@redhat.com> - 0.8-1
890ef2
- Update to 0.8
890ef2
890ef2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
890ef2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
890ef2
890ef2
* Mon Jul 16 2012 Debarshi Ray <rishi@fedoraproject.org> - 0.7-1
890ef2
- Update to 0.7
890ef2
890ef2
* Sat Jul 14 2012 Kalev Lember <kalevlember@gmail.com> - 0.6-1
890ef2
- Update to 0.6
890ef2
890ef2
* Thu Jun 28 2012 Kalev Lember <kalevlember@gmail.com> - 0.3-1
890ef2
- Update to 0.3
890ef2
890ef2
* Mon Apr 16 2012 Kalev Lember <kalevlember@gmail.com> - 0.2-1
890ef2
- Update to 0.2
890ef2
- Enable parallel make
890ef2
890ef2
* Fri Mar 30 2012 Kalev Lember <kalevlember@gmail.com> - 0.1-2
890ef2
- Add provides bundled(egglib) (#808025)
890ef2
- Use global instead of define
890ef2
890ef2
* Thu Mar 29 2012 Kalev Lember <kalevlember@gmail.com> - 0.1-1
890ef2
- Initial RPM release