Author: qboosh Date: Fri Mar 4 23:53:56 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - new, somehow problematic...
---- Files affected: SPECS: ++DFB.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/++DFB.spec diff -u /dev/null SPECS/++DFB.spec:1.1 --- /dev/null Sat Mar 5 00:53:56 2005 +++ SPECS/++DFB.spec Sat Mar 5 00:53:50 2005 @@ -0,0 +1,125 @@ +# $Revision$, $Date$ +Summary: Advanced version of C++ binding for DirectFB +Summary(pl): Zaawansowana wersja interfejsu C++ do DirectFB +Name: ++DFB +Version: 0.9.22 +Release: 1 +License: LGPL v2+ +Group: Libraries +Source0: http://www.directfb.org/download/DirectFB-extra/%{name}-%{version}.tar.gz +# Source0-md5: f4b777751fac4b00e36a684cc0950e01 +URL: http://www.directfb.org/index.php?path=Development/Projects/++DFB +BuildRequires: DirectFB-devel >= 1:%{version} +BuildRequires: autoconf >= 2.52 +BuildRequires: automake +BuildRequires: libstdc++-devel +BuildRequires: libtool >= 2:1.5 +BuildRequires: pkgconfig +Provides: __DFB = %{version}-%{release} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +++DFB is an advanced version of DFB++. It's an incompatible fork +with fundamental changes. + +Applications no longer deal with interface pointers. The classes +wrapping around interfaces are used as container for an interface +pointer, providing garbage collection the "direct" way 8-) + +%description -l pl +++DFB to zaawansowana wersja DFB++. Jest to niekompatybilne +odgałęzienie z zasadniczymi zmianami. + +Aplikacje nie zajmują się już wskaźnikami do interfejsów. Klasy +obudowujące interfejsy są używane jako kontenery dla wskaźnika na +interfejs, udstępniając odśmiecanie w "bezpośredni" sposób. + +%package devel +Summary: ++DFB header files +Summary(pl): Pliki nagłówkowe ++DFB +Group: Development/Libraries +# rpm can't stand cap beginning with '+' +#Requires: %{name} = %{version}-%{release} +Requires: __DFB = %{version}-%{release} +Requires: DirectFB-devel >= 1:%{version} +Requires: libstdc++-devel +Provides: __DFB-devel = %{version}-%{release} + +%description devel +Header files for ++DFB library. + +%description devel -l pl +Pliki nagłówkowe biblioteki ++DFB. + +%package static +Summary: ++DFB static library +Summary(pl): Statyczna biblioteka ++DFB +Group: Development/Libraries +# rpm can't stand cap beginning with '+' +#Requires: %{name}-devel = %{version}-%{release} +Requires: __DFB-devel = %{version}-%{release} + +%description static +++DFB static library. + +%description static -l pl +Statyczna biblioteka ++DFB. + +%prep +%setup -q + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --enable-static +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +install examples/simple.cpp $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS README +# !needed conflict with DFB++ +#%attr(755,root,root) %{_bindir}/dfbshow +#%attr(755,root,root) %{_bindir}/dfbswitch +%attr(755,root,root) %{_libdir}/lib++dfb-*.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/++dfb-config +%attr(755,root,root) %{_libdir}/lib++dfb.so +%{_libdir}/lib++dfb.la +%{_includedir}/++dfb +%{_pkgconfigdir}/*.pc +%{_examplesdir}/%{name}-%{version} + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib++dfb.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/03/04 23:53:50 qboosh +- new, somehow problematic... + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
