Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > cd1e9d4b309c8b439b83932445bdd5d8 > files > 2

libinfinity-0.7.2-2.mga9.src.rpm

%define rel 2
%define libversion 0.7

Name:           libinfinity
Version:        0.7.2
Release:        %mkrel %{rel}
Summary:        Library implementing the infinote protocol
Group:          System/Libraries
License:        LGPLv2+
URL:            http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity
Source0:        http://releases.0x539.de/%{name}/%{name}-%{version}.tar.gz

BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(avahi-gobject)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gnutls)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(libgsasl)
BuildRequires:  gtk-doc
BuildRequires:  pam-devel


%description
libinfinity is an implementation of the Infinote protocol written in
GObject-based C.

#--------------------------------------------------------------------

%package -n     infinoted
Summary:        Server for the infinote protocol
Group:          System/Servers

%description -n infinoted
Server daemon for the infinote protocol.

%files -n infinoted -f %{name}-%{libversion}.lang
%{_bindir}/infinoted-%{libversion}
%{_libdir}/infinoted-%{libversion}/plugins/*
%{_mandir}/man1/infinoted-*
%{_datadir}/icons/hicolor/*/apps/infinote.*

#--------------------------------------------------------------------

%define libinfinity_major 0
%define libinfinity %mklibname infinity %{libversion} %{libinfinity_major}

%package -n %{libinfinity}
Summary: Library providing gtk bindings for %{name}
Group:   System/Libraries

%description   -n %{libinfinity}
This package provides the gtk bindings for %{name}.

%files -n %{libinfinity}
%{_libdir}/libinfinity-%{libversion}.so.%{libinfinity_major}{,.*}

#--------------------------------------------------------------------

%define libinftext_major 0
%define libinftext %mklibname inftext %{libversion} %{libinftext_major}

%package -n %{libinftext}
Summary: Library providing gtk bindings for %{name}
Group:   System/Libraries

%description   -n %{libinftext}
This package provides the gtk bindings for %{name}.

%files -n %{libinftext}
%{_libdir}/libinftext-%{libversion}.so.%{libinftext_major}{,.*}


#--------------------------------------------------------------------

%define libinfgtk_major 0
%define libinfgtk %mklibname inftgtk %{libversion} %{libinfgtk_major}

%package -n %{libinfgtk}
Summary: Library providing gtk bindings for %{name}
Group:   System/Libraries

%description  -n %{libinfgtk}
This package provides the gtk bindings for %{name}.

%files -n %{libinfgtk}
%{_libdir}/libinfgtk-%{libversion}.so.%{libinfgtk_major}{,.*}

#--------------------------------------------------------------------

%define libinftextgtk_major 0
%define libinftextgtk %mklibname inftextgtk %{libversion} %{libinftextgtk_major}

%package -n %{libinftextgtk}
Summary: Library providing gtk bindings for %{name}
Group:   System/Libraries

%description   -n %{libinftextgtk}
This package provides the gtk bindings for %{name}.

%files -n %{libinftextgtk}
%{_libdir}/libinftextgtk-%{libversion}.so.%{libinftextgtk_major}{,.*}

#--------------------------------------------------------------------

%define libinfinoted_plugin_manager_major 0
%define libinfinoted_plugin_manager %mklibname infinoted-plugin-manager %{libversion} %{libinfinoted_plugin_manager_major}

%package -n %{libinfinoted_plugin_manager}
Summary: A small library that is shared by infinoted and infinoted plugins
Group:   System/Libraries

%description -n %{libinfinoted_plugin_manager}
This is a small library that is shared by infinoted and infinoted plugins.
It provides a way for plugins to access the state of the server.

%files -n %{libinfinoted_plugin_manager}
%{_libdir}/libinfinoted-plugin-manager-%{libversion}.so.%{libinfinoted_plugin_manager_major}{,.*}

#--------------------------------------------------------------------

%define libinfinity_devel %mklibname -d infinity

%package -n %{libinfinity_devel}
Summary: Devel files for %libinfinity
Group: Development/C
Requires: %{libinfinity} = %{version}-%{release}

%description -n %{libinfinity_devel}
This package provides the devel files for libinfinity.

%files -n %{libinfinity_devel}
%{_includedir}/libinfinity-%{libversion}/
%{_libdir}/libinfinity-%{libversion}.so
%{_libdir}/pkgconfig/libinfinity-%{libversion}.pc
%{_datadir}/gtk-doc/html/libinfinity-%{libversion}/

#--------------------------------------------------------------------

%define libinftext_devel %mklibname -d inftext

%package -n %{libinftext_devel}
Summary: Devel files for %libinftext
Group: Development/C
Requires: %{libinftext} = %{version}-%{release}

%description -n %{libinftext_devel}
This package provides the devel files for libinftext.

%files -n %{libinftext_devel}
%{_includedir}/libinftext-%{libversion}/
%{_libdir}/libinftext-%{libversion}.so
%{_libdir}/pkgconfig/libinftext-%{libversion}.pc
%{_datadir}/gtk-doc/html/libinftext-%{libversion}/

