summaryrefslogtreecommitdiff
path: root/libwbxml.spec
diff options
context:
space:
mode:
authortiwek2005-02-25 10:17:45 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit1e36ea9312fcb8fabc74228f2642d0ab8b31bffe (patch)
tree04e7e89770a8a408f16eaff52f1f1b7934e5b3a9 /libwbxml.spec
downloadlibwbxml-1e36ea9312fcb8fabc74228f2642d0ab8b31bffe.zip
libwbxml-1e36ea9312fcb8fabc74228f2642d0ab8b31bffe.tar.gz
- initial release
Changed files: libwbxml.spec -> 1.1
Diffstat (limited to 'libwbxml.spec')
-rw-r--r--libwbxml.spec88
1 files changed, 88 insertions, 0 deletions
diff --git a/libwbxml.spec b/libwbxml.spec
new file mode 100644
index 0000000..959580f
--- /dev/null
+++ b/libwbxml.spec
@@ -0,0 +1,88 @@
+Summary: WBXML2 Library
+Summary(pl): Biblioteka WBXML2
+Name: wbxml2
+Version: 0.9.0
+Release: 1
+Epoch: 0
+License: GPL
+Group: Libraries
+Source0: http://dl.sourceforge.net/wbxmllib/%{name}-%{version}-src.tar.gz
+# Source0-md5: 3f9b5bf104ec523b8eebe69f93919ded
+Patch0: http://www.multisync.org/files/%{name}-0.9.0.patch
+URL: http://libwbxml.aymerick.com/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The WBXML2 format is a binary representation of XML, defined by the Wap
+Forum, and used to reduce bandwidth in mobile communications.
+
+%description -l pl
+Format WBXML2 jest binarną reprezentacją XML, zdefiniowaną przez Wap Forum.
+
+%package devel
+Summary: Header files for WBXML2 library
+Summary(pl): Pliki nagłówkowe biblioteki WBXML
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for WBXML2 library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki WBXML2.
+
+%package static
+Summary: Static WBXML2 library
+Summary(pl): Statyczna biblioteka WBXML2
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static WBXML2 library.
+
+%description static -l pl
+Statyczna biblioteka WBXML2.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+# %{_datadir}/%{name}
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a