From e7cc95e7bc81f57955c0d899fabf75ecbeb57850 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 11 Mar 2007 19:15:44 +0000 Subject: [PATCH] - new Changed files: SaWMan.spec -> 1.1 --- SaWMan.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 SaWMan.spec diff --git a/SaWMan.spec b/SaWMan.spec new file mode 100644 index 0000000..4b8ac0c --- /dev/null +++ b/SaWMan.spec @@ -0,0 +1,89 @@ +Summary: Shared application and Window Manager +Summary(pl.UTF-8): Zarządca współdzielonych aplikacji i okien +Name: SaWMan +Version: 0.1.0 +Release: 1 +License: LGPL v2+ +Group: Libraries +Source0: http://www.directfb.org/downloads/Extras/%{name}-%{version}.tar.gz +# Source0-md5: d36255aea4bfc0a14f043960ae7782a2 +URL: http://www.directfb.org/index.php?path=Main/News&entry=2007-01-30-0.dok +BuildRequires: DirectFB-devel >= 1:1.0.0 +BuildRequires: pkgconfig >= 1:0.9 +%requires_eq DirectFB +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +SaWMan is a new window manager module for use with DirectFB. Its main +difference to the default module is that it allows one process to be +an application and window manager, implementing all kinds of +diversity, while SaWMan is only the working horse. + +%description -l pl.UTF-8 +SaWMan to nowy moduł zarządcy okien dla DirectFB. Główną różnicą w +stosunku do domyślnego modułu jest to, że pozwala jednemu procesowi +być aplikacją i zarządcą okien, implementując wszystkie urozmaicenia, +podczas gdy SaWMan jest tylko silnikiem. + +%package devel +Summary: Header files for sawman library +Summary(pl.UTF-8): Pliki nagłówkowe biblioteki sawman +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: DirectFB-devel >= 1:1.0.0 + +%description devel +Header files for sawman library. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe biblioteki sawman. + +%package static +Summary: Static sawman library +Summary(pl.UTF-8): Statyczna biblioteka sawman +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static sawman library. + +%description static -l pl.UTF-8 +Statyczna biblioteka sawman. + +%prep +%setup -q + +%build +%configure \ + --enable-static +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS README +%attr(755,root,root) %{_libdir}/libsawman-*.so.*.*.* +%attr(755,root,root) %{_libdir}/directfb-*/wm/libdirectfbwm_sawman.so + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libsawman.so +%{_libdir}/libsawman.la +%{_includedir}/sawman +%{_pkgconfigdir}/sawman.pc + +%files static +%defattr(644,root,root,755) +%{_libdir}/libsawman.a +%{_libdir}/directfb-*/wm/libdirectfbwm_sawman.[aol]* -- 2.44.0