#--------------------------------------------------------------------

%define libinfgtk_devel %mklibname -d inftgtk

%package -n %{libinfgtk_devel}
Summary: Devel files for %libinfgtk
Group: Development/GNOME and GTK+
Requires: %{libinfgtk} = %{version}-%{release}

%description -n %{libinfgtk_devel}
This package provides the devel files for libinfgtk.

%files -n %{libinfgtk_devel}
%{_includedir}/libinfgtk-%{libversion}/
%{_libdir}/libinfgtk-%{libversion}.so
%{_libdir}/pkgconfig/libinfgtk-%{libversion}.pc
%{_datadir}/gtk-doc/html/libinfgtk-%{libversion}/

#--------------------------------------------------------------------

%define libinftextgtk_devel %mklibname -d inftextgtk

%package -n %{libinftextgtk_devel}
Summary: Devel files for %libinftextgtk
Group: Development/GNOME and GTK+
Requires: %{libinftextgtk} = %{version}-%{release}

%description -n %{libinftextgtk_devel}
This package provides the devel files for libinftextgtk.

%files -n %{libinftextgtk_devel}
%{_includedir}/libinftextgtk-%{libversion}/
%{_libdir}/libinftextgtk-%{libversion}.so
%{_libdir}/pkgconfig/libinftextgtk-%{libversion}.pc
%{_datadir}/gtk-doc/html/libinftextgtk-%{libversion}/

#--------------------------------------------------------------------

%define libinfinoted_plugin_manager_devel %mklibname -d infinoted-plugin-manager

%package -n %{libinfinoted_plugin_manager_devel}
Summary: Devel files for %{libinfinoted_plugin_manager}
Group: Development/C
Requires: %{libinfinoted_plugin_manager} = %{version}-%{release}

%description -n %{libinfinoted_plugin_manager_devel}
This package provides the devel files for libinfinoted-plugin-manager.

%files -n %{libinfinoted_plugin_manager_devel}
%{_includedir}/libinfinoted-plugin-manager-%{libversion}/
%{_libdir}/libinfinoted-plugin-manager-%{libversion}.so
%{_libdir}/pkgconfig/libinfinoted-plugin-manager-%{libversion}.pc
%{_datadir}/gtk-doc/html/libinfinoted-plugin-manager-%{libversion}/

#--------------------------------------------------------------------

%prep
%setup -q

%build
%configure --with-gtk3
%make_build

%install
%make_install

rm -f %{buildroot}%{_iconsdir}/*/icon-theme.cache
%find_lang %{name}-%{libversion}
find %{buildroot} -name '*.la' -delete
find %{buildroot} -name '*.a' -delete



%changelog
* Wed Apr 06 2022 umeabot <umeabot> 0.7.2-2.mga9
+ Revision: 1845723
- Mageia 9 Mass Rebuild

* Sat Dec 26 2020 daviddavid <daviddavid> 0.7.2-1.mga8
+ Revision: 1663819
- new version: 0.7.2

* Thu Feb 13 2020 umeabot <umeabot> 0.7.1-3.mga8
+ Revision: 1514212
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%configure2_5x

* Sun Sep 23 2018 umeabot <umeabot> 0.7.1-2.mga7
+ Revision: 1298923
- Mageia 7 Mass Rebuild

* Sat Apr 07 2018 kekepower <kekepower> 0.7.1-1.mga7
+ Revision: 1216053
- Update to version 0.7.1

* Mon Jan 11 2016 luigiwalser <luigiwalser> 0.6.7-2.mga6
+ Revision: 921818
- rebuild for gnutls

* Fri Jan 01 2016 luigiwalser <luigiwalser> 0.6.7-1.mga6
+ Revision: 917746
- 0.6.7

* Wed Jul 29 2015 sander85 <sander85> 0.6.6-1.mga6
+ Revision: 858940
- New version: 0.6.6

* Mon Feb 16 2015 luigiwalser <luigiwalser> 0.5.5-4.mga5
+ Revision: 814996
- do not try to ship hicolor icon-theme.cache file

* Wed Oct 15 2014 umeabot <umeabot> 0.5.5-3.mga5
+ Revision: 742194
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.5.5-2.mga5
+ Revision: 681537
- Mageia 5 Mass Rebuild

* Sat Aug 23 2014 lmenut <lmenut> 0.5.5-1.mga5
+ Revision: 666937
- update to 0.5.5
- add upstream patch from libinfinity/0.5 to fix server crash on invalid
  id parameter in explore-node

* Sat Oct 19 2013 umeabot <umeabot> 0.5.4-2.mga4
+ Revision: 535041
- Mageia 4 Mass Rebuild

* Tue Sep 17 2013 mikala <mikala> 0.5.4-1.mga4
+ Revision: 480702
- Add missing configure switch
- remove .la & .a files
- imported package libinfinity