]> git.pld-linux.org Git - packages/libidn.git/blob - libidn.spec
- updated to 0.3.4
[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.4
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:  0b2e1df28f86cdeb3b8e34770b652342
13 Patch0:         %{name}-info.patch
14 URL:            http://www.gnu.org/software/libidn/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRequires:  texinfo
19 Requires(post,postun):  /sbin/ldconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 GNU Libidn is an implementation of the Stringprep, Punycode and IDNA
24 specifications defined by the IETF Internationalized Domain Names
25 (IDN) working group, used for internationalized domain names.
26
27 %description -l pl
28 GNU Libidn to implementacja specyfikacji Stringprep, Punycode i IDNA
29 zdefiniowanych przez grupê robocz± IETF Internationalized Domain Names
30 (IDN), zajmuj±c± siê umiêdzynarodowionymi nazwami domen.
31
32 %package devel
33 Summary:        Header files for libidn library
34 Summary(pl):    Pliki nag³ówkowe biblioteki libidn
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}
37
38 %description devel
39 Header files for libidn library.
40
41 %description devel -l pl
42 Pliki nag³ówkowe biblioteki libidn.
43
44 %package static
45 Summary:        Static libidn library
46 Summary(pl):    Statyczna biblioteka libidn
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}
49
50 %description static
51 Static libidn library.
52
53 %description static -l pl
54 Statyczna biblioteka libidn.
55
56 %prep
57 %setup -q
58 %patch -p1
59
60 %build
61 # rebuild needed - "autoconf 2.59" used here doesn't support ksh
62 %{__libtoolize}
63 %{__aclocal} -I m4
64 %{__autoconf}
65 %{__autoheader}
66 %{__automake}
67 %configure
68
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post
81 /sbin/ldconfig
82 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
83
84 %postun
85 /sbin/ldconfig
86 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
87
88 %files
89 %defattr(644,root,root,755)
90 %doc ChangeLog FAQ README THANKS TODO doc/libidn.html contrib
91 %attr(755,root,root) %{_bindir}/idn
92 %attr(755,root,root) %{_libdir}/libidn.so.*.*.*
93 %{_mandir}/man1/idn.1*
94 %{_infodir}/libidn.info*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libidn.so
99 %{_libdir}/libidn.la
100 %{_includedir}/*.h
101 %{_pkgconfigdir}/libidn.pc
102 %{_mandir}/man3/*
103
104 %files static
105 %defattr(644,root,root,755)
106 %{_libdir}/libidn.a
This page took 0.065881 seconds and 4 git commands to generate.