]> git.pld-linux.org Git - packages/iec16022.git/blame - iec16022.spec
- new URLs, updated to 0.3.0
[packages/iec16022.git] / iec16022.spec
CommitLineData
2af19c50
MB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: Library for producing 2D barcodes (known as Data Matrix)
6Summary(pl.UTF-8): Biblioteka do tworzenia kodów kreskowych 2D (znanych jako DataMatrix)
7Name: iec16022
d47181b0
JB
8Version: 0.3.0
9Release: 1
2af19c50
MB
10License: GPL v2
11Group: Libraries
d47181b0
JB
12#Source0Download: https://github.com/rdoeffinger/iec16022/releases
13Source0: https://github.com/rdoeffinger/iec16022/releases/download/v%{version}/%{name}-%{version}.tar.xz
14# Source0-md5: bbd2e819fc202e682da0180ede15b7b5
15URL: http://rdoeffinger.github.io/
1d326cc7 16BuildRequires: autoconf >= 2.50
2af19c50
MB
17BuildRequires: automake
18BuildRequires: libtool
19BuildRequires: popt-devel
d47181b0
JB
20BuildRequires: tar >= 1:1.22
21BuildRequires: xz
2af19c50
MB
22BuildRequires: zlib-devel
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26iec16022 is a library for producing 2D barcodes, known as Data Matrix,
27defined in ISO/IEC 16022.
28
29%description -l pl.UTF-8
30iec16022 jest biblioteką do tworzenia kodów kreskowych 2D, znanych
31jako DataMatrix, zdefiniowanych w standardzie ISO/IEC 16022.
32
33%package devel
34Summary: Header files for iec16022 library
35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki iec16022
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description devel
40Header files for iec16022 library.
41
42%description devel -l pl.UTF-8
43Pliki nagłówkowe biblioteki iec16022.
44
45%package static
46Summary: Static iec16022 library
47Summary(pl.UTF-8): Statyczna biblioteka iec16022
48Group: Development/Libraries
49Requires: %{name}-devel = %{version}-%{release}
50
51%description static
52Static iec16022 library.
53
54%description static -l pl.UTF-8
55Statyczna biblioteka iec16022.
56
57%prep
58%setup -q
59
60%build
61%{__libtoolize}
62%{__aclocal}
63%{__autoconf}
64%{__autoheader}
65%{__automake}
66%configure \
67 --disable-silent-rules
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
75
d47181b0
JB
76# obsoleted by pkg-config
77%{__rm} $RPM_BUILD_ROOT%{_libdir}/libiec16022.la
78
2af19c50
MB
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%post -p /sbin/ldconfig
83%postun -p /sbin/ldconfig
84
85%files
86%defattr(644,root,root,755)
87%doc AUTHORS ChangeLog NEWS README TODO
88%attr(755,root,root) %{_bindir}/iec16022
89%attr(755,root,root) %{_libdir}/libiec16022.so.*.*.*
90%attr(755,root,root) %ghost %{_libdir}/libiec16022.so.0
91%{_mandir}/man1/iec16022.1*
92
93%files devel
94%defattr(644,root,root,755)
95%attr(755,root,root) %{_libdir}/libiec16022.so
2af19c50
MB
96%{_includedir}/iec16022
97%{_pkgconfigdir}/libiec16022.pc
98
99%if %{with static_libs}
100%files static
101%defattr(644,root,root,755)
102%{_libdir}/libiec16022.a
103%endif
This page took 0.085814 seconds and 4 git commands to generate.