From a2c78d59678bc3b41d554415063f0068e61e7d6e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:27:00 +0100 Subject: [PATCH] update to 1.1.1 [release 1.1.1-1mamba;Wed Apr 09 2014] --- README.md | 2 ++ libprison.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 libprison.spec diff --git a/README.md b/README.md index e7f9c42..1694d57 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libprison +prison is a barcode api currently offering a nice Qt api to produce QRCode barcodes and DataMatrix barcodes, and can easily be made support more. + diff --git a/libprison.spec b/libprison.spec new file mode 100644 index 0000000..19c9b8c --- /dev/null +++ b/libprison.spec @@ -0,0 +1,74 @@ +%define majver %(echo %version | cut -d. -f1-2) +Name: libprison +Version: 1.1.1 +Release: 1mamba +Summary: A barcode api offering a nice Qt api to produce QRCode barcodes and DataMatrix barcodes +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://projects.kde.org/prison +Source: ftp://ftp.kde.org/pub/kde/stable/prison/%{version}/src/prison-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libdmtx-devel +BuildRequires: libgcc +BuildRequires: libqrencode-devel +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +prison is a barcode api currently offering a nice Qt api to produce QRCode barcodes and DataMatrix barcodes, and can easily be made support more. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +prison is a barcode api currently offering a nice Qt api to produce QRCode barcodes and DataMatrix barcodes, and can easily be made support more. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n prison-%{version} + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libprison.so.* +%doc LICENSE + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/prison +%{_includedir}/prison/* +%{_libdir}/cmake/Prison/PrisonConfig.cmake +%{_libdir}/libprison.so + + +%changelog +* Wed Apr 09 2014 Silvan Calarco 1.1.1-1mamba +- update to 1.1.1 + +* Tue Mar 18 2014 Silvan Calarco 1.1.0-1mamba +- update to 1.1.0 + +* Mon Aug 08 2011 Silvan Calarco 1.0-1mamba +- package created by autospec