Author: qboosh Date: Sat Jun 11 09:53:04 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - really disable allegro by default (broken, doesn't build) - standard base/-devel/-static split - license is standard 3-clause BSD
---- Files affected: SPECS: guichan.spec (1.3 -> 1.4) ---- Diffs: ================================================================ Index: SPECS/guichan.spec diff -u SPECS/guichan.spec:1.3 SPECS/guichan.spec:1.4 --- SPECS/guichan.spec:1.3 Sat Jun 11 10:29:08 2005 +++ SPECS/guichan.spec Sat Jun 11 11:52:59 2005 @@ -1,14 +1,14 @@ # $Revision$, $Date$ # # Conditional build: -%bcond_with allegro # with allegro +%bcond_with allegro # with allegro support (doesn't build) # Summary: Guichan - small, efficient C++ GUI library designed for games Summary(pl): Guichan - mała, wydajna biblioteka GUI w C++ przeznaczona do gier Name: guichan Version: 0.4.0 Release: 0.1 -License: see COPYING +License: BSD Group: Libraries Source0: http://dl.sourceforge.net/guichan/%{name}-%{version}-src.tar.gz # Source0-md5: f68b6c603c4fb3d70a8737f916214a35 @@ -16,7 +16,8 @@ BuildRequires: OpenGL-devel BuildRequires: SDL_image-devel BuildRequires: SDL-devel -%{?with_allegro:BuildRequires: allegro} +%{?with_allegro:BuildRequires: allegro-devel} +BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -29,11 +30,37 @@ Zawiera standardowy zestaw widgetów i może używać kilku różnych obiektów do wyświetlania grafiki i pobierania wejścia od użytkownika. +%package devel +Summary: Header files for Guichan library +Summary(pl): Pliki nagłówkowe biblioteki Guichan +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: libstdc++-devel + +%description devel +Header files for Guichan library. + +%description devel -l pl +Pliki nagłówkowe biblioteki Guichan. + +%package static +Summary: Static version of Guichan libraries +Summary(pl): Statyczne wersje bibliotek Guichan +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static version of Guichan libraries. + +%description static -l pl +Statyczne wersje bibliotek Guichan. + %prep %setup -q %build -%configure +%configure \ + %{!?with_allegro:--disable-allegro} %{__make} \ CFLAGS="%{rpmcflags}" @@ -51,9 +78,18 @@ %files %defattr(644,root,root,755) -%doc COPYING AUTHORS ChangeLog README TODO NEWS -%attr(755,root,root) %{_libdir}/* -%{_includedir}/* +%doc AUTHORS COPYING ChangeLog NEWS README TODO +%attr(755,root,root) %{_libdir}/libguichan*.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libguichan*.so +%{_libdir}/libguichan*.la +%{_includedir}/guichan* + +%files static +%defattr(644,root,root,755) +%{_libdir}/libguichan*.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -61,6 +97,11 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.4 2005/06/11 09:52:59 qboosh +- really disable allegro by default (broken, doesn't build) +- standard base/-devel/-static split +- license is standard 3-clause BSD + Revision 1.3 2005/06/11 08:29:08 qboosh - BR: OpenGL-devel instead of X11- implementation - pl ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/guichan.spec?r1=1.3&r2=1.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
