2014-01-11 10:21:02 +00:00
|
|
|
#
|
|
|
|
# spec file for package gamin-devel
|
|
|
|
#
|
2024-02-27 11:18:25 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-01-11 10:21:02 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-08-13 08:28:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-01-11 10:21:02 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define sonum 0
|
|
|
|
%define vernum 1
|
|
|
|
%define packnum %{vernum}-%{sonum}
|
|
|
|
%define famnum 0
|
2018-07-31 06:56:07 +00:00
|
|
|
Name: gamin-devel
|
|
|
|
Version: 0.1.10
|
|
|
|
Release: 0
|
2014-01-11 10:21:02 +00:00
|
|
|
Summary: Libraries and includes to build against gamin
|
2018-07-31 06:56:07 +00:00
|
|
|
License: LGPL-2.1-only
|
2014-01-11 10:21:02 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-07-31 06:56:07 +00:00
|
|
|
URL: http://www.gnome.org/~veillard/gamin/
|
2021-09-28 17:16:51 +00:00
|
|
|
Source0: https://download.gnome.org/sources/gamin/0.1/gamin-%{version}.tar.bz2
|
2014-01-11 10:21:02 +00:00
|
|
|
Source2: gamin-rpmlintrc
|
|
|
|
Patch0: gamin-return.patch
|
|
|
|
Patch1: gamin-fam_abi_compatibility_FamErrlist.patch
|
|
|
|
Patch3: gamin-obsol-glib.diff
|
|
|
|
# PATCH-FIX-UPSTREAM gamin-0.1.11-double-lock.patch (bgo#669292)
|
|
|
|
Patch4: gamin-0.1.11-double-lock.patch
|
|
|
|
# PATCH-FIX-UPSTREAM 0001-Poll-files-on-nfs4.patch (bgo#693006)
|
|
|
|
Patch5: 0001-Poll-files-on-nfs4.patch
|
2024-06-02 10:08:00 +00:00
|
|
|
Patch6: gamin-missing-includes.patch
|
2014-01-11 10:21:02 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: pkgconfig
|
2018-07-31 06:56:07 +00:00
|
|
|
Requires: libfam%{famnum}-gamin = %{version}
|
|
|
|
Requires: libgamin-%{packnum} = %{version}
|
|
|
|
# Both have libfam.so
|
|
|
|
Conflicts: fam-devel
|
|
|
|
Provides: %{name}-static = %{version}
|
2014-01-11 10:21:02 +00:00
|
|
|
# No glib* requires here to avoid build cycles
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libraries, includes, etc. to use and build against gamin.
|
|
|
|
|
|
|
|
%package -n libgamin-%{packnum}
|
|
|
|
Summary: Library providing the FAM File Alteration Monitor API
|
|
|
|
Group: System/Libraries
|
2018-07-31 06:56:07 +00:00
|
|
|
Requires: gamin-server >= %{version}
|
2014-01-11 10:21:02 +00:00
|
|
|
Provides: libgamin = %{version}
|
|
|
|
Obsoletes: libgamin < %{version}
|
|
|
|
|
|
|
|
%description -n libgamin-%{packnum}
|
|
|
|
This C library provides an API and ABI compatible file alteration
|
|
|
|
monitor mechanism compatible with FAM, but not dependent on a system wide
|
|
|
|
daemon.
|
|
|
|
|
|
|
|
%package -n libfam%{famnum}-gamin
|
|
|
|
Summary: Library providing the FAM File Alteration Monitor API
|
|
|
|
Group: System/Libraries
|
2014-01-30 17:20:44 +00:00
|
|
|
Requires: gamin-server >= %{version}
|
2018-07-31 06:56:07 +00:00
|
|
|
Conflicts: libfam0
|
2014-01-11 10:21:02 +00:00
|
|
|
|
|
|
|
%description -n libfam%{famnum}-gamin
|
|
|
|
This C library provides an API and ABI compatible file alteration
|
|
|
|
monitor mechanism compatible with FAM, but not dependent on a system wide
|
|
|
|
daemon.
|
|
|
|
|
|
|
|
%prep
|
2024-02-27 11:18:25 +00:00
|
|
|
%autosetup -n gamin-%version -p1
|
2014-01-11 10:21:02 +00:00
|
|
|
|
|
|
|
%build
|
2019-08-13 08:28:24 +00:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2014-01-11 10:21:02 +00:00
|
|
|
%configure --disable-static --disable-server
|
2024-02-27 11:18:25 +00:00
|
|
|
%make_build
|
2014-01-11 10:21:02 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm "%{buildroot}%{_libdir}"/*.la
|
|
|
|
|
2024-02-27 11:18:25 +00:00
|
|
|
%ldconfig_scriptlets -n libgamin-%{packnum}
|
|
|
|
%ldconfig_scriptlets -n libfam%{famnum}-gamin
|
2014-01-11 10:21:02 +00:00
|
|
|
|
|
|
|
%files -n libgamin-%{packnum}
|
|
|
|
%doc AUTHORS ChangeLog NEWS README Copyright TODO
|
|
|
|
%{_libdir}/libgamin-%{vernum}.so.%{sonum}
|
|
|
|
%{_libdir}/libgamin-%{vernum}.so.%{sonum}.*
|
|
|
|
|
|
|
|
%files -n libfam%{famnum}-gamin
|
|
|
|
%{_libdir}/libfam.so.%{famnum}
|
|
|
|
%{_libdir}/libfam.so.%{famnum}.*
|
|
|
|
|
|
|
|
%files -n gamin-devel
|
|
|
|
%{_includedir}/fam.h
|
|
|
|
%{_libdir}/libfam.so
|
|
|
|
%{_libdir}/libgamin-%{vernum}.so
|
|
|
|
%{_libdir}/libgamin_shared.a
|
|
|
|
%{_libdir}/pkgconfig/gamin.pc
|
|
|
|
|
|
|
|
%changelog
|