18110
|
1 |
#
|
|
2 |
# spec file for package libpigment
|
|
3 |
#
|
|
4 |
# includes module(s): pigment
|
|
5 |
#
|
19973
|
6 |
# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
|
18110
|
7 |
# This file and all modifications and additions to the pristine
|
|
8 |
# package are under the same license as the package itself.
|
|
9 |
#
|
|
10 |
%define owner yippi
|
|
11 |
|
|
12 |
%define OSR 9492:0.3.6
|
|
13 |
|
|
14 |
#
|
|
15 |
# bugdb: https://code.fluendo.com/pigment/trac/
|
|
16 |
#
|
|
17 |
%define version 0.3.17
|
|
18 |
|
|
19 |
%include Solaris.inc
|
|
20 |
|
|
21 |
Summary: Pigment user interface library with embedded multimedia
|
|
22 |
Name: SUNWlibpigment
|
|
23 |
IPS_package_name: library/desktop/pigment
|
|
24 |
Meta(info.classification): %{classification_prefix}:System/Multimedia Libraries
|
|
25 |
License: LGPL v2.1
|
|
26 |
Vendor: fluendo.com
|
|
27 |
Version: %{version}
|
|
28 |
URL: https://core.fluendo.com/pigment/trac
|
|
29 |
Source0: http://elisa.fluendo.com/static/download/pigment/pigment-%{version}.tar.bz2
|
|
30 |
SUNW_BaseDir: %{_basedir}
|
|
31 |
SUNW_Copyright: %{name}.copyright
|
|
32 |
|
|
33 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
34 |
BuildRequires: SUNWgtk2-devel
|
|
35 |
BuildRequires: SUNWgnome-common-devel
|
|
36 |
BuildRequires: SUNWgnome-media-devel
|
|
37 |
Requires: SUNWgtk2
|
|
38 |
Requires: SUNWgnome-media
|
|
39 |
|
|
40 |
BuildRequires: SUNWxorg-mesa
|
|
41 |
Requires: SUNWxorg-mesa
|
|
42 |
|
|
43 |
%include default-depend.inc
|
|
44 |
|
|
45 |
%description
|
|
46 |
Pigment is a library designed to easily build user interfaces
|
|
47 |
with embedded multimedia. Its design allows to use it on several
|
|
48 |
platforms, thanks to a plugin system allowing to choose the underlying
|
|
49 |
graphical API. Pigment is the rendering engine of Elisa, the Fluendo
|
|
50 |
Media Center project.
|
|
51 |
|
|
52 |
%package devel
|
|
53 |
Group: Development/Tools
|
|
54 |
Summary: Development headers for Pigment
|
|
55 |
Requires: %name
|
|
56 |
|
|
57 |
%prep
|
|
58 |
%setup -q -n pigment-%version
|
|
59 |
|
|
60 |
%build
|
|
61 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
|
|
62 |
if test "x$CPUS" = "x" -o $CPUS = 0; then
|
|
63 |
CPUS=1
|
|
64 |
fi
|
|
65 |
|
|
66 |
aclocal $ACLOCAL_FLAGS -I ./common/m4
|
|
67 |
gtkdocize
|
|
68 |
autoheader
|
|
69 |
automake -a -c -f
|
|
70 |
autoconf
|
|
71 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
|
|
72 |
--libdir=%{_libdir} \
|
|
73 |
--libexecdir=%{_libexecdir} \
|
|
74 |
--sysconfdir=%{_sysconfdir}
|
|
75 |
make
|
|
76 |
|
|
77 |
%install
|
|
78 |
rm -rf $RPM_BUILD_ROOT
|
|
79 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
80 |
|
|
81 |
rm -r $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
82 |
rm -r $RPM_BUILD_ROOT/%{_libdir}/*.a
|
|
83 |
rm -r $RPM_BUILD_ROOT/%{_libdir}/pigment-0.3/%{version}/*.la
|
|
84 |
rm -r $RPM_BUILD_ROOT/%{_libdir}/pigment-0.3/%{version}/*.a
|
|
85 |
|
|
86 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
87 |
|
|
88 |
%clean
|
|
89 |
rm -rf $RPM_BUILD_ROOT
|
|
90 |
|
|
91 |
%files
|
|
92 |
%doc README AUTHORS
|
|
93 |
%doc(bzip2) NEWS COPYING ChangeLog
|
|
94 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
95 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
96 |
%defattr(-,root,bin)
|
|
97 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
98 |
%{_libdir}/lib*.so*
|
|
99 |
%{_libdir}/pigment-0.3/%{version}/lib*.so*
|
|
100 |
|
|
101 |
%files devel
|
|
102 |
%defattr (-, root, bin)
|
|
103 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
104 |
%{_includedir}/*
|
|
105 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
106 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
107 |
%{_libdir}/pkgconfig/*
|
|
108 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
109 |
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc
|
|
110 |
%dir %attr (0755, root, bin) %{_datadir}/gtk-doc/html
|
|
111 |
%{_datadir}/gtk-doc/html/*
|
|
112 |
|
|
113 |
|
|
114 |
%changelog
|
|
115 |
* Sat Apr 24 2010 - [email protected]
|
|
116 |
- Obsoleted useless macro 'name'.
|
|
117 |
* Fri Jan 09 2009 - [email protected]
|
|
118 |
- Add SUNWglrt and SUNWxorg-mesa as dependencies. Fixes bug
|
|
119 |
#6791253.
|
|
120 |
* Wed Nov 12 2008 Jerry Tan <[email protected]>
|
|
121 |
- Bump to 0.3.12
|
|
122 |
* Mon Oct 13 2008 Brian Cameron <[email protected]>
|
|
123 |
- Bump to 0.3.11.
|
|
124 |
* Tue Sep 30 2008 Brian Cameron <[email protected]>
|
|
125 |
- Bump to 0.3.10.
|
|
126 |
* Wed Sep 17 2008 Brian Cameron <[email protected]>
|
|
127 |
- Bump to 0.3.9. Remove upstream patch pigment-01-m4.diff.
|
|
128 |
* Thu Sep 10 2008 Jerry Yu <[email protected]>
|
|
129 |
- Bump to 0.3.8.
|
|
130 |
- Add patch pigment-01-m4.diff.
|
|
131 |
* Thu Jul 31 2008 Brian Cameron <[email protected]>
|
|
132 |
- Bump to 0.3.7.
|
|
133 |
* Wed Jul 23 2008 Brian Cameron <[email protected]>
|
|
134 |
- Bump to 0.3.6.
|
|
135 |
* Wed Mar 19 2008 Brian Cameron <[email protected]>
|
|
136 |
- Bump to 0.3.5.
|
|
137 |
* Wed Feb 06 2008 Brian Cameron <[email protected]>
|
|
138 |
- Bump to 0.3.4.
|
|
139 |
* Wed Jan 16 2008 Brian Cameron <[email protected]>
|
|
140 |
- Bump to 0.3.3. Remove upstream patch.
|
|
141 |
* Fri Oct 05 2007 Brian Cameron <[email protected]>
|
|
142 |
- Bump to 0.3.2
|
|
143 |
* Sun Aug 05 2007 Brian Cameron <[email protected]>
|
|
144 |
- Bump to 0.3.1
|
|
145 |
* Tue Jul 10 2007 Brian Cameron <[email protected]>
|
|
146 |
- Create spec file.
|