SPECS: yasm.spec - libyasm split, revised BRs

qboosh qboosh at pld-linux.org
Mon Oct 24 21:30:12 CEST 2005


Author: qboosh                       Date: Mon Oct 24 19:30:12 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- libyasm split, revised BRs

---- Files affected:
SPECS:
   yasm.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/yasm.spec
diff -u SPECS/yasm.spec:1.2 SPECS/yasm.spec:1.3
--- SPECS/yasm.spec:1.2	Tue Nov 30 21:59:02 2004
+++ SPECS/yasm.spec	Mon Oct 24 21:29:59 2005
@@ -1,9 +1,4 @@
 # $Revision$, $Date$
-#
-# TODO:
-# - proper split to subpackages
-# - check BR
-#
 Summary:	The YASM Modular Assembler
 Summary(pl):	Modularny assembler YASM
 Name:		yasm
@@ -11,12 +6,13 @@
 Release:	0.1
 License:	distributable (BSD, GPL, LGPL, Artistic; see COPYING)
 Group:		Development/Tools
-Source0:	http://www.tortall.net/projects/yasm/releases/yasm-0.4.0.tar.gz
+Source0:	http://www.tortall.net/projects/yasm/releases/%{name}-%{version}.tar.gz
 # Source0-md5:	2360e20c4e105ba95f4e9135a7901183
 URL:		http://www.tortall.net/projects/yasm/
-BuildRequires:	bison
-BuildRequires:	libltdl
-BuildRequires:	libtool
+BuildRequires:	bison >= 1.25
+# convenience is used in frontend
+#BuildRequires:	libltdl-devel
+BuildRequires:	xmlto
 Requires:	libyasm = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -48,6 +44,30 @@
 %description -n libyasm -l pl
 YASM - biblioteka libyasm.
 
+%package -n libyasm-devel
+Summary:	Header files for libyasm library
+Summary(pl):	Pliki nagłówkowe biblioteki libyasm
+Group:		Development/Libraries
+Requires:	libyasm = %{version}-%{release}
+
+%description -n libyasm-devel
+Header files for libyasm library.
+
+%description -n libyasm-devel -l pl
+Pliki nagłówkowe biblioteki libyasm.
+
+%package -n libyasm-static
+Summary:	Static libyasm library
+Summary(pl):	Statyczna biblioteka libyasm
+Group:		Development/Libraries
+Requires:	libyasm-devel = %{version}-%{release}
+
+%description -n libyasm-static
+Static libyasm library.
+
+%description -n libyasm-static -l pl
+Statyczna biblioteka libyasm.
+
 %prep
 %setup -q
 
@@ -62,6 +82,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/yasm/*.{la,a}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -70,20 +92,26 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog COPYING
+%doc AUTHORS BSD.txt COPYING
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/yasm
 %attr(755,root,root) %{_libdir}/yasm/*.so
-%{_mandir}/man?/*
+%{_mandir}/man[17]/*
 
-#%files devel
-%{_includedir}/*
+%files -n libyasm
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libyasm.so.*.*.*
 
-#%files static
+%files -n libyasm-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libyasm.so
+%{_libdir}/libyasm.la
+%{_includedir}/libyasm.h
+%{_includedir}/libyasm
 
-%files -n libyasm
+%files -n libyasm-static
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%{_libdir}/libyasm.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -91,6 +119,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/10/24 19:29:59  qboosh
+- libyasm split, revised BRs
+
 Revision 1.2  2004/11/30 20:59:02  qboosh
 - pl, some cleanups
 
================================================================

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




More information about the pld-cvs-commit mailing list