libappstream-glib-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. Summary: Library for AppStream metadata
  2. Summary(ja): AppStream メタデータ用ライブラリ
  3. Name: libappstream-glib
  4. Version: 0.5.2
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://people.freedesktop.org/~hughsient/appstream-glib/
  9. Source: http://people.freedesktop.org/~hughsient/releases/appstream-glib-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: libarchive-devel
  13. BuildRequires: libsoup-devel >= 2.24
  14. BuildRequires: gperf
  15. BuildRequires: sqlite3-devel
  16. BuildRequires: rpm-devel
  17. BuildRequires: libyaml-devel
  18. BuildRequires: gcab-devel
  19. BuildRequires: gtk-doc >= 1.9
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. This library provides GObjects and helper methods to make it easy
  25. to read and write AppStream metadata. It also provides a simple DOM
  26. implementation that makes it easy to edit nodes and convert to and
  27. from the standardized XML representation.
  28. %package devel
  29. Summary: Development tools for %{name}
  30. Summary(ja): %{name} の開発環境
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Header files and libraries for building a extension library for the %{name}.
  36. %package docs
  37. Summary: Documentation for %{name}
  38. Summary(ja): %{name} 用のドキュメント
  39. Group: Documentation
  40. Requires: %{name} = %{version}-%{release}
  41. BuildArch: noarch
  42. %description docs
  43. This package contains documentation for %{name}.
  44. %package -n libappstream-builder
  45. Summary: Library and command line tools for building AppStream metadata
  46. Summary(ja): AppStream メタデータを生成するためのライブラリ及びコマンドラインツール
  47. Group: System Environment/Libraries
  48. Requires: %{name} = %{version}-%{release}
  49. %description -n libappstream-builder
  50. %{summary}
  51. %package -n libappstream-builder-devel
  52. Summary: Development tools for libappstream-builder
  53. Summary(ja): libappstream-builder の開発環境
  54. Group: Development/Libraries
  55. Requires: libappstream-builder = %{version}-%{release}
  56. Requires: pkgconfig
  57. %description -n libappstream-builder-devel
  58. Header files and libraries for building a extension library for the libappstream-builder.
  59. %prep
  60. %setup -q -n appstream-glib-%{version}
  61. %build
  62. %configure --disable-static
  63. make %{?_smp_mflags}
  64. %install
  65. rm -rf $RPM_BUILD_ROOT
  66. make install DESTDIR=$RPM_BUILD_ROOT
  67. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  68. %find_lang appstream-glib
  69. %clean
  70. rm -rf $RPM_BUILD_ROOT
  71. %files -f appstream-glib.lang
  72. %defattr(-,root,root,-)
  73. %doc COPYING ChangeLog NEWS README.md
  74. %{_bindir}/appstream-util
  75. %{_libdir}/%{name}.so.*
  76. %{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
  77. %{_datadir}/bash-completion/completions/appstream-util
  78. %{_mandir}/man1/appstream-util.1.gz
  79. %files devel
  80. %defattr(-,root,root,-)
  81. %{_includedir}/%{name}/
  82. %{_libdir}/%{name}.so
  83. %{_libdir}/pkgconfig/appstream-glib.pc
  84. %{_datadir}/aclocal/appstream-xml.m4
  85. %{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
  86. %{_datadir}/installed-tests/appstream-glib/*.test
  87. %exclude %{_datadir}/aclocal/appdata-xml.m4
  88. %files docs
  89. %defattr(-,root,root,-)
  90. %{_datadir}/gtk-doc/html/appstream-glib
  91. %files -n libappstream-builder
  92. %defattr(-,root,root,-)
  93. %{_bindir}/appstream-builder
  94. %{_libdir}/libappstream-builder.so.*
  95. %{_libdir}/girepository-1.0/AppStreamBuilder-1.0.typelib
  96. %{_libdir}/asb-plugins-4/*.so
  97. %{_libdir}/girepository-1.0/AppStreamGlib-1.0.typelib
  98. %{_datadir}/bash-completion/completions/appstream-builder
  99. %{_mandir}/man1/appstream-builder.1.gz
  100. %files -n libappstream-builder-devel
  101. %defattr(-,root,root,-)
  102. %{_includedir}/libappstream-builder/
  103. %{_libdir}/libappstream-builder.so
  104. %{_libdir}/pkgconfig/appstream-builder.pc
  105. %{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
  106. %changelog
  107. * Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.2-1
  108. - new usptream release
  109. - add BuildRequires: gcab-devel
  110. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
  111. - initial build