[qtbrowserplugin] Initial import

Orion Poplawski orion at fedoraproject.org
Fri Sep 6 16:28:13 UTC 2013


commit f022efff8a2acce966b1263d3bdf0cc37f8b95e7
Author: Orion Poplawski <orion at nwra.com>
Date:   Fri Sep 6 10:28:03 2013 -0600

    Initial import

 .gitignore                |    1 +
 qtbrowserplugin-lib.patch |   17 ++++++++++++
 qtbrowserplugin.spec      |   60 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 4 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..439c6f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qtbrowserplugin-2.4-80592b0e7145fb876ea0e84a6e3dadfd5f7481b6.tar.gz
diff --git a/qtbrowserplugin-lib.patch b/qtbrowserplugin-lib.patch
new file mode 100644
index 0000000..c6ce435
--- /dev/null
+++ b/qtbrowserplugin-lib.patch
@@ -0,0 +1,17 @@
+diff -up qtbrowserplugin-2.4/qtbrowserplugin.pro.lib qtbrowserplugin-2.4/qtbrowserplugin.pro
+--- qtbrowserplugin-2.4/qtbrowserplugin.pro.lib	2013-09-05 11:38:17.000000000 -0600
++++ qtbrowserplugin-2.4/qtbrowserplugin.pro	2013-09-05 12:22:53.753281717 -0600
+@@ -1,2 +1,3 @@
+ TEMPLATE=subdirs
+ SUBDIRS=examples
++include(src/qtbrowserplugin.pri)
+diff -up qtbrowserplugin-2.4/src/qtbrowserplugin.pri.lib qtbrowserplugin-2.4/src/qtbrowserplugin.pri
+--- qtbrowserplugin-2.4/src/qtbrowserplugin.pri.lib	2013-09-05 11:38:17.000000000 -0600
++++ qtbrowserplugin-2.4/src/qtbrowserplugin.pri	2013-09-05 13:41:07.043754608 -0600
+@@ -1,5 +1,5 @@
+ TEMPLATE = lib
+-CONFIG  += dll
++CONFIG  += staticlib
+ win32 {
+   # Uncomment the following line to build a plugin that can be used also in 
+   # Internet Explorer, through ActiveX.
diff --git a/qtbrowserplugin.spec b/qtbrowserplugin.spec
new file mode 100644
index 0000000..559a2cb
--- /dev/null
+++ b/qtbrowserplugin.spec
@@ -0,0 +1,60 @@
+%global commit 80592b0e7145fb876ea0e84a6e3dadfd5f7481b6
+
+Name:           qtbrowserplugin
+Version:        2.4
+Release:        2%{?dist}
+Summary:        Qt Solutions Component: Browser Plugin
+
+License:        BSD
+URL:            http://qt.gitorious.org/qt-solutions/qt-solutions
+# git archive --prefix=qtbrowserplugin-2.4/ 80592b0e7145fb876ea0e84a6e3dadfd5f7481b6:qtbrowserplugin/ | gzip > ../qtbrowserplugin-2.4-80592b0e7145fb876ea0e84a6e3dadfd5f7481b6.tar.gz
+Source0:        qtbrowserplugin-%{version}-%{commit}.tar.gz
+# Patch to build as a library
+Patch0:         qtbrowserplugin-lib.patch
+
+BuildRequires:  qt-devel
+
+%description
+The QtBrowserPlugin solution is useful for implementing plugins
+for web browser.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       qt-devel%{?_isa}
+Provides:       %{name}-static = %{version}-%{release}
+
+%description    devel
+The QtBrowserPlugin solution is useful for implementing plugins
+for web browser.
+
+
+%prep
+%setup -q
+%patch0 -p1 -b .lib
+
+
+%build
+qmake-qt4
+make %{?_smp_mflags}
+
+
+%install
+mkdir -p %{buildroot}%{_libdir}
+cp -p libqtbrowserplugin.* %{buildroot}%{_libdir}
+mkdir -p %{buildroot}%{_includedir}
+cp -p src/*.h %{buildroot}%{_includedir}
+
+
+%files devel
+%doc doc examples README.TXT
+%{_includedir}/*
+%{_libdir}/lib%{name}.a
+
+
+%changelog
+* Thu Sep 5 2013 Orion Poplawski <orion at cora.nwra.com> - 2.4-2
+- Use explicit name for library file
+
+* Thu Sep 5 2013 Orion Poplawski <orion at cora.nwra.com> - 2.4-1
+- Initial Fedora package
diff --git a/sources b/sources
index e69de29..ad1739b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e997ffe032789a4f0baddf528f77fd43  qtbrowserplugin-2.4-80592b0e7145fb876ea0e84a6e3dadfd5f7481b6.tar.gz


More information about the scm-commits mailing list