]> git.pld-linux.org Git - packages/imlib.git/blob - imlib.spec
- s-/usr/bin-%{_bindir}-
[packages/imlib.git] / imlib.spec
1 Summary:        Image loading and rendering library for X11R6
2 Summary(pl):    Biblioteki do renderowania i ³adowania plików graficznych pod X'y
3 Name:           imlib 
4 Version:        1.9.4
5 Release:        3
6 Copyright:      LGPL
7 Group:          X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source:         ftp://ftp.gnome.org/pub/GNOME/source/%{name}/%{name}-%{version}.tar.gz
10 URL:            http://www.labs.redhat.com/imlib/
11 BuildPrereq:    glib-devel >= 1.1.9
12 BuildPrereq:    gtk+-devel >= 1.1.9
13 BuildPrereq:    XFree86-devel
14 BuildPrereq:    libjpeg-devel
15 BuildPrereq:    libtiff-devel
16 BuildPrereq:    libpng-devel
17 BuildRoot:      /tmp/%{name}-%{version}-root
18 Obsoletes:      Imlib
19
20 %description
21 Imlib is an advanced replacement library for libraries like libXpm that
22 provides many more features with much greater flexability and
23 speed.
24
25 %description -l pl
26 Imlib jest zaawansowanym zamiennikiem bibliotek typu libXpm.
27
28 %package cfgeditor
29 Summary:        Imlib configuration editor
30 Summary(pl):    Edytor konfiguracji do biblioteki imlib
31 Group:          X11/Utilities
32 Group(pl):      X11/Narzêdzia
33 Requires:       %{name} = %{version}
34
35 %description cfgeditor
36 The imlib_config program allows you to control the way imlib uses
37 color and handles gamma correction/etc.
38
39 %description -l pl cfgeditor
40 Program imlib_config umo¿liwia zmianê sposobu u¿ywania przez bibliotekê
41 imlib kolorów, korekcji gamma i innych.
42
43 The imlib_config program allows you to control the way imlib uses
44 color and handles gamma correction/etc.
45
46 %package devel
47 Summary:        Imlib header files and development documentation
48 Summary(pl):    Pliki nag³ówkowe oraz dokumentacja do imlib
49 Group:          X11/Development/Libraries
50 Group(pl):      X11/Programowanie/Biblioteki
51 Requires:       %{name} = %{version}
52 Obsoletes:      Imlib
53
54 %description devel
55 Header files and development documentation for Imlib.
56
57 %description devel -l pl
58 Pliki nag³ówkowe oraz dokumentacja do biblioteki Imlib.
59
60 %package static
61 Summary:        Imlib static libraries
62 Summary(pl):    Biblioteki statyczne imlib
63 Group:          X11/Development/Libraries
64 Group(pl):      X11/Programowanie/Biblioteki
65 Requires:       %{name}-devel = %{version}
66 Obsoletes:      Imlib
67
68 %description static
69 Imlib static libraries.
70
71 %description devel -l pl
72 Biblioteki statyczne imlib.
73
74 %prep
75 %setup -q
76
77 %build
78 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
79 ./configure %{_target} \
80         --prefix=/usr/X11R6 \
81         --sysconfdir=/etc/X11/GNOME \
82         --datadir=%{_datadir}
83 make
84                             
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 make install DESTDIR=$RPM_BUILD_ROOT
89
90 strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.*
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
100 %attr(644,root,root) %config /etc/X11/GNOME/*
101
102 %files cfgeditor
103 %defattr(644,root,root,755)
104 %attr(755,root,root) /usr/X11R6/bin/imlib_config
105
106 %files devel
107 %defattr(644,root,root,755)
108 %doc doc/{*gif,*.html}
109 %attr(755,root,root) /usr/X11R6/lib/lib*.so
110
111 %attr(755,root,root) /usr/X11R6/bin/imlib-config
112
113 /usr/X11R6/include/*
114 %{_datadir}/aclocal/*
115
116 %files static
117 %defattr(644,root,root,755)
118 /usr/X11R6/lib/lib*.a
119
120 %changelog
121 * Thu Apr 22 1999 Piotr Czerwiñski <pius@pld.org.pl>
122   [1.9.4-3]
123 - removed "Conflicts: glibc <= 2.0.7" (not neccessary now),
124 - removed old %requires_pkg_ver macros,
125 - added "BuildPrereq: XFree86-devel",
126 - minor changes,
127 - recompiles on rpm 3.
128
129 * Thu Mar 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
130   [1.9.4-2]
131 - updated Requires to glib = 1.2.1, gtk = 1.2.1.
132
133 * Sun Mar 14 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
134   [1.9.4-1]
135 - removed Requires without versions which now are generated automatically.
136
137 * Wed Feb 24 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
138   [1.9.3-1]
139 - updated Requires to glib = 1.2.0, gtk = 1.2.0,
140 - added "Conflicts: glibc <= 2.0.7" for preven installing with proper
141   version glibc,
142 - added cfgeditor subpackage,
143 - updated Requires for gtk+/glib,
144 - changed sysconfdir to /etc/X11/GNOME.
145
146 * Sun Jan 31 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
147   [1.9.2-1d]
148 - changed Group in devel and static subpackages,
149 - updated "Requires: gtk+ = 1.1.14, glib = 1.1.14".
150
151 * Tue Jan 19 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
152   [1.9.0-1]
153 - added Group(pl),
154 - added "Requires: gtk+ = 1.1.13, glib = 1.1.13",
155 - changes in %install (use DESTDIR).
156
157 * Fri Sep 25 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
158   [1.8.1-1]
159 - added missing %{_datadir}/aclocal/* files to devel,
160 - files from /usr/etc moved to /etc and marked as %config,
161 - changed prefix to /usr/X11R6.
162
163 * Sun Sep  6 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
164   [1.7-2]
165 - added -q %setup parameter,
166 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
167 - added using %%{name} and %%{version} in Source,
168 - added static subpackage,
169 - changed dependencies to "Requires: %%{name} = %%{version}" in devel
170   subpackage,
171 - added full %attr description in %files,
172 - added stripping shared libraries and binarires,
173 - fixed passing $RPM_OPT_FLAGS,
174 - %{_bindir}/imlib-config moved to devel,
175 - added pl translation (Wojtek ¦lusarczyk <wojtek@shadow.eu.org>).
176
177 * Fri Apr 3 1998 Michael K. Johnson <johnsonm@redhat.com>
178 - fixed typo
179
180 * Fri Mar 13 1998 Marc Ewing <marc@redhat.com>
181 - Added -k, Obsoletes
182 - Integrate into CVS source tree
This page took 0.134364 seconds and 4 git commands to generate.