SPECS: matchbox-common.spec (NEW), matchbox-desktop.spec (NEW) - new

qboosh qboosh at pld-linux.org
Wed Dec 27 03:13:42 CET 2006


Author: qboosh                       Date: Wed Dec 27 02:13:42 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   matchbox-common.spec (NONE -> 1.1)  (NEW), matchbox-desktop.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/matchbox-common.spec
diff -u /dev/null SPECS/matchbox-common.spec:1.1
--- /dev/null	Wed Dec 27 03:13:42 2006
+++ SPECS/matchbox-common.spec	Wed Dec 27 03:13:36 2006
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	pda	# use PDA-style app folder setup (rather than Desktop)
+#
+Summary:	Common files for Matchbox desktop
+Summary(pl):	Wspólne pliki dla środowiska Matchbox
+Name:		matchbox-common
+Version:	0.9.1
+Release:	1
+License:	GPL(?)
+Group:		X11/Applications
+Source0:	http://projects.o-hand.com/matchbox/sources/matchbox-common/0.9/%{name}-%{version}.tar.bz2
+# Source0-md5:	8e8ba0ee170a9ac78fdc583b00ccf76b
+URL:		http://projects.o-hand.com/matchbox/
+# just to check for png support in libmatchbox
+BuildRequires:	libmatchbox-devel >= 1.1
+BuildRequires:	pkgconfig
+Requires:	matchbox-desktop >= 0.9
+Requires:	matchbox-panel >= 0.9
+Requires:	matchbox-window-manager >= 0.9
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Common files for Matchbox desktop.
+
+%description -l pl
+Wspólne pliki dla środowiska Matchbox.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	%{?with_pda:--enable-pda-folders}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog
+%attr(755,root,root) %{_bindir}/matchbox-session
+%{_datadir}/matchbox/vfolders/*.directory
+%{_datadir}/matchbox/vfolders/Root.order
+%{_iconsdir}/blondie
+%{_pixmapsdir}/*.png
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/27 02:13:36  qboosh
+- new

================================================================
Index: SPECS/matchbox-desktop.spec
diff -u /dev/null SPECS/matchbox-desktop.spec:1.1
--- /dev/null	Wed Dec 27 03:13:42 2006
+++ SPECS/matchbox-desktop.spec	Wed Dec 27 03:13:36 2006
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	sn	# startup notification support
+#
+Summary:	Matchbox Desktop environment
+Summary(pl):	Środowisko Matchbox Desktop
+Name:		matchbox-desktop
+Version:	0.9.1
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications
+Source0:	http://projects.o-hand.com/matchbox/sources/matchbox-desktop/0.9/%{name}-%{version}.tar.bz2
+# Source0-md5:	8e8ba0ee170a9ac78fdc583b00ccf76b
+Patch0:		%{name}-desktop.patch
+URL:		http://projects.o-hand.com/matchbox/
+BuildRequires:	libmatchbox-devel >= 1.5
+BuildRequires:	pkgconfig
+%{?with_sn:BuildRequires:	startup-notification-devel}
+BuildRequires:	zlib-devel
+Requires:	libmatchbox >= 1.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Matchbox Desktop environment.
+
+%description -l pl
+Środowisko Matchbox Desktop.
+
+%package devel
+Summary:	Header files for Matchbox Desktop modules
+Summary(pl):	Pliki nagłówkowe dla modułów Matchbox Desktop
+Group:		X11/Development/Libraries
+Requires:	libmatchbox-devel >= 1.5
+# doesn't require base
+
+%description devel
+Header files for Matchbox Desktop modules.
+
+%description devel -l pl
+Pliki nagłówkowe dla modułów Matchbox Desktop.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure \
+	--disable-static \
+	--enable-dnotify \
+	%{?with_sn:--enable-startup-notification}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/matchbox/{mbdesktop_filebrowser,vfolders}
+rm -f $RPM_BUILD_ROOT%{_libdir}/matchbox/desktop/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog modules/simplefilebrowser-example.desktop
+%attr(755,root,root) %{_bindir}/matchbox-desktop
+%dir %{_libdir}/matchbox
+%dir %{_libdir}/matchbox/desktop
+%attr(755,root,root) %{_libdir}/matchbox/desktop/dotdesktop.so
+%attr(755,root,root) %{_libdir}/matchbox/desktop/simplefilebrowser.so
+%attr(755,root,root) %{_libdir}/matchbox/desktop/tasks.so
+%dir %{_datadir}/matchbox
+%dir %{_datadir}/matchbox/mbdesktop_filebrowser
+%dir %{_datadir}/matchbox/vfolders
+%dir %{_sysconfdir}/matchbox
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/matchbox/mbdesktop_modules
+%{_desktopdir}/mb-show-desktop.desktop
+%{_pixmapsdir}/mbdesktop.png
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/matchbox-desktop
+%{_pkgconfigdir}/matchbox-desktop.pc
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/12/27 02:13:36  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list