source: projects/specs/branches/6/lib/libm/libmng/libmng-vl.spec @ 3155

Revision 3155, 5.5 KB checked in by inagaki, 13 years ago (diff)

update: libmng, libutempter

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name: libmng
4Summary: A library of functions for manipulating MNG format files.
5Version: 1.0.10
6Release: 4%{?_dist_release}
7
8Group: System Environment/Libraries
9License: AS IS
10URL: http://www.libmng.com/
11
12Source: http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.gz
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: automake
16BuildRequires: autoconf
17BuildRequires: lcms-devel
18BuildRequires: libjpeg-devel
19BuildRequires: libtool
20BuildRequires: zlib-devel
21
22%description
23libmng - library for reading, writing, displaying and examing
24Multiple-Image Network Graphics. MNG is the animation extension to the
25popular PNG image-format.
26
27%package devel
28Summary: Development tools for programs to manipulate MNG format files.
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: lcms-devel
32Requires: libjpeg-devel
33Requires: zlib-devel
34
35%description devel
36The libmng-devel package contains the header files
37necessary for developing programs using the MNG
38(Multiple-Image Network Graphics) library.
39
40%package static
41Summary: Static libraries of %{name}
42Group: Development/Libraries
43Requires: %{name}-devel = %{version}-%{release}
44
45%description static
46The libmng-static package contains static libraries.
47
48# compat32
49%package -n compat32-%{name}
50Summary: A library of functions for manipulating MNG format files.
51Group: System Environment/Libraries
52Requires: %{name} = %{version}-%{release}
53
54%description -n compat32-%{name}
55libmng - library for reading, writing, displaying and examing
56Multiple-Image Network Graphics. MNG is the animation extension to the
57popular PNG image-format.
58
59%package -n compat32-%{name}-devel
60Summary: Development tools for programs to manipulate MNG format files.
61Group: Development/Libraries
62Requires: %{name}-devel = %{version}-%{release}
63Requires: compat32-%{name} = %{version}-%{release}
64Requires: compat32-lcms-devel
65Requires: compat32-libjpeg-devel
66Requires: compat32-zlib-devel
67
68%description -n compat32-%{name}-devel
69The libmng-devel package contains the header files
70necessary for developing programs using the MNG
71(Multiple-Image Network Graphics) library.
72
73
74%prep
75%setup -q
76
77%build
78cp -p makefiles/configure.in .
79cp -p makefiles/Makefile.am .
80
81libtoolize -f -c
82aclocal
83automake -a -c
84autoconf
85
86%configure --enable-shared --with-zlib --with-jpeg \
87        --with-gnu-ld --with-lcms
88make
89
90%install
91rm -rf $RPM_BUILD_ROOT
92%makeinstall
93
94rm $RPM_BUILD_ROOT%{_libdir}/*.la
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
99%post -p /sbin/ldconfig
100
101%postun -p /sbin/ldconfig
102
103%post -n compat32-%{name} -p /sbin/ldconfig
104
105%postun -n compat32-%{name} -p /sbin/ldconfig
106
107%files
108%defattr(-,root,root)
109%doc CHANGES LICENSE README doc
110%{_libdir}/*.so.*
111%{_mandir}/man*/*
112
113%files devel
114%defattr(-,root,root)
115%{_includedir}/*
116%{_libdir}/*.so
117
118%files static
119%defattr(-,root,root)
120%{_libdir}/*.a
121
122# compat32
123%if %{build_compat32}
124%files -n compat32-%{name}
125%defattr(-,root,root)
126%{_libdir}/*.so.*
127
128%files -n compat32-%{name}-devel
129%defattr(-,root,root)
130%{_libdir}/*.so
131%endif
132
133%changelog
134* Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-4
135- rebuilt with new toolchain
136- s/BuildPrereq/BuildRequires/g
137
138* Mon Jul 20 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-3
139- added compat32 package for x86_64 arch support
140
141* Fri Mar 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-2
142- add libmng-static which is needed by tuxonice-userui
143  - remove --disable-static
144  - remove Obsoletes: libmng-static
145
146* Wed Mar 19 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.10-1
147- new upstream release
148- delete *.la
149- add --disable-static
150
151* Sat May 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl1
152- updated to 1.0.9
153- added BuildPrereq: automake, autoconf, libtool
154
155* Sun May 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl3
156- add BuildPrereq: lcms-devel and Requires: lcms
157- add Requires: zlib-devel libjpeg-devel lcms-devel to -devel pkg
158- add --with-lcms to configure option
159
160* Wed May 11 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.7-0vl2
161- rebuilt to fix unwanted dependencies with lcms (ppc only)
162
163* Thu Apr 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.7-0vl1
164- rebuild with new toolchains
165- updated to 1.0.7
166
167* Mon Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.4-0vl2
168- License: AS IS
169- Obsoletes: libmng-static, and merge %%{prefix}/lib/*.a to -devel pkg
170- add PreReq: ldconfig
171- revised summaries and descriptions
172
173* Mon Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.4-0vl1
174- source upgrade
175- add %%doc Changes LICENSE README doc
176- add Requires: %%{name} = %%{version}-%%{release} for devel package
177- add Requires: %%{name}-devel = %%{version}-%%{release} for static package
178
179* Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.3-0vl1
180- Update to 1.0.3
181- Build for VineSeed
182
183* Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp>
184- First build for Vine2.1.5
185
186* Thu Apr 11 2001 Rex Dieter <rdieter@unl.edu> 1.0.0-0.6x.2
187- redhat6 backport based on rawhide's libmng-1.0.0-2
188
189* Wed Feb 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
190- remove bogus symlink trick
191
192* Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
193- Update to 1.0.0 to make Qt 2.3.0 happy
194
195* Sat Jan 19 2001 Bernhard Rosenkraenzer <bero@redhat.com>
196- 0.9.4, fixes MNG 1.0 spec compliance
197
198* Tue Dec 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
199- 0.9.3
200- Add ldconfig calls in %%post and %%postun
201
202* Tue Dec 05 2000 Florian La Roche <Florian.LaRoche@redhat.de>
203- added a clean section to the spec file
204
205* Tue Sep 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
206- initial rpm
207
Note: See TracBrowser for help on using the repository browser.