libasyncio: (tomj) recovered spec file from srpm, obsolete libsimpleio packages,...
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 23 Oct 2008 08:19:26 +0000 (08:19 +0000)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Thu, 23 Oct 2008 08:19:26 +0000 (08:19 +0000)
configure.in
libasyncio.kdevelop [moved from libsimpleio.kdevelop with 92% similarity]
libasyncio.spec [new file with mode: 0644]
libsimpleio.spec [deleted file]

index b193eb7..05df122 100644 (file)
@@ -1,7 +1,7 @@
 AC_INIT(configure.in)
 
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libasyncio, 0.1)
+AM_INIT_AUTOMAKE(libasyncio, 0.2)
 
 LIBASYNCIO_LIB_VERSION=0:0:0
 
similarity index 92%
rename from libsimpleio.kdevelop
rename to libasyncio.kdevelop
index ddfdb81..c028fac 100644 (file)
     </keywords>
     <versioncontrol>kdevsubversion</versioncontrol>
     <ignoreparts/>
-    <projectname>libsimpleio</projectname>
+    <projectname>libasyncio</projectname>
   </general>
   <kdevautoproject>
     <general>
-      <activetarget>simpleio/libsimpleio.la</activetarget>
+      <activetarget>asyncio/libasyncio.la</activetarget>
     </general>
     <run>
       <runarguments>
@@ -26,7 +26,7 @@
         <testconnd/>
       </debugarguments>
       <cwd>
-        <testconnd>/home/reinhard/source/source/libsimpleio/./</testconnd>
+        <testconnd>/home/reinhard/source/source/libasyncio/./</testconnd>
       </cwd>
     </run>
     <configurations>
   <kdevdocumentation>
     <projectdoc>
       <docsystem>Doxygen Documentation Collection</docsystem>
-      <docurl>libsimpleio.tag</docurl>
+      <docurl>libasyncio.tag</docurl>
     </projectdoc>
   </kdevdocumentation>
   <substmap>
-    <APPNAME>libsimpleio</APPNAME>
-    <APPNAMELC>libsimpleio</APPNAMELC>
-    <APPNAMESC>Libsimpleio</APPNAMESC>
-    <APPNAMEUC>LIBSIMPLEIO</APPNAMEUC>
+    <APPNAME>libasyncio</APPNAME>
+    <APPNAMELC>libasyncio</APPNAMELC>
+    <APPNAMESC>Libasyncio</APPNAMESC>
+    <APPNAMEUC>LIBASYNCIO</APPNAMEUC>
     <AUTHOR>Reinhard Pfau</AUTHOR>
     <EMAIL>reinhard.pfau@intra2net.com</EMAIL>
     <LICENSE>Custom</LICENSE>
     <VERSION>0.1</VERSION>
     <YEAR>2008</YEAR>
-    <dest>/home/reinhard/source/source/libsimpleio</dest>
+    <dest>/home/reinhard/source/source/libasyncio</dest>
   </substmap>
   <kdevcppsupport>
     <qt>
