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