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