Logoj0ke.net Open Build Service > Projects > multimedia:SL11 > libcaca0 > Changes
Sign Up | Log In

Changes of Revision 2

[-] Added libcaca.spec
x
 
1
@@ -0,0 +1,367 @@
2
+
3
+%define withjava 0
4
+%define withpython 0
5
+
6
+Name:           libcaca
7
+BuildRequires:  doxygen freetype2-devel imlib2-devel ncurses-devel pkgconfig
8
+BuildRequires:  fdupes slang-devel xorg-x11 xorg-x11-devel
9
+#texlive-latex
10
+BuildRequires:  freeglut-devel ftgl-devel xorg-x11-libs
11
+BuildRequires:  gcc-c++ java-devel mono-devel python-devel ruby-devel
12
+%{py_requires}
13
+Version:        0.99.beta17
14
+Release:        27
15
+License:        WTFPL
16
+Summary:        Library for Colour ASCII Art, text mode graphics
17
+Group:          Development/Languages/C and C++
18
+Url:            http://sam.zoy.org/projects/libcaca/
19
+Source0:        http://caca.zoy.org/files/libcaca/%{name}-%{version}.tar.bz2
20
+Patch1:         libcaca-0.99-texbuild.patch
21
+Patch2:         libcaca-X11_test.patch
22
+Patch4:         libcaca-ruby_am_cflags.patch
23
+Patch5:         libcaca-ruby_vendor_install.patch
24
+Patch7:         libcaca-0.99.beta16-missing-GLU.patch
25
+Patch9:         caca-no-build-date.patch
26
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
27
+%define rb_vendorarch %{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}
28
+%define rb_vendorlib %{_libdir}/ruby/vendor_ruby/%{rb_ver}
29
+
30
+%description
31
+libcaca is the Colour AsCii Art library. It provides high level
32
+functions for colour text drawing, simple primitives for line, polygon
33
+and ellipse drawing, as well as powerful image to text conversion
34
+routines.
35
+
36
+
37
+
38
+Authors:
39
+--------
40
+    Sam Hocevar <sam@zoy.org>
41
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
42
+
43
+%package -n libcaca0
44
+License:        WTFPL
45
+Summary:        Library for Colour ASCII Art, text mode graphics
46
+Group:          Development/Languages/C and C++
47
+Provides:       libcaca = %{version}
48
+Obsoletes:      libcaca < %{version}
49
+%if 0%{?suse_version} <= 1110
50
+%ifarch == x86_64
51
+%define python_sitelib /usr/lib64/python2.6/site-packages
52
+%else
53
+%define python_sitelib /usr/lib/python2.6/site-packages
54
+%endif
55
+%endif
56
+
57
+%description -n libcaca0
58
+libcaca is the Colour AsCii Art library. It provides high level
59
+functions for colour text drawing, simple primitives for line, polygon
60
+and ellipse drawing, as well as powerful image to text conversion
61
+routines.
62
+
63
+
64
+
65
+Authors:
66
+--------
67
+    Sam Hocevar <sam@zoy.org>
68
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
69
+
70
+%if "%(pkg-config --variable prefix x11 || echo /usr/X11R6)" == "/usr"
71
+%define _xorg7libs %{_libdir}
72
+%else
73
+%define _xorg7libs /usr/X11R6/%{_lib}
74
+%endif
75
+
76
+%package devel
77
+License:        WTFPL
78
+Summary:        Library for Colour ASCII Art, text mode graphics
79
+Group:          Development/Languages/C and C++
80
+#yes, nothing else is required to link other applications with "libcaca"
81
+Requires:       %{name} = %{version}
82
+Requires:       %{name}0-plugins = %{version}
83
+%if 0%{?withjava} == 1
84
+Requires:       %{name}0-java = %{version}
85
+%endif
86
+
87
+%description devel
88
+This package contains the header files and static libraries needed to
89
+compile applications or shared objects that use libcaca.
90
+
91
+
92
+
93
+Authors:
94
+--------
95
+    Sam Hocevar <sam@zoy.org>
96
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
97
+
98
+%package csharp
99
+License:        WTFPL
100
+Summary:        C# support for libcaca
101
+Group:          Development/Languages/Mono
102
+Requires:       %{name} = %{version}
103
+Requires:       mono
104
+
105
+%description csharp
106
+This package contains all that is needed to use libcaca from C# code.
107
+
108
+
109
+
110
+Authors:
111
+--------
112
+    Sam Hocevar <sam@zoy.org>
113
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
114
+
115
+%if 0%{?withjava} == 1
116
+
117
+%package -n libcaca0-java
118
+License:        WTFPL
119
+Summary:        Java support for libcaca
120
+Group:          Development/Languages/Java
121
+Requires:       %{name} = %{version}
122
+Requires:       java
123
+
124
+%description -n libcaca0-java
125
+This package contains all that is needed to use libcaca from java.
126
+
127
+
128
+
129
+Authors:
130
+--------
131
+    Sam Hocevar <sam@zoy.org>
132
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
133
+%endif
134
+
135
+%if 0%{?withpython} == 1
136
+
137
+%package python
138
+License:        WTFPL
139
+Summary:        Python support for libcaca
140
+Group:          Development/Languages/Python
141
+Requires:       %{name} = %{version} python-base = %{py_ver}
142
+%if 0%{?suse_version} >= 1120
143
+BuildArch:      noarch
144
+%endif
145
+
146
+%description python
147
+This package contains all that is needed to use libcaca from python.
148
+
149
+
150
+
151
+Authors:
152
+--------
153
+    Sam Hocevar <sam@zoy.org>
154
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
155
+%endif
156
+
157
+%package -n libcaca0-plugins
158
+License:        WTFPL
159
+Summary:        Plugins for libcaca
160
+Group:          Development/Languages/C and C++
161
+Requires:       %{name} = %{version}
162
+
163
+%description -n libcaca0-plugins
164
+This package contains gl and x11 plugins for caca.
165
+
166
+
167
+
168
+Authors:
169
+--------
170
+    Sam Hocevar <sam@zoy.org>
171
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
172
+
173
+%package ruby
174
+License:        WTFPL
175
+Summary:        Ruby bindings for libcaca
176
+Group:          Development/Languages/Ruby
177
+Requires:       %{name} = %{version} ruby
178
+
179
+%description ruby
180
+All that is needed to use libcaca from ruby code.
181
+
182
+
183
+
184
+Authors:
185
+--------
186
+    Sam Hocevar <sam@zoy.org>
187
+    Jean-Yves Lamoureux <jylam@lnxscene.org>
188
+
189
+%package -n caca-utils
190
+License:        WTFPL
191
+Summary:        Colour ASCII Art Text mode graphics utilities based on libcaca
192
+Group:          Amusements/Toys/Graphics
193
+
194
+%description -n caca-utils
195
+This package contains utilities and demonstration programs for libcaca,
196
+the Colour AsCii Art library.
197
+
198
+cacaview is a simple image viewer for the terminal. It opens most image
199
+formats such as JPEG, PNG, GIF etc. and renders them on the terminal
200
+using ASCII art. The user can zoom and scroll the image, set the
201
[+] Deleted libcaca0.spec ^
[+] Added caca-no-build-date.patch ^
[+] Added libcaca-0.99-texbuild.patch ^
[+] Added libcaca-0.99.beta16-missing-GLU.patch ^
[+] Added libcaca-X11_test.patch ^
[+] Added libcaca-ruby_am_cflags.patch ^
[+] Added libcaca-ruby_vendor_install.patch ^