dtardon pushed to librvngabw (master). "import package"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 25 07:46:31 UTC 2015


From c99b6ac800859cb6c4059d72683530246e31c4a2 Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon at redhat.com>
Date: Mon, 25 May 2015 09:43:47 +0200
Subject: import package


diff --git a/.gitignore b/.gitignore
index e69de29..0e0ed3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/librvngabw-0.0.0.tar.xz
diff --git a/librvngabw.spec b/librvngabw.spec
new file mode 100644
index 0000000..8931c10
--- /dev/null
+++ b/librvngabw.spec
@@ -0,0 +1,74 @@
+%global apiversion 0.0
+
+Name: librvngabw
+Version: 0.0.0
+Release: 2%{?dist}
+Summary: An AbiWord document generator library
+
+License: LGPLv2+ or MPLv2.0
+URL: https://sourceforge.net/projects/librvngabw/
+Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
+
+BuildRequires: boost-devel
+BuildRequires: doxygen
+BuildRequires: pkgconfig(librevenge-0.0)
+
+%description
+%{name} is a library for generating AbiWord documents. It is directly
+pluggable into import filters based on librevenge.
+
+%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}.
+
+%package doc
+Summary: Documentation of %{name} API
+BuildArch: noarch
+
+%description doc
+The %{name}-doc package contains documentation files for %{name}.
+
+%prep
+%setup -q
+
+%build
+%configure --disable-silent-rules --disable-static --disable-werror
+sed -i \
+    -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+    -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
+    libtool
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} INSTALL='install -p'
+rm -f %{buildroot}/%{_libdir}/*.la
+# we install API docs directly from build
+rm -rf %{buildroot}/%{_docdir}/%{name}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%doc COPYING.LGPL COPYING.MPL README NEWS
+%{_libdir}/%{name}-%{apiversion}.so.*
+
+%files devel
+%doc ChangeLog
+%{_includedir}/%{name}-%{apiversion}
+%{_libdir}/%{name}-%{apiversion}.so
+%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
+
+%files doc
+%license COPYING.LGPL COPYING.MPL
+%doc docs/doxygen/html
+
+%changelog
+* Sat May 23 2015 David Tardon <dtardon at redhat.com> - 0.0.0-2
+- use %%license to install licenses
+
+* Fri May 15 2015 David Tardon <dtardon at redhat.com> - 0.0.0-1
+- initial import
diff --git a/sources b/sources
index e69de29..c0f58b1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bd2390d96a6818cf7191500da1f6db17  librvngabw-0.0.0.tar.xz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/librvngabw.git/commit/?h=master&id=c99b6ac800859cb6c4059d72683530246e31c4a2


More information about the scm-commits mailing list