Browse Source

NEW: prison, qrencode

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4447 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 13 years ago
parent
commit
8d36e58ee4
2 changed files with 169 additions and 0 deletions
  1. 79 0
      p/prison/prison-vl.spec
  2. 90 0
      q/qrencode/qrencode-vl.spec

+ 79 - 0
p/prison/prison-vl.spec

@@ -0,0 +1,79 @@
+Name:           prison
+Summary:        A Qt-based barcode abstraction library
+Version:        1.0
+Release:        4%{?_dist_release}
+
+Group:          System Environment/Libraries
+License:        MIT
+URL:            https://projects.kde.org/projects/kdesupport/prison
+
+Source0:        ftp://ftp.kde.org/pub/kde/stable/prison/1.0/src/%{name}-%{version}.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  cmake
+BuildRequires:  libdmtx-devel
+BuildRequires:  qrencode-devel
+BuildRequires:  qt4-devel
+
+%description
+Prison is a Qt-based barcode abstraction layer/library that provides
+an uniform access to generation of barcodes with data.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+%description devel
+%{summary}
+
+
+%prep
+%setup -q
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake} ..
+popd
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+rm -rf %{buildroot}
+make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE
+%{_libdir}/libprison.so.0*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/prison/
+%{_libdir}/libprison.so
+%{_libdir}/cmake/Prison/
+
+
+%changelog
+* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-4
+- Initial build for Vine Linux
+
+* Wed Jun 29 2011 Rex Dieter <rdieter@fedoraproject.org> - 1.0-3
+- %%files: track soname
+- minor cosmetics
+
+* Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-2
+- prison is qt only library
+
+* Fri May 20 2011 Jaroslav Reznik <jreznik@redhat.com> - 1.0-1
+- initial package

+ 90 - 0
q/qrencode/qrencode-vl.spec

@@ -0,0 +1,90 @@
+Name:           qrencode
+Summary:        Generate QR 2D barcodes
+Version:        3.1.1
+Release:        6%{?_dist_release}
+
+Group:          Applications/Engineering
+License:        LGPLv2+
+URL:            http://megaui.net/fukuchi/works/qrencode/index.en.html
+
+Source0:        http://megaui.net/fukuchi/works/qrencode/%{name}-%{version}.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-root
+BuildRequires:  libpng-devel
+BuildRequires:  chrpath
+
+
+%description
+Qrencode is a utility software using libqrencode to encode string data in
+a QR Code and save as a PNG image.
+
+%package        devel
+Summary:        QR Code encoding library - Development files
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description    devel
+The qrencode-devel package contains libraries and header files for developing
+applications that use qrencode.
+
+%prep
+%setup -q
+
+
+%build
+%configure --with-tests
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
+rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
+
+%check
+cd ./tests
+sh test_all.sh
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog COPYING NEWS README TODO
+%{_bindir}/qrencode
+%{_mandir}/man1/qrencode.1.*
+%{_libdir}/libqrencode.so.3
+%{_libdir}/libqrencode.so.3.1.1
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/qrencode.h
+%{_libdir}/libqrencode.so
+%{_libdir}/pkgconfig/libqrencode.pc
+
+
+%changelog
+* Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.1.1-6
+- Initial build for Vine Linux
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Tue Jul 13 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-4
+- Fixed the rpath problem.
+
+* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-3
+- Fixed some small spec mistakes.
+
+* Mon Jul 12 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-2
+- Fixed some small errors.
+
+* Thu Jul 08 2010 Tareq Al Jurf <taljurf@fedoraproject.org> - 3.1.1-1
+- Initial build.