]> git.pld-linux.org Git - packages/libbinio.git/commitdiff
- new
authortwittner <twittner@pld-linux.org>
Mon, 14 Feb 2005 19:44:08 +0000 (19:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libbinio.spec -> 1.1

libbinio.spec [new file with mode: 0644]

diff --git a/libbinio.spec b/libbinio.spec
new file mode 100644 (file)
index 0000000..4f283e2
--- /dev/null
@@ -0,0 +1,97 @@
+Summary:       Binary I/O stream class library
+Summary(pl):   Biblioteka klas C++ dla strumieniowych binarnych operacji I/O
+Name:          libbinio
+Version:       1.3
+Release:       0.1
+License:       GPL/LGPL
+Group:         Libraries
+Source0:       http://mesh.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: dea7bd4c2d9d9f5429082448af2aab22
+Patch0:        %{name}-infopage.patch
+URL:           http://libbinio.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+BuildRequires: libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The binary I/O stream class library presents a platform-independent
+way to access binary data streams in C++.
+The library is hardware independent in the form that it transparently
+converts between the different forms of machine-internal binary data
+representation.
+It further employs no special I/O protocol and can be used on
+arbitrary binary data sources.
+
+#%%description -l pl
+
+%package devel
+Summary:       Header files for libbinio library
+Summary(pl):   Pliki nag³ówkowe biblioteki libbinio
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for libbinio library.
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki libbinio.
+
+%package static
+Summary:       Static libbinio library
+Summary(pl):   Statyczna biblioteka libbinio
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static libbinio library.
+
+%description static -l pl
+Statyczna biblioteka libbinio.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%post devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun devel
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*
+%{_infodir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.062037 seconds and 4 git commands to generate.