source: projects/specs/trunk/lib/libm/libmng/libmng-vl.spec @ 11552

Revision 11552, 5.9 KB checked in by tomop, 6 years ago (diff)

libmng-2.0.3-1

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