source: projects/specs/trunk/g/gcab/gcab-vl.spec @ 10716

Revision 10716, 1.9 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.20

Line 
1Summary:        A GObject library to create cabinet files
2Summary(ja):    キャビネットファイル作成用 GObject ライブラリ
3Name:           gcab
4Version:        0.7
5Release:        1%{?_dist_release}
6License:        LGPLv2.1
7Group:          System Environment/Libraries
8URL:            https://git.gnome.org/browse/gcab/
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.7/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires: glib2-devel
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18Packager:       Takemikaduchi
19
20%description
21%{summary}
22
23
24%package        devel
25Summary:        Development tools for %{name}
26Summary(ja):    %{name} の開発環境
27Group:          Development/Libraries
28Requires:       %{name} = %{version}-%{release}
29Requires:       pkgconfig
30
31%description devel
32Header files and libraries for building a extension library for the %{name}.
33
34
35%package        docs
36Summary:        Documentation for %{name}
37Summary(ja):    %{name} 用のドキュメント
38Group:          Documentation
39BuildArch:      noarch
40
41%description    docs
42This package contains documentation for %{name}.
43
44
45%prep
46%setup -q
47
48%build
49%configure --disable-static
50
51make %{?_smp_mflags}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install DESTDIR=${RPM_BUILD_ROOT}
57
58find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
59
60rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
61
62%find_lang %{name} --with-gnome
63
64%clean
65rm -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
Note: See TracBrowser for help on using the repository browser.