SPECS: nxc.spec - build - devel subpackage - extended files section

spider spider at pld-linux.org
Mon May 8 11:15:27 CEST 2006


Author: spider                       Date: Mon May  8 09:15:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build
- devel subpackage
- extended files section

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

---- Diffs:

================================================================
Index: SPECS/nxc.spec
diff -u SPECS/nxc.spec:1.1 SPECS/nxc.spec:1.2
--- SPECS/nxc.spec:1.1	Sat May  6 21:25:42 2006
+++ SPECS/nxc.spec	Mon May  8 11:15:22 2006
@@ -1,14 +1,16 @@
 # $Revision$, $Date$
 # TODO:
 # - fixme
-# - -devel subpackage
+# - missing url (propably don't exist)
+# - extendet summary and desc
+# - pl
 Summary:	nxc
 Name:		nxc
 Version:	0.1.1
 Release:	1
 License:	GPL
 Group:		Applications/Networking
-Source0:	http://vm.gwright.org.uk/nxc-0.1.1.tar.bz2
+Source0:	http://vm.gwright.org.uk/%{name}-%{version}.tar.bz2
 # Source0-md5:	1688999d3d3a4fc01593214c0bcc9ea0
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -18,6 +20,19 @@
 %description
 nxc
 
+%package devel
+Summary:	Header files for nxc
+Summary(pl):	Pliki nagłówkowe nxc
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel
+
+%description devel
+Header files for nxc.
+
+%description devel -l pl
+Pliki nagłówkowe nxc.
+
 %prep
 %setup -q
 
@@ -27,7 +42,8 @@
 
 %configure \
 	--enable-new-ldflags \
-	--enable-final
+	--enable-final \
+	--disable-debug \
 %if "%{_lib}" == "lib64"
 	--enable-libsuffix=64 \
 %endif
@@ -45,8 +61,18 @@
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/*.so.*.*.*
+%{_prefix}/NX/share/client.id_dsa.key
+#where put that ? ^^^^^^^^^^^^^^^^^^^
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/*.la
+%{_includedir}/nxc/*.h
+
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +80,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/05/08 09:15:22  spider
+- build
+- devel subpackage
+- extended files section
+
 Revision 1.1  2006/05/06 19:25:42  arekm
 - raw
 
================================================================

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



More information about the pld-cvs-commit mailing list