folks/folks.spec

187 lines
6.2 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: folks
Version: 0.12.1
Release: 1mamba
Summary: A library that aggregates people from multiple sources to create metacontacts
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://live.gnome.org
Source: ftp://ftp.gnome.org/pub/gnome/sources/folks/%{majver}/folks-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libevolution-data-server-devel
BuildRequires: libgee-devel
BuildRequires: libglib-devel
BuildRequires: libreadline-devel
BuildRequires: libtermcap-devel
BuildRequires: libxml2-devel
BuildRequires: telepathy-glib-devel
## AUTOBUILDREQ-END
BuildRequires: libevolution-data-server-devel >= 3.32.3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libfolks is a library that aggregates people from multiple sources (eg, Telepathy connection managers) to create metacontacts.
%package -n lib%{name}
Group: System/Libraries
Summary: A library that aggregates people from multiple sources to create metacontacts
%description -n lib%{name}
libfolks is a library that aggregates people from multiple sources (eg, Telepathy connection managers) to create metacontacts.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
export LDFLAGS="-ltermcap"
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f %{name}.lang
%defattr(-,root,root)
%{_libdir}/libfolks.so.*
%{_libdir}/libfolks-dummy.so.*
%{_libdir}/libfolks-eds.so.*
%{_libdir}/libfolks-telepathy.so.*
%dir %{_libdir}/folks
%dir %{_libdir}/folks/*
%dir %{_libdir}/folks/*/backends
%dir %{_libdir}/folks/*/backends/bluez
%{_libdir}/folks/*/backends/bluez/bluez.so
%dir %{_libdir}/folks/*/backends/dummy
%{_libdir}/folks/*/backends/dummy/dummy.*
%dir %{_libdir}/folks/*/backends/eds
%{_libdir}/folks/*/backends/eds/eds.so
%dir %{_libdir}/folks/*/backends/key-file
%{_libdir}/folks/*/backends/key-file/key-file.so
%dir %{_libdir}/folks/*/backends/ofono
%{_libdir}/folks/*/backends/ofono/ofono.so
%dir %{_libdir}/folks/*/backends/telepathy
%{_libdir}/folks/*/backends/telepathy/telepathy.so
%{_libdir}/girepository-1.0/Folks-0.6.typelib
%{_libdir}/girepository-1.0/FolksDummy-0.6.typelib
%{_libdir}/girepository-1.0/FolksEds-0.6.typelib
%{_libdir}/girepository-1.0/FolksTelepathy-0.6.typelib
%{_datadir}/glib-2.0/schemas/org.freedesktop.folks.gschema.xml
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_bindir}/folks-import
%{_bindir}/folks-inspect
%dir %{_includedir}/folks
%{_includedir}/folks/*.h
%{_libdir}/libfolks.so
%{_libdir}/libfolks-dummy.so
%{_libdir}/libfolks-eds.so
%{_libdir}/libfolks-telepathy.so
%{_libdir}/pkgconfig/folks.pc
%{_libdir}/pkgconfig/folks-dummy.pc
%{_libdir}/pkgconfig/folks-eds.pc
%{_libdir}/pkgconfig/folks-telepathy.pc
%{_datadir}/gir-1.0/Folks-0.6.gir
%{_datadir}/gir-1.0/FolksDummy-0.6.gir
%{_datadir}/gir-1.0/FolksEds-0.6.gir
%{_datadir}/gir-1.0/FolksTelepathy-0.6.gir
%{_datadir}/vala/vapi/folks.deps
%{_datadir}/vala/vapi/folks.vapi
%{_datadir}/vala/vapi/folks-eds.deps
%{_datadir}/vala/vapi/folks-eds.vapi
%{_datadir}/vala/vapi/folks-dummy.deps
%{_datadir}/vala/vapi/folks-dummy.vapi
%{_datadir}/vala/vapi/folks-telepathy.deps
%{_datadir}/vala/vapi/folks-telepathy.vapi
%doc NEWS
%changelog
* Sat Jul 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.1-1mamba
- update to 0.12.1
* Wed Sep 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.4-2mamba
- rebuilt with libevolution-data-server 3.28.5
* Mon Jul 03 2017 Automatic Build System <autodist@mambasoft.it> 0.11.4-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 0.11.3-1mamba
- automatic version update by autodist
* Fri Nov 27 2015 Automatic Build System <autodist@mambasoft.it> 0.11.2-1mamba
- automatic version update by autodist
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 0.11.1-1mamba
- automatic version update by autodist
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
- automatic version update by autodist
* Mon Feb 09 2015 Automatic Build System <autodist@mambasoft.it> 0.10.1-1mamba
- automatic version update by autodist
* Sat Sep 13 2014 Automatic Build System <autodist@mambasoft.it> 0.10.0-1mamba
- automatic version update by autodist
* Wed Aug 13 2014 Automatic Build System <autodist@mambasoft.it> 0.9.8-1mamba
- automatic version update by autodist
* Sat Jun 28 2014 Automatic Build System <autodist@mambasoft.it> 0.9.7.1-1mamba
- automatic version update by autodist
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-2mamba
- rebuilt with libevolution-data-server 3.12
* Sat Nov 16 2013 Automatic Build System <autodist@mambasoft.it> 0.9.6-1mamba
- automatic version update by autodist
* Wed Nov 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-1mamba
- update to 0.9.5
* Sat Jun 08 2013 Automatic Build System <autodist@mambasoft.it> 0.9.2-1mamba
- automatic version update by autodist
* Sat Apr 13 2013 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
- automatic version update by autodist
* Sun Oct 07 2012 Automatic Build System <autodist@mambasoft.it> 0.8.0-1mamba
- automatic version update by autodist
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 0.7.4.1-1mamba
- update to 0.7.4.1
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.9-2mamba
- moved typelib file from -devel to main package
* Sat Sep 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.9-1mamba
- package created by autospec