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

Revision 9073, 3.7 KB checked in by Takemikaduchi, 10 years ago (diff)

GNOME 3.14.1

Line 
1Summary:        Library for AppStream metadata
2Summary(ja):    AppStream メタデータ用ライブラリ
3Name:           libappstream-glib
4Version:        0.3.1
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:  gtk-doc >= 1.9
22
23
24Vendor:         Project Vine
25Distribution:   Vine Linux
26Packager:       Takemikaduchi
27
28%description
29This library provides GObjects and helper methods to make it easy
30to read and write AppStream metadata. It also provides a simple DOM
31implementation that makes it easy to edit nodes and convert to and
32from the standardized XML representation.
33
34%package                devel
35Summary:                Development tools for %{name}
36Summary(ja):    %{name} の開発環境
37Group:                  Development/Libraries
38Requires:               %{name} = %{version}-%{release}
39Requires:               pkgconfig
40
41%description    devel
42Header files and libraries for building a extension library for the %{name}.
43
44
45%package                docs
46Summary:                Documentation for %{name}
47Summary(ja):    %{name} 用のドキュメント
48Group:                  Documentation
49Requires:               %{name} = %{version}-%{release}
50BuildArch:              noarch
51
52%description    docs
53This package contains documentation for %{name}.
54
55
56%package -n libappstream-builder
57Summary:                Library and command line tools for building AppStream metadata
58Summary(ja):    AppStream メタデータを生成するためのライブラリ及びコマンドラインツール
59Group:                  System Environment/Libraries
60Requires:               %{name} = %{version}-%{release}
61
62%description -n libappstream-builder
63%{summary}
64
65
66%package -n libappstream-builder-devel
67Summary:                Development tools for libappstream-builder
68Summary(ja):    libappstream-builder の開発環境
69Group:                  Development/Libraries
70Requires:               libappstream-builder = %{version}-%{release}
71Requires:               pkgconfig
72
73%description -n libappstream-builder-devel
74Header 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
82make %{?_smp_mflags}
83
84%install
85rm -rf $RPM_BUILD_ROOT
86make install DESTDIR=$RPM_BUILD_ROOT
87
88find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
89
90%find_lang appstream-glib
91
92%clean
93rm -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
Note: See TracBrowser for help on using the repository browser.