File: pigment.spec.in

package info (click to toggle)
pigment 0.3.6-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,060 kB
  • ctags: 7,318
  • sloc: ansic: 34,269; xml: 11,990; sh: 9,155; makefile: 560; perl: 383
file content (137 lines) | stat: -rw-r--r-- 4,221 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
%{!?majorminor: %define         majorminor      @PGM_MAJORMINOR@}
%{!?gstreamer:  %define         gstreamer       gstreamer}

Name:           pigment
Version:        @VERSION@
Release:        1
Summary:        Pigment media rendering library

Group:          Applications/Multimedia
License:        LGPL
URL:            https://code.fluendo.com/pigment/trac
Source:         http://www.fluendo.com/elisa/downloads/pigment/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires:       glib2 >= @glib_req@
Requires:       pango >= @pango_req@
Requires:       pangocairo >= @pangocairo_req@
Requires:       %{gstreamer} >= @gstreamer_req@

BuildRequires:  glib2-devel >= @glib_req@
BuildRequires:  pango-devel >= @pango_req@
BuildRequires:  pangocairo-devel >= @pangocairo_req@
BuildRequires:  libX11-devel
BuildRequires:  %{gstreamer}-devel >= @gstreamer_req@
BuildRequires:  %{gstreamer}-plugins-base-devel >= @gstreamer_plugins_base_req@
BuildRequires:  mesa-libGLU-devel
BuildRequires:  gtk-doc

# for gdk-pixbuf
BuildRequires:  gtk2-devel

%description
Pigment is a GLib/GObject library designed to easily create rich
application user interfaces embedding different media types. Its
design allows to use it on several platforms, thanks to a plugin
system allowing to choose the underlying graphical API.

%package devel
Summary:        Libraries/include files for Pigment
Group:          Development/Libraries

Requires:       %{name} = %{version}-%{release}
Requires:       glib2-devel >= @glib_req@

%description devel
Pigment is a GLib/GObject library designed to easily create rich
application user interfaces embedding different media types. Its
design allows to use it on several platforms, thanks to a plugin
system allowing to choose the underlying graphical API.

This package contains the libraries and includes files necessary to
develop applications and plugins using Pigment.

%prep
%setup -q -n %{name}-%{version}

%build
%configure --enable-gtk-doc
make

%install
rm -rf $RPM_BUILD_ROOT

# Install doc temporarily in order to be included later by rpm
%makeinstall docdir="`pwd`/installed-doc"

# Do not package .la files
find $RPM_BUILD_ROOT%{_libdir} -name "*.la" -exec rm {} \;

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, -)
%doc AUTHORS COPYING INSTALL NEWS README RELEASE TODO ChangeLog
%{_libdir}/libpigment-%{majorminor}.so.*
%{_libdir}/pigment-%{majorminor}/%{version}/*.so

%files devel
%defattr(-, root, root, -)
%{_includedir}/pigment-%{majorminor}/pgm/*.h
%{_includedir}/pigment-%{majorminor}/pgm/gtk/*.h
%{_libdir}/libpigment-%{majorminor}.so
%{_libdir}/pkgconfig/pigment-%{majorminor}.pc
%{_libdir}/pkgconfig/pigment-gtk-%{majorminor}.pc
%{_datadir}/gtk-doc/html/pigment

%changelog
* Mon Jan 21 2008 Loïc Molinari <loic@fluendo.com>
- changed plugin path

* Fri Jan 11 2008 Loïc Molinari <loic@fluendo.com>
- updated doc files
- changed the description
- adapted for the python binding split
- added libpigment-gtk

* Tue Jan 8 2008 Loïc Molinari <loic@fluendo.com>
- removed the image sink plugin which is now linked statically

* Thu Aug 2 2007 Loïc Molinari <loic@fluendo.com>
- adapted to branch 0.3

* Tue Mar 13 2007 Loïc Molinari <loic@fluendo.com>
- adapted to library namespace change
- changed description

* Fri Feb 16 2007 Loïc Molinari <loic@fluendo.com>
- added libX11-devel and libXrandr-devel build requirements

* Thu Feb 01 2007 Loïc Molinari <loic@fluendo.com>
- removed the pygtk2-devel build requirement
- removed the libSDL requirement

* Thu Jan 04 2007 Thomas Vander Stichele <thomas at apestaart dot org>
- fix requires
- fix URL's
- add plugins-base BR
- pull in either pygobject2-devel or pygtk2-devel depending on version

* Thu Nov 09 2006 Loïc Molinari <loic@fluendo.com>
- changed the license

* Thu Nov 09 2006 Thomas Vander Stichele <thomas at apestaart dot org>
- cleaned up
- fixed for 64-bit systems
- get versions from configure.ac

* Wed Nov 08 2006 Loïc Molinari <loic@fluendo.com>
- added the GStreamer video sink plugin

* Thu Oct 31 2006 Christian Schaller <christian@fluendo.com>
- first draft of spec file