source: projects/specs/trunk/r/rcairo/rcairo-vl.spec @ 7330

Revision 7330, 3.4 KB checked in by iwaim, 11 years ago (diff)

rcairo 1.12.2-1

Line 
1%define rlibdir  %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["rubylibdir"]')
2%define rarchdir %(%{ruby} -r rbconfig -e 'print RbConfig::CONFIG["archdir"]')
3
4Summary:     Ruby binding for cairo
5Summary(ja): cairo の Ruby バインディング
6Name:        rcairo
7Version:     1.12.2
8Release:     1%{?_dist_release}
9Source0:     http://cairographics.org/releases/%{name}-%{version}.tar.gz
10License:     The same conditions as ruby
11Group:       System Environment/Libraries
12URL:         http://cairographics.org/
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: ruby-devel >= 1.8.0
16BuildRequires: cairo-devel >= 1.2.0
17BuildRequires: ruby-pkg-config
18
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23Cairo is a 2D graphics library with support for multiple output devices.
24Currently supported output targets include the X Window System, win32, and
25image buffers. Experimental backends include OpenGL (through glitz), Quartz,
26XCB, PostScript and PDF file output.
27
28rcairo provides Ruby binding for cairo.
29
30%description -l ja
31cairo は 2D グラフィックスライブラリで,さまざまな出力デバイスをサポートして
32います.現在は,X Window System,Win32,イメージバッファをサポートしています.
33実験的に OpenGL(glitz経由),Quartz,XCB,PostScript/PDF ファイルへの出力も
34サポートしています.
35
36rcairo は cairo の Ruby バインディングを供給します。
37
38%package devel
39Summary:     The header file for rcairo
40Summary(ja): rcairo を用いた開発用のヘッダーファイル
41Group:       Development/Libraries
42Requires:    %{name} = %{version}
43
44%description devel
45The header file for rcairo
46
47%description devel -l ja
48rcairo を用いた開発用のヘッダーファイル
49
50%prep
51%setup -q
52
53%build
54%ruby ./extconf.rb
55%{__make}
56
57%install
58rm -rf ${RPM_BUILD_ROOT}
59%makeinstall sitelibdir=${RPM_BUILD_ROOT}%{rlibdir} sitearchdir=${RPM_BUILD_ROOT}%{rarchdir}
60
61%clean
62rm -rf ${RPM_BUILD_ROOT}
63
64%files
65%defattr(-,root,root)
66%doc AUTHORS COPYING ChangeLog GPL NEWS README samples
67%{rlibdir}/*.rb
68%{rlibdir}/cairo
69%{rarchdir}/*.so
70
71%files devel
72%defattr(-,root,root)
73%{rarchdir}/*.h
74
75%changelog
76* Sun Jan 13 2013 IWAI, Masaharu <iwai@alib.jp> 1.12.2-1
77- new upstream release
78- add BuildRequires: ruby-pkg-config
79- build with ruby 1.9.3.362-6
80 - Use RbConfig instead of obsolete and deprecated Config.
81
82* Sat Mar 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-2
83- rebuilt with new toolchains
84
85* Mon Oct 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.0-1
86- new upstream release
87
88* Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.7.0-1
89- new upstream release
90- applied new versioning policy
91- removed BuildRequires: ruby-gnome2 (included pkg-config.rb)
92- spec in UTF-8
93
94* Sat Jun 30 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.5.0-0vl1
95- upstream release
96
97* Sat Mar 31 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.4.0-0vl2
98- upstream release
99- add BuildRequires: rugy-gnome2 (extconf.rb requires "pkg-config")
100  CAUTION: circulated build dependency exists between ruby-gnome2 and rcairo
101- modify %%build and %%install scriptlet to cope with extconf.rb
102- add "%%{rlibdir}/cairo" subdirectory in %%files section
103
104* Sun Sep 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-0vl3
105- changed devel Group to Development/Libraries
106
107* Sat Feb 18 2006 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.0-0vl2
108- rebuild
109
110* Sun Oct 30 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.0.0-0vl1
111- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.