libaccounts-glib-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. %define repo_id 17201ad512e86d248ac158046ac322e7164adc87
  2. Name: libaccounts-glib
  3. Version: 1.18
  4. Release: 1%{?_dist_release}
  5. Summary: A low-level library for managing accounts settings.
  6. Group: System Environment/Libraries
  7. License: LGPL
  8. URL: https://gitlab.com/accounts-sso/libaccounts-glib
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: libxml2-devel
  13. BuildRequires: gobject-introspection-devel
  14. BuildRequires: sqlite3-devel
  15. BuildRequires: pygobject3-devel
  16. BuildRequires: check-devel
  17. BuildRequires: gtk-doc
  18. BuildRequires: docbook-style-xsl
  19. BuildRequires: autoconf
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. This project is a library for managing accounts which can be used from GLib
  25. applications.
  26. %package devel
  27. Summary: Development tools for %{name}
  28. Summary(ja): %{name}
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. %description devel
  33. Header files and libraries for building a extension library for the
  34. %{name}.
  35. %package vala
  36. Summary: Vala bindings for %{name}
  37. Summary(ja): %{name} の Vala バインディング
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. Requires: vala
  41. %description vala
  42. Vala bindings for %{name}.
  43. %prep
  44. %setup -q -n %{name}-%{version}-%{repo_id}
  45. %build
  46. export CFLAGS="$RPM_OPT_FLAGS -Wno-error=deprecated-declarations"
  47. NOCONFIGURE=1 ./autogen.sh
  48. %configure \
  49. --disable-static \
  50. --disable-gtk-doc
  51. make %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make DESTDIR=$RPM_BUILD_ROOT install
  55. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files
  61. %defattr(-,root,root,-)
  62. %doc ChangeLog AUTHORS COPYING NEWS README
  63. %{_bindir}/ag-backup
  64. %{_bindir}/ag-tool
  65. %{_libdir}/%{name}.so.*
  66. %{_libdir}/girepository-1.0/Accounts-1.0.typelib
  67. %{_libdir}/%{name}
  68. %{python_sitearch}/gi/overrides/Accounts.*
  69. %{_datadir}/backup-framework/applications/accounts.conf
  70. %{_datadir}/dbus-1/interfaces/com.google.code.AccountsSSO.Accounts.Manager.xml
  71. %{_datadir}/%{name}
  72. %{_datadir}/xml/accounts/schema/dtd/accounts-*.dtd
  73. %{_mandir}/man1/ag-backup.1.gz
  74. %{_mandir}/man1/ag-tool.1.gz
  75. %files devel
  76. %defattr(-, root, root, -)
  77. %{_includedir}/%{name}
  78. %{_libdir}/%{name}.so
  79. %{_libdir}/pkgconfig/%{name}.pc
  80. %{_datadir}/gir-1.0/Accounts-1.0.gir
  81. %files vala
  82. %defattr(-, root, root, -)
  83. %{_datadir}/vala/vapi/%{name}.deps
  84. %{_datadir}/vala/vapi/%{name}.vapi
  85. %changelog
  86. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.18-1
  87. - new upstream release
  88. - remove %%{name}-docs subpackage
  89. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.16-1
  90. - initial build