diff --git a/libasyncio.spec b/libasyncio.spec
new file mode 100644 (file)
index 0000000..92d6d75
--- /dev/null
@@ -0,0 +1,129 @@
+Summary:   library with asynchronous io functionality
+Name:      libasyncio
+Version:   0.2
+Release:   1
+License:   LGPL
+Group:     Intranator
+Vendor:    Intra2net AG
+Source:    %{name}-%{version}.tar.gz
+Buildroot: /tmp/%{name}-%{version}-root
+Prefix:    /usr
+Requires:  libi2ncommon >= 1.0
+Requires:   boost >= 1.32.0
+BuildPrereq: libtool
+BuildRequires: boost-devel >= 1.32.0
+Obsoletes: libsimpleio
+
+%description 
+library with asynchronous io functionality
+
+
+%package   devel
+Summary:   library with asynchronous io functionality
+Group:     Intranator/Development
+Requires:  libi2ncommon-devel
+Requires:  boost-devel >= 1.32.0
+Obsoletes: libsimpleio-devel
+
+
+%description devel
+development files for library with asynchronous io functionality
+
+
+%package utils
+Summary:   library with asynchronous io functionality
+Group:     Intranator
+Requires: boost >= 1.32.0
+
+%description utils
+A collection of util function and classes used within asyncio, but
+are also usable for other purposes, too.
+
+
+%package utils-devel
+Summary:   library with asynchronous io functionality
+Group:     Intranator/Development
+Requires: boost-devel >= 1.32.0
+
+%description utils-devel
+development files for asyncio utils.
+
+
+%package t2n
+Summary:    glue library for using t2n with libasyncio
+Group:      Intranator
+BuildRequires: libt2n-devel >= 0.4
+Requires:   libt2n >= 0.4
+Obsoletes:  libsimpleio-t2n
+
+%description t2n
+glue lib for using t2n with simpleio.
+
+
+%package t2n-devel
+Summary:    glue library for using t2n with libasyncio
+Group:      Intranator/Development
+Requires:   libt2n-devel >= 0.4
+
+%description t2n-devel
+development files for glue lib for using t2n with simpleio.
+
+
+
+%prep
+%setup -q
+
+%build
+export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/intranator/lib/pkgconfig
+autoreconf --force -i
+./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
+dmake
+
+for dir in utils asyncio; do
+    make -C $dir headerlist
+done
+
+dmake check
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+
+%clean
+rm -fr $RPM_BUILD_ROOT
+
+%post
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root)
+%doc LICENSE
+%{prefix}/lib/libasyncio.so*
+
+%files devel -f headerlist.asyncio
+%defattr(-,root,root)
+%{prefix}/lib/libasyncio.*a*
+%{prefix}/lib/pkgconfig/libasyncio.pc
+
+
+%files utils
+%defattr(-,root,root)
+%{prefix}/lib/libasyncio_utils.so*
+
+
+%files utils-devel -f headerlist.utils
+%defattr(-,root,root)
+%{prefix}/lib/libasyncio.*a*
+%{prefix}/lib/pkgconfig/libasyncio_utils.pc
+
+
+%files t2n
+%defattr(-,root,root)
+%doc LICENSE
+%{prefix}/lib/libasyncio_t2n.so*
+
+%files t2n-devel
+%defattr(-,root,root)
+%{prefix}/lib/libasyncio_t2n.*a*
+%{prefix}/lib/pkgconfig/libasyncio_t2n.pc
+%{prefix}/include/asyncio_t2n*.hpp
+
diff --git a/libsimpleio.spec b/libsimpleio.spec
deleted file mode 100644 (file)
index 0ef4d8f..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-Summary:   library with asynchronous io functionality for Intra2net programs
-Name:      libsimpleio
-Version:   ##VERSION##
-Release:   1
-License:   Intranator License
-Group:     Intranator
-Vendor:    Intra2net AG
-Source:    %{name}-%{version}.tar.gz
-Buildroot: /tmp/%{name}-%{version}-root
-Prefix:    /usr/intranator
-Requires:  libi2ncommon >= 1.0
-Requires:   boost >= 1.32.0
-BuildPrereq: libtool
-BuildRequires: boost-devel >= 1.32.0
-BuildRequires: libt2n-devel >= 0.4
-
-
-%description 
-library with asynchronous io functionality for Intra2net programs.
-
-
-%package   devel
-Summary:   library with asynchronous io functionality for Intra2net programs
-Group:     Intranator/Development
-Requires:  libi2ncommon-devel
-Requires: boost-devel >= 1.32.0
-
-
-%description devel
-development files for library with asynchronous io functionality for Intra2net programs
-
-
-%package t2n
-Summary:    glue library for using t2n with libsimpleio
-Group:      Intranator
-Requires:   libt2n >= 0.4
-
-%description t2n
-glue lib for using t2n with simpleio.
-
-
-%package t2n-devel
-Summary:    glue library for using t2n with libsimpleio
-Group:      Intranator/Development
-Requires:   libt2n-devel >= 0.4
-
-%description t2n-devel
-development files for glue lib for using t2n with simpleio.
-
-
-
-%prep
-%setup -q
-
-%build
-export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/intranator/lib/pkgconfig
-autoreconf --force -i
-./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
-dmake
-
-dmake check
-
-%install
-make DESTDIR=$RPM_BUILD_ROOT install
-
-%clean
-rm -fr $RPM_BUILD_ROOT
-
-%post
-/sbin/ldconfig
-
-%files
-%defattr(-,root,root)
-%doc LICENSE
-%{prefix}/lib/libsimpleio.so*
-
-%files devel
-%defattr(-,root,root)
-%{prefix}/lib/libsimpleio.*a*
-%{prefix}/lib/pkgconfig/libsimpleio.pc
-%{prefix}/include/simpleio.hpp
-%{prefix}/include/simple[a-hj-z]*.hpp
-
-%files t2n
-%defattr(-,root,root)
-%doc LICENSE
-%{prefix}/lib/libsimpleio_t2n.so*
-
-%files t2n-devel
-%defattr(-,root,root)
-%{prefix}/lib/libsimpleio_t2n.*a*
-%{prefix}/lib/pkgconfig/libsimpleio_t2n.pc
-%{prefix}/include/simpleio_t2n*.hpp
-