libappstream-glib-vl.spec 3.7 KB

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