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