commit 767b9689db5aed3cfcb8768bcaea79be0c03e41d
Author: Jakub Bogusz <[email protected]>
Date:   Sat Jul 31 09:01:22 2021 +0200

    - new URLs, updated to 0.7.5

 libdmtx.spec | 52 ++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 40 insertions(+), 12 deletions(-)
---
diff --git a/libdmtx.spec b/libdmtx.spec
index a1d4605..f7d791e 100644
--- a/libdmtx.spec
+++ b/libdmtx.spec
@@ -3,15 +3,20 @@
 %bcond_without tests           # build without tests
 
 Summary:       Library for working with Data Matrix 2D bar-codes
+Summary(pl.UTF-8):     Biblioteka do pracy z kodami paskowymi Data Matrix 2D
 Name:          libdmtx
-Version:       0.7.4
+Version:       0.7.5
 Release:       1
 License:       BSD
 Group:         Libraries
-Source0:       
http://downloads.sourceforge.net/libdmtx/%{name}-%{version}.tar.bz2
-# Source0-md5: d3a4c0becd92895eb606dbdb78b023e2
-URL:           http://www.libdmtx.org/
+#Source0Download: https://github.com/dmtx/libdmtx/releases
+Source0:       
https://github.com/dmtx/libdmtx/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 82edcd68e9f4fa779f5f7573baf2a9f5
+URL:           https://github.com/dmtx/libdmtx
 BuildRequires: ImageMagick-devel
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake
+BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.219
 %if %{with tests}
@@ -32,26 +37,49 @@ official interface to libdmtx from the command line, and 
also serve as
 a good reference for programmers who wish to write their own programs
 that interact with libdmtx.
 
+%description -l pl.UTF-8
+libdmtx to mające otwarte źródła oprogramowanie do odczytu i zapisu
+kodów paskowych Data Matrix 3D pod Linuksem, Uniksem, OS X, Windows i
+na platformach mobilnych. Główną częścią jest biblioteka
+współdzielona, pozwalająca programom w C/C++ korzystać ze swoich
+możliwości bez ograniczeń czy narzutów.
+
+Załączone programy użytkowe - dmtxread i dmtxwrite - udostępniają
+oficjalny interfejs libdmtx z poziomu linii poleceń, a także służą
+jako dobre przykłady dla programistów chcących pisać własne programy
+współpracujące z libdmtx.
+
 %package devel
-Summary:       Development files for %{name}
+Summary:       Development files for libdmtx library
+Summary(pl.UTF-8):     Pliki programistyczne biblioteki libdmtx
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 
 %description devel
-The %{name}-devel package contains libraries and header files for
-developing applications that use %{name}.
+This package contains the header files for developing applications
+that use libdmtx.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących bibliotekę libdmtx.
 
 %prep
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        --disable-static
 
 %{__make}
 
 %if %{with tests}
-%{__make} check
+%{__make} check \
+       AM_CPPFLAGS+=-std=c99
 ./test/simple_test/simple_test
 %endif
 
@@ -70,13 +98,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog KNOWNBUG NEWS README README.linux TODO
+%doc AUTHORS ChangeLog KNOWNBUG LICENSE NEWS README README.linux TODO
 %attr(755,root,root) %{_libdir}/libdmtx.so.*.*.*
 %ghost %{_libdir}/libdmtx.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}.so
+%attr(755,root,root) %{_libdir}/libdmtx.so
 %{_includedir}/dmtx.h
-%{_pkgconfigdir}/%{name}.pc
-%{_mandir}/man3/%{name}.3*
+%{_pkgconfigdir}/libdmtx.pc
+%{_mandir}/man3/libdmtx.3*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libdmtx.git/commitdiff/767b9689db5aed3cfcb8768bcaea79be0c03e41d

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

Reply via email to