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

Revision 8084, 5.8 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

RevLine 
[521]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name: libmng
[3155]4Summary: A library of functions for manipulating MNG format files.
[8084]5Version: 2.0.2
6Release: 1%{?_dist_release}
[3155]7
8Group: System Environment/Libraries
9License: AS IS
[8084]10URL: http://sourceforge.net/projects/libmng/
[3155]11
[8084]12Source: http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.xz
[3155]13
[521]14BuildRoot: %{_tmppath}/%{name}-%{version}-root
[3155]15BuildRequires: automake
16BuildRequires: autoconf
[8084]17BuildRequires: lcms2-devel
[3155]18BuildRequires: libjpeg-devel
19BuildRequires: libtool
20BuildRequires: zlib-devel
[521]21
[8084]22Vendor: Project Vine
23Distribution: Vine Linux
24
[3155]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
[521]30%package devel
31Summary: Development tools for programs to manipulate MNG format files.
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
[8084]34Requires: lcms2-devel
[3155]35Requires: libjpeg-devel
36Requires: zlib-devel
[8084]37Requires: pkgconfig
[521]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}
[8084]68Requires: compat32-lcms2-devel
[3155]69Requires: compat32-libjpeg-devel
70Requires: compat32-zlib-devel
[521]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
[8084]82#cp -p makefiles/configure.in .
83#cp -p makefiles/Makefile.am .
[521]84
[8084]85#libtoolize -f -c
86#aclocal
87#automake -a -c
88#autoconf
[521]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
[8084]121%{_libdir}/pkgconfig/%{name}.pc
[521]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
[8084]139* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.2-1
140- update to 2.0.2
141- change BuildRequires; lcms2-devel instead of lcms-devel
142
[3155]143* Sun Mar 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.10-4
144- rebuilt with new toolchain
145- s/BuildPrereq/BuildRequires/g
146
[521]147* Mon Jul 20 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.10-3
148- added compat32 package for x86_64 arch support
149
150* Fri Mar 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.10-2
151- add libmng-static which is needed by tuxonice-userui
152  - remove --disable-static
153  - remove Obsoletes: libmng-static
154
155* Wed Mar 19 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.10-1
156- new upstream release
157- delete *.la
158- add --disable-static
159
160* Sat May 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl1
161- updated to 1.0.9
162- added BuildPrereq: automake, autoconf, libtool
163
164* Sun May 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.7-0vl3
165- add BuildPrereq: lcms-devel and Requires: lcms
166- add Requires: zlib-devel libjpeg-devel lcms-devel to -devel pkg
167- add --with-lcms to configure option
168
169* Wed May 11 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.7-0vl2
170- rebuilt to fix unwanted dependencies with lcms (ppc only)
171
172* Thu Apr 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.7-0vl1
173- rebuild with new toolchains
174- updated to 1.0.7
175
[8084]176* Tue Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.4-0vl2
[521]177- License: AS IS
178- Obsoletes: libmng-static, and merge %%{prefix}/lib/*.a to -devel pkg
179- add PreReq: ldconfig
180- revised summaries and descriptions
181
[8084]182* Tue Oct 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.4-0vl1
[521]183- source upgrade
184- add %%doc Changes LICENSE README doc
185- add Requires: %%{name} = %%{version}-%%{release} for devel package
186- add Requires: %%{name}-devel = %%{version}-%%{release} for static package
187
188* Sat Oct 13 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.3-0vl1
189- Update to 1.0.3
190- Build for VineSeed
191
192* Mon Jun 11 2001 net_hal <net_hal@cwa.bai.ne.jp>
193- First build for Vine2.1.5
194
[8084]195* Wed Apr 11 2001 Rex Dieter <rdieter@unl.edu> 1.0.0-0.6x.2
[521]196- redhat6 backport based on rawhide's libmng-1.0.0-2
197
198* Wed Feb 28 2001 Trond Eivind Glomsrd <teg@redhat.com>
199- remove bogus symlink trick
200
201* Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
202- Update to 1.0.0 to make Qt 2.3.0 happy
203
[8084]204* Fri Jan 19 2001 Bernhard Rosenkraenzer <bero@redhat.com>
[521]205- 0.9.4, fixes MNG 1.0 spec compliance
206
207* Tue Dec 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
208- 0.9.3
209- Add ldconfig calls in %%post and %%postun
210
211* Tue Dec 05 2000 Florian La Roche <Florian.LaRoche@redhat.de>
212- added a clean section to the spec file
213
214* Tue Sep 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
215- initial rpm
216
Note: See TracBrowser for help on using the repository browser.