[lfcxml/f18] Initial setup.

Christopher Meng cicku at fedoraproject.org
Wed May 22 23:54:12 UTC 2013


commit b0bfa3e7bede767c866d8728f4dae517142bd74f
Author: Christopher Meng <rpm at cicku.me>
Date:   Thu May 23 07:53:30 2013 +0800

    Initial setup.

 .gitignore  |    1 +
 lfcxml.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2bd229b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lfcxml-1.1.3.tar.gz
diff --git a/lfcxml.spec b/lfcxml.spec
new file mode 100644
index 0000000..efa06e3
--- /dev/null
+++ b/lfcxml.spec
@@ -0,0 +1,67 @@
+%global _hardened_build 1
+
+Name:              lfcxml
+Version:           1.1.3
+Release:           2%{?dist}
+Summary:           Lemke Foundation Classes XML extension
+License:           GPLv3+
+URL:               http://www.lemke-it.com/litexec?request=publfcxml&user=&lang=en
+Source0:           http://www.lemke-it.com/%{name}-%{version}.tar.gz
+BuildRequires:     lfcbase-devel%{?_isa}
+
+%description
+This C++ library provides an API for XML document handling. Similar to the 
+JDOM Java interface, a XML document can be parsed, traced and generated by 
+the provided methods.
+
+%package           devel
+Summary:	   Development files for %{name}
+Requires:	   %{name}%{?_isa} = %{version}-%{release}
+
+%description	   devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+%prep
+%setup -q
+%configure --disable-static
+sed -i -e 's/ -shared / -Wl,--as-needed\0/g' libtool
+
+%build
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%check
+make check
+
+%files
+%doc AUTHORS COPYING NEWS README
+%{_libdir}/*.so.*
+
+%files devel
+%doc samples/*.{cc,xml}
+%{_includedir}/%{name}/
+%{_libdir}/*.so
+
+%changelog
+* Tue May 21 2013 Christopher Meng <rpm at cicku.me> - 1.1.3-2
+- Fix the license problem.
+
+* Sat May 18 2013 Christopher Meng <rpm at cicku.me> - 1.1.3-1
+- New release.
+
+* Fri May 17 2013 Christopher Meng <rpm at cicku.me> - 1.1.2-1
+- New release.
+
+* Tue May 14 2013 Christopher Meng <rpm at cicku.me> - 1.1.1-1
+- New release.
+
+* Mon May 06 2013 Christopher Meng <rpm at cicku.me> - 1.0.27-1
+- Initial Package.
diff --git a/sources b/sources
index e69de29..f1a5c2f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+31ef83c12fae0d73b8d448b130088add  lfcxml-1.1.3.tar.gz


More information about the scm-commits mailing list