From 3a91a70c7c0437e34da555771ed3c8fce4217527 Mon Sep 17 00:00:00 2001 From: twillber Date: Jun 17 2005 20:07:24 +0000 Subject: auto-import libmatchbox-1.7-2 on branch devel from libmatchbox-1.7-2.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..4e613e7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libmatchbox-1.7.tar.gz diff --git a/libmatchbox.spec b/libmatchbox.spec new file mode 100644 index 0000000..fdbcfbe --- /dev/null +++ b/libmatchbox.spec @@ -0,0 +1,78 @@ +Summary: Matchbox library +Name: libmatchbox +Version: 1.7 +Release: 2 +License: LGPL +Group: System Environment/Libraries +URL: http://projects.o-hand.com/matchbox/ +Source0: http://projects.o-hand.com/matchbox/sources/libmatchbox/1.7/libmatchbox-1.7.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: libtool + +%description +All font and image operations are provided to other Matchbox packages via libmatchbox. + +%package devel +Summary: Headers and shared libraries for %{name} +Group: Development/Libraries +Requires: libmatchbox = %{version}-%{release} +Requires: pkgconfig +Requires: xorg-x11-devel +Requires: pango-devel +Requires: freetype-devel +Requires: glib2-devel +Requires: libpng-devel +Requires: libjpeg-devel + +%description devel +Libraries and headers for libmatchbox. Required for building other Matchbox packages. + +%prep +%setup -q + +%build +%configure --enable-pango --enable-jpeg + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +%makeinstall +# the .la file is not needed +find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + + +# runtime +%files +%defattr(0755, root, root, 0755) +%{_libdir}/libmb.so.* + +# development files +%files devel +%defattr(0655, root, root, 0755) +%{_libdir}/libmb.so +%{_libdir}/libmb.a + + +%{_libdir}/pkgconfig/libmb.pc +%{_includedir}/libmb/ + +%changelog +* Mon Jun 13 2005 Toni Willberg 1.7-2 +- changed as suggested by Ignacio Vazquez-Abrams : + - Drop 0 Epoch + - Source0 should have full URL + - Drop .la file from -devel + - Use %{_includedir}/libmb instead of doing dir and headers separately + +* Sun May 22 2005 Toni Willberg 1.7-1 +- Initial build. Thanks to Rudolf Kastl + + diff --git a/sources b/sources index e69de29..5630db3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +71dde5a06df6c755ed33f111aecaaf8c libmatchbox-1.7.tar.gz