]> git.pld-linux.org Git - packages/libidn.git/blob - libidn.spec
- updated to 0.3.3
[packages/libidn.git] / libidn.spec
1 # TODO:
2 # - prepare package with web-files from contrib
3 #
4 Summary:        Internationalized string processing library
5 Summary(pl):    Biblioteka do przetwarzania umiêdzynarodowionych ³añcuchów
6 Name:           libidn
7 Version:        0.3.3
8 Release:        1
9 License:        LGPL v2.1
10 Group:          Libraries
11 Source0:        http://josefsson.org/libidn/releases/%{name}-%{version}.tar.gz
12 # Source0-md5:  aae37748904f8fe944b01de4461b0034
13 Patch0:         %{name}-info.patch
14 URL:            http://www.gnu.org/software/libidn/
15 BuildRequires:  texinfo
16 Requires(post,postun):  /sbin/ldconfig
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 GNU Libidn is an implementation of the Stringprep, Punycode and IDNA
21 specifications defined by the IETF Internationalized Domain Names
22 (IDN) working group, used for internationalized domain names.
23
24 %description -l pl
25 GNU Libidn to implementacja specyfikacji Stringprep, Punycode i IDNA
26 zdefiniowanych przez grupê robocz± IETF Internationalized Domain Names
27 (IDN), zajmuj±c± siê umiêdzynarodowionymi nazwami domen.
28
29 %package devel
30 Summary:        Header files for libidn library
31 Summary(pl):    Pliki nag³ówkowe biblioteki libidn
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}
34
35 %description devel
36 Header files for libidn library.
37
38 %description devel -l pl
39 Pliki nag³ówkowe biblioteki libidn.
40
41 %package static
42 Summary:        Static libidn library
43 Summary(pl):    Statyczna biblioteka libidn
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 Static libidn library.
49
50 %description static -l pl
51 Statyczna biblioteka libidn.
52
53 %prep
54 %setup -q
55 %patch -p1
56
57 %build
58 %configure
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 /sbin/ldconfig
73 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
74
75 %postun
76 /sbin/ldconfig
77 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
78
79 %files
80 %defattr(644,root,root,755)
81 %doc ChangeLog FAQ README THANKS TODO doc/libidn.html contrib
82 %attr(755,root,root) %{_bindir}/idn
83 %attr(755,root,root) %{_libdir}/libidn.so.*.*.*
84 %{_mandir}/man1/idn.1*
85 %{_infodir}/libidn.info*
86
87 %files devel
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libidn.so
90 %{_libdir}/libidn.la
91 %{_includedir}/*.h
92 %{_pkgconfigdir}/libidn.pc
93 %{_mandir}/man3/*
94
95 %files static
96 %defattr(644,root,root,755)
97 %{_libdir}/libidn.a
This page took 0.040673 seconds and 4 git commands to generate.