SPECS: quesoglc.spec - added -static - pl cosmetics and packaging...
qboosh
qboosh at pld-linux.org
Tue Apr 24 19:35:48 CEST 2007
Author: qboosh Date: Tue Apr 24 17:35:48 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added -static
- pl cosmetics and packaging fixes
---- Files affected:
SPECS:
quesoglc.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/quesoglc.spec
diff -u SPECS/quesoglc.spec:1.1 SPECS/quesoglc.spec:1.2
--- SPECS/quesoglc.spec:1.1 Mon Apr 23 17:54:46 2007
+++ SPECS/quesoglc.spec Tue Apr 24 19:35:43 2007
@@ -1,11 +1,6 @@
# $Revision$, $Date$
-# TODO:
-# - static package?
-#
-# Conditional build:
-#
-Summary: QuesoGLC is a free (as in free speech) implementation of the OpenGL Character Renderer (GLC)
-Summary(pl.UTF-8): QuesoGLC to wolna implementacja "OpenGL Character Renderer" (GLC)
+Summary: QuesoGLC - free implementation of the OpenGL Character Renderer (GLC)
+Summary(pl.UTF-8): QuesoGLC - wolnodostępna implementacja "OpenGL Character Renderer" (GLC)
Name: quesoglc
Version: 0.6.0
Release: 1
@@ -27,22 +22,34 @@
platform that supports both FreeType and the OpenGL API.
%description -l pl.UTF-8
-QuesoGLC to wolna implementacja "OpenGL Character Renderer" (GLC).
-QuesoGLC bazuje na bibliotece FreeType. Oferuje wsparcie dla Unikodu i
-zbudowany jest po to aby był łatwo przenoszony na dowolną
-platformę, która wspiera FreeType i API OpenGL.
+QuesoGLC to wolnodostępna implementacja "OpenGL Character Renderer"
+(GLC). Jest oparta na bibliotece FreeType, zapewnia obsługę Unikodu i
+jest zaprojektowana jako przenośna na dowolną platformę obsługującą
+FreeType i API OpenGL.
%package devel
Summary: Header files QuesoGLC library
-Summary(pl.UTF-8):Pliki nagłówkowe biblioteki QuesoGLC
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki QuesoGLC
Group: Development/Libraries
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name} = %{version}-%{release}
%description devel
This package includes the header files for QuesoGLC library.
%description devel -l pl.UTF-8
-Ta paczka zawiera pliki nagłówkowe biblioteki QuesoGLC.
+Ten pakiet zawiera pliki nagłówkowe biblioteki QuesoGLC.
+
+%package static
+Summary: Static QuesoGLC library
+Summary(pl.UTF-8): Statyczna biblioteka QuesoGLC
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static QuesoGLC library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka QuesoGLC.
%prep
%setup -q
@@ -54,18 +61,15 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/libGLC.a
-
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc AUTHORS Changelog README THANKS
@@ -73,16 +77,24 @@
%files devel
%defattr(644,root,root,755)
-%{_includedir}/GL/*.h
+%attr(755,root,root) %{_libdir}/libGLC*.so
%{_libdir}/libGLC*.la
+%{_includedir}/GL/*.h
-%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libGLC*.a
+%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.2 2007/04/24 17:35:43 qboosh
+
+- added -static
+- pl cosmetics and packaging fixes
+
Revision 1.1 2007/04/23 15:54:46 blekot
- init
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/quesoglc.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list