commit ba2c222c9db81c09ec7c6d3c751265f588902e67
Author: Witold Filipczyk <[email protected]>
Date:   Sun Oct 22 10:40:13 2017 +0200

    - 5.39

 kf5-prison.spec | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)
---
diff --git a/kf5-prison.spec b/kf5-prison.spec
new file mode 100644
index 0000000..9024d65
--- /dev/null
+++ b/kf5-prison.spec
@@ -0,0 +1,88 @@
+%define                kdeframever     5.39
+%define                qtver           5.3.2
+%define                kfname          prison
+
+Summary:       A barcode abstraction layer
+Name:          kf5-%{kfname}
+Version:       5.39.0
+Release:       1
+License:       LGPL v2.1+
+Group:         X11/Libraries
+Source0:       
http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 588eec6668cf6675af7147952d5c53e7
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5Gui-devel >= %{qtver}
+BuildRequires: Qt5Test-devel >= %{qtver}
+BuildRequires: Qt5Widgets-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: hspell-devel
+BuildRequires: hunspell-devel
+BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: libdmtx-devel
+BuildRequires: qrencode-devel
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: zlib-devel
+Requires:      kf5-dirs
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                qt5dir          %{_libdir}/qt5
+
+%description
+Prison has a Prison::AbstractBarcode, which is the base class for the
+actual barcode generators, currently Prison::QRCodeBarcode and
+Prison::DataMatrixBarcode are the two implemented barcode generators.
+
+Prison currently ships a BarcodeWidget, which is a QWidget with a
+barcode painted upon, as well as a BarcodeItem, which is a
+QGraphicsItem with a barcode painted upon.
+
+%package devel
+Summary:       Header files for %{kfname} development
+Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{kfname}
+Group:         X11/Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kfname}.
+
+%prep
+%setup -q -n %{kfname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ 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)
+%ghost %{_libdir}/libKF5Prison.so.5
+%{_libdir}/libKF5Prison.so.5.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/prison
+%{_includedir}/KF5/prison_version.h
+%{_libdir}/cmake/KF5Prison
+%{_libdir}/qt5/mkspecs/modules/qt_Prison.pri
+%{_libdir}/libKF5Prison.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-prison.git/commitdiff/ba2c222c9db81c09ec7c6d3c751265f588902e67

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to