source: projects/specs/trunk/lib/libt/libtomoe-gtk/libtomoe-gtk-vl.spec @ 521

Revision 521, 2.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define _tomoe_ver      0.5.0
2
3Summary:        A class library for tomoe's GUI parts
4Summary(ja):    tomoe の GUI パーツのクラスライブラリ
5Name:           libtomoe-gtk
6Version:        0.5.1
7Release:        1%{?_dist_release}
8Group:          System Environment/Libraries
9License:        LGPL
10URL:            http://tomoe.sourceforge.jp/
11Source0:        libtomoe-gtk-%{version}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  tomoe-devel >= %{_tomoe_ver}
14BuildRequires:  gtk2-devel >= 2.4.0, gtk-doc >= 1.4, gucharmap-devel >= 1.4.0
15Requires:       tomoe >= %{_tomoe_ver}
16Requires:       gtk2 >= 2.4.0
17PreReq:         ldconfig
18
19%description
20The libtomoe-gtk is a class library for tomoe's GUI parts.
21
22%description -l ja
23libtomoe-gtk は tomoe の GUI パーツのクラスライブラリです。
24
25%package devel
26Summary:        Header files for developing libtomoe-gtk applications
27Summary(ja):    libtomoe-gtk アプリケーション開発用ヘッダファイル
28Group:          Development/Libraries
29Requires:       %{name} = %{version}-%{release}
30Requires:       tomoe-devel >= %{_tomoe_ver}
31Requires:       gucharmap-devel >= 1.4.0
32Requires:       pkgconfig
33
34%description devel
35The libtomoe-gtk-devel package includes the header files for the libtomoe-gtk
36package.
37Install this package if you want to develop programs which use libtomoe-gtk.
38
39%description -l ja devel
40libtomoe-gtk-devel パッケージには、libtomoe-gtk を使うアプリケーションを開発
41するためのヘッダファイルが含まれています。
42
43%prep
44%setup -q
45
46%build
47%configure
48%__make %{?_smp_mflags}
49
50%install
51%makeinstall
52%find_lang %{name}
53## remove unuse files
54rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
55
56
57%clean
58%__rm -rf %{buildroot}
59
60%post
61%{_syssbindir}/ldconfig
62
63%postun
64%{_syssbindir}/ldconfig
65
66%files -f %{name}.lang
67%defattr(-,root,root,-)
68%doc AUTHORS COPYING ChangeLog INSTALL
69%{_libdir}/*.so.*
70%{_datadir}/libtomoe-gtk
71
72%files devel
73%defattr(-,root,root,-)
74%{_includedir}/tomoe/gtk/*.h
75%{_libdir}/pkgconfig/*.pc
76%{_libdir}/*.so
77#%{_libdir}/*.la
78%{_libdir}/*.a
79%{_datadir}/gtk-doc/html/libtomoe-gtk
80
81%changelog
82* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 0.5.1-1vl5
83- applied new versioning policy, spec in utf-8
84- removed *.la
85
86* Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.1-0vl1
87- new upstream release
88- drop obsolete test-fix.patch (patch0)
89
90* Mon Jan 08 2007 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl2
91- add Requires: gucharmap-devel to -devel package
92
93* Mon Dec 31 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.5.0-0vl1
94- new upstream release
95- update required version of tomoe
96- add test-fix.patch (patch0)
97- add Requires: tomoe-devel to -devel package
98- add BuildRequires: gtk-doc >= 1.4, gucharmap-devel >= 1.4.0
99
100* Fri Nov 24 2006 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.3.0-0vl1
101- new upstream release
102- update required-version of tomoe
103- add Requires: pkgconfig to -devel package
104- update %%files
105
106* Mon Nov 07 2005 KAZUKI SHIMURA <kazuki@ma.ccna.ne.jp> 0.1.0-0vl1
107- initial release for Vine Linux
Note: See TracBrowser for help on using the repository browser.