SPECS: sofa.spec - package files properly

aredridel aredridel at pld-linux.org
Sun Jun 10 18:43:56 CEST 2007


Author: aredridel                    Date: Sun Jun 10 16:43:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package files properly

---- Files affected:
SPECS:
   sofa.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/sofa.spec
diff -u SPECS/sofa.spec:1.1 SPECS/sofa.spec:1.2
--- SPECS/sofa.spec:1.1	Sat Jun  9 19:55:39 2007
+++ SPECS/sofa.spec	Sun Jun 10 18:43:51 2007
@@ -8,17 +8,17 @@
 Group:		Applications
 Source0:	http://dl.sourceforge.net/sofa/%{name}-%{version}.tar.gz
 # Source0-md5:	6f6361a356359628f3c103842a0afc05
-Patch0:	%{name}-as-needed.patch
+Patch0:		%{name}-as-needed.patch
 URL:		http://sofa.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	libtool
+BuildRequires:	clutter-cairo-devel
 BuildRequires:	clutter-devel
 BuildRequires:	clutter-gst-devel
 BuildRequires:	clutter-gtk-devel
-BuildRequires:	clutter-cairo-devel
-BuildRequires:	gstreamer-plugins-base-devel
 BuildRequires:	gstreamer-devel
+BuildRequires:	gstreamer-plugins-base-devel
+BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,6 +29,33 @@
 
 The software integrates with Gnome to get user's settings and content.
 
+%package devel
+Summary:	Header files for sofa library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki sofa
+Group:		Development/Libraries
+# if base package contains shared library for which these headers are
+#Requires:	%{name} = %{version}-%{release}
+# if -libs package contains shared library for which these headers are
+#Requires:	%{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for sofa library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki sofa.
+
+%package static
+Summary:	Static sofa library
+Summary(pl.UTF-8):	Statyczna biblioteka sofa
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static sofa library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka sofa.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -58,7 +85,21 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%doc AUTHORS ChangeLog NEWS README THANKS
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/libsofa.so.0.0.0
+%dir %{_libdir}/sofa/modules/
+%attr(755,root,root) %{_libdir}/sofa/modules/*.so.*.*.*
+%attr(755,root,root) %{_libdir}/sofa/modules/*.so.*
+%attr(755,root,root) %{_libdir}/sofa/modules/*.so
+%attr(755,root,root) %{_libdir}/sofa/modules/*.la
+
+%files devel
+%{_libdir}/libsofa.so
+%{_libdir}/libsofa.la
+
+%files static
+%{_libdir}/libsofa.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -66,6 +107,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/06/10 16:43:51  aredridel
+- package files properly
+
 Revision 1.1  2007/06/09 17:55:39  aredridel
 - added
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sofa.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list