1 | Summary: A GObject library to create cabinet files |
---|
2 | Summary(ja): キャビネットファイル作成用 GObject ライブラリ |
---|
3 | Name: gcab |
---|
4 | Version: 0.7 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: LGPLv2.1 |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: https://git.gnome.org/browse/gcab/ |
---|
9 | |
---|
10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: glib2-devel |
---|
15 | |
---|
16 | Vendor: Project Vine |
---|
17 | Distribution: Vine Linux |
---|
18 | Packager: Takemikaduchi |
---|
19 | |
---|
20 | %description |
---|
21 | %{summary} |
---|
22 | |
---|
23 | |
---|
24 | %package devel |
---|
25 | Summary: Development tools for %{name} |
---|
26 | Summary(ja): %{name} の開発環境 |
---|
27 | Group: Development/Libraries |
---|
28 | Requires: %{name} = %{version}-%{release} |
---|
29 | Requires: pkgconfig |
---|
30 | |
---|
31 | %description devel |
---|
32 | Header files and libraries for building a extension library for the %{name}. |
---|
33 | |
---|
34 | |
---|
35 | %package docs |
---|
36 | Summary: Documentation for %{name} |
---|
37 | Summary(ja): %{name} 用のドキュメント |
---|
38 | Group: Documentation |
---|
39 | BuildArch: noarch |
---|
40 | |
---|
41 | %description docs |
---|
42 | This package contains documentation for %{name}. |
---|
43 | |
---|
44 | |
---|
45 | %prep |
---|
46 | %setup -q |
---|
47 | |
---|
48 | %build |
---|
49 | %configure --disable-static |
---|
50 | |
---|
51 | make %{?_smp_mflags} |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
57 | |
---|
58 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
59 | |
---|
60 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
61 | |
---|
62 | %find_lang %{name} --with-gnome |
---|
63 | |
---|
64 | %clean |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun -p /sbin/ldconfig |
---|
71 | |
---|
72 | |
---|
73 | %files -f %{name}.lang |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %doc COPYING NEWS |
---|
76 | %{_bindir}/%{name} |
---|
77 | %{_libdir}/libgcab-1.0.so.* |
---|
78 | %{_mandir}/man1/%{name}.1.gz |
---|
79 | |
---|
80 | %files devel |
---|
81 | %defattr(-,root,root,-) |
---|
82 | %{_includedir}/libgcab-1.0 |
---|
83 | %{_libdir}/libgcab-1.0.so |
---|
84 | %{_libdir}/pkgconfig/libgcab-1.0.pc |
---|
85 | |
---|
86 | %files docs |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %{_datadir}/gtk-doc/html/%{name} |
---|
89 | |
---|
90 | |
---|
91 | %changelog |
---|
92 | * Fri Jul 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7-2 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1 |
---|
96 | - initial build |
---|
97 | |
---|