diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..76a1f3d --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: libmatchbox +# $Id$ +NAME := libmatchbox +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/dead.package b/dead.package deleted file mode 100644 index 807816f..0000000 --- a/dead.package +++ /dev/null @@ -1,2 +0,0 @@ -http://www.redhat.com/archives/fedora-extras-list/2006-September/msg00404.html -(and never actually shipped in any FE repo?) diff --git a/libmatchbox.spec b/libmatchbox.spec new file mode 100644 index 0000000..44cf12d --- /dev/null +++ b/libmatchbox.spec @@ -0,0 +1,101 @@ +Summary: Libraries for the Matchbox Desktop +Name: libmatchbox +Version: 1.9 +Release: 3%{?dist} +Url: http://projects.o-hand.com/matchbox/ +License: LGPL +Group: Development/Libraries +Source: http://projects.o-hand.com/matchbox/sources/libmatchbox/%{version}/%{name}-%{version}.tar.bz2 +BuildRequires: pango-devel +BuildRequires: libpng-devel +BuildRequires: libjpeg-devel +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +Matchbox is a base environment for the X Window System running on non-desktop +embedded platforms such as handhelds, set-top boxes, kiosks and anything else +for which screen space, input mechanisms or system resources are limited. + +%package devel +Group: Development/C +Summary: Static libraries and header files from %{name} +Provides: matchbox-devel = %{version}-%{release} +Provides: %{name}-devel = %{version}-%{release} +Provides: lib%{name}-devel = %{version}-%{release} +Provides: libmb-devel = %{version}-%{release} +Requires: libmatchbox = %{version} +Requires: pkgconfig + +%description devel +Static libraries and header files from %{name} + +%prep +%setup -q + +%build +%configure --enable-png --enable-jpeg --enable-pango +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root, -) +%_libdir/*.so.* + +%files devel +%defattr(-,root,root, -) +%doc AUTHORS ChangeLog README COPYING +%{_libdir}/pkgconfig/*.pc +%{_libdir}/*.so +%dir %{_includedir}/libmb +%{_includedir}/libmb/*.h + +%changelog +* Tue Jun 19 2007 John (J5) Palmieri 1.9-3 +- Fixed License to be LGPL +- Add COPYING license file to docs +- Fixed Group +- Fixed buildroot +- Added {} braces around % macros +- Removed .la and .a files +- Own {_includedir}/libmb directory +- Add dist tag to release +- Add smpflags flag to make +- Remove use of boken makeinstall macro + +* Mon Aug 21 2006 Marco Pesenti Gritti 1.9-2 +- Disable xsettings + +* Mon Aug 21 2006 Marco Pesenti Gritti 1.9-1 +- Update to 1.9 + +* Thu May 12 2005 Austin Acton 1.7-1mdk +- New release 1.7 +- fix URLs + +* Mon Jan 24 2005 Austin Acton 1.6-1mdk +- 1.6 + +* Tue Jan 4 2005 Austin Acton 1.5-1mdk +- 1.5 + +* Wed Sep 29 2004 Austin Acton 1.4-1mdk +- 1.4 + +* Mon Aug 23 2004 Austin Acton 1.3-1mdk +- 1.3 + +* Mon Jul 20 2004 Austin Acton 1.2-1mdk +- initial package diff --git a/sources b/sources new file mode 100644 index 0000000..aac3125 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +9f73e7515cc4679171a5db180dc1343b libmatchbox-1.9.tar.bz2