source: projects/specs/trunk/lib/liba/libappstream-glib/libappstream-glib-vl.spec @ 9791

Revision 9791, 3.9 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

Line 
1Summary:        Library for AppStream metadata
2Summary(ja):    AppStream メタデータ用ライブラリ
3Name:           libappstream-glib
4Version:        0.5.2
5Release:        1%{?_dist_release}
6License:        LGPLv2+
7Group:          System Environment/Libraries
8URL:            http://people.freedesktop.org/~hughsient/appstream-glib/
9
10Source:         http://people.freedesktop.org/~hughsient/releases/appstream-glib-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  gtk3-devel
15BuildRequires:  libarchive-devel
16BuildRequires:  libsoup-devel >= 2.24
17BuildRequires:  gperf
18BuildRequires:  sqlite3-devel
19BuildRequires:  rpm-devel
20BuildRequires:  libyaml-devel
21BuildRequires:  gcab-devel
22BuildRequires:  gtk-doc >= 1.9
23
24
25Vendor:         Project Vine
26Distribution:   Vine Linux
27Packager:       Takemikaduchi
28
29%description
30This library provides GObjects and helper methods to make it easy
31to read and write AppStream metadata. It also provides a simple DOM
32implementation that makes it easy to edit nodes and convert to and
33from the standardized XML representation.
34
35%package                devel
36Summary:                Development tools for %{name}
37Summary(ja):    %{name} の開発環境
38Group:                  Development/Libraries
39Requires:               %{name} = %{version}-%{release}
40Requires:               pkgconfig
41
42%description    devel
43Header files and libraries for building a extension library for the %{name}.
44
45
46%package                docs
47Summary:                Documentation for %{name}
48Summary(ja):    %{name} 用のドキュメント
49Group:                  Documentation
50Requires:               %{name} = %{version}-%{release}
51BuildArch:              noarch
52
53%description    docs
54This package contains documentation for %{name}.
55
56
57%package -n libappstream-builder
58Summary:                Library and command line tools for building AppStream metadata
59Summary(ja):    AppStream メタデータを生成するためのライブラリ及びコマンドラインツール
60Group:                  System Environment/Libraries
61Requires:               %{name} = %{version}-%{release}
62
63%description -n libappstream-builder
64%{summary}
65
66
67%package -n libappstream-builder-devel
68Summary:                Development tools for libappstream-builder
69Summary(ja):    libappstream-builder の開発環境
70Group:                  Development/Libraries
71Requires:               libappstream-builder = %{version}-%{release}
72Requires:               pkgconfig
73
74%description -n libappstream-builder-devel
75Header 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
83make %{?_smp_mflags}
84
85%install
86rm -rf $RPM_BUILD_ROOT
87make install DESTDIR=$RPM_BUILD_ROOT
88
89find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
90
91%find_lang appstream-glib
92
93%clean
94rm -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
114%exclude %{_datadir}/aclocal/appdata-xml.m4
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
125%{_libdir}/asb-plugins-4/*.so
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
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
142* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
143- initial build
144
Note: See TracBrowser for help on using the repository browser.