]> git.pld-linux.org Git - packages/libtar.git/blob - libtar.spec
- updated to 1.2.20 (from git repo)
[packages/libtar.git] / libtar.spec
1 Summary:        C library for manipulating POSIX tar files
2 Summary(pl.UTF-8):      Biblioteka C do manipulacji plikami tar zgodnymi z POSIX
3 Name:           libtar
4 Version:        1.2.20
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 #Source0:       ftp://ftp.feep.net/pub/software/libtar/%{name}-%{version}.tar.gz
9 Source0:        http://http.debian.net/debian/pool/main/libt/libtar/%{name}_%{version}.orig.tar.gz
10 # Source0-md5:  6ced95ab3a4b33fbfe2dfb231d156cdb
11 # dead currently
12 #URL:           http://www.feep.net/libtar/
13 URL:            http://repo.or.cz/w/libtar.git/
14 BuildRequires:  autoconf >= 2.61
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 C library for manipulating POSIX tar files. It handles adding and
22 extracting files from a tar archive.
23
24 %description -l pl.UTF-8
25 Biblioteka C do manipulacji plikami tar zgodnymi z POSIX. Umożliwia
26 dodawanie oraz odzyskiwanie plików z archiwum tar.
27
28 %package devel
29 Summary:        Header files for libtar library
30 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libtar
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files for libtar library.
36
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki libtar.
39
40 %package static
41 Summary:        Static libtar library
42 Summary(pl.UTF-8):      Statyczna biblioteka libtar
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static libtar library.
48
49 %description static -l pl.UTF-8
50 Statyczna biblioteka libtar.
51
52 %prep
53 %setup -q -n %{name}
54
55 %build
56 %{__libtoolize}
57 %{__aclocal} -I autoconf
58 %{__autoconf}
59 %{__autoheader}
60 %{__automake}
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc COPYRIGHT ChangeLog ChangeLog-1.0.x README TODO
79 %attr(755,root,root) %{_bindir}/libtar
80 %attr(755,root,root) %{_libdir}/libtar.so.*.*.*
81 %attr(755,root,root) %ghost %{_libdir}/libtar.so.0
82
83 %files devel
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_libdir}/libtar.so
86 %{_libdir}/libtar.la
87 %{_includedir}/libtar.h
88 %{_includedir}/libtar_listhash.h
89 %{_mandir}/man3/TH_*.3*
90 %{_mandir}/man3/libtar_*.3*
91 %{_mandir}/man3/tar_*.3*
92 %{_mandir}/man3/th_*.3*
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/libtar.a
This page took 0.071012 seconds and 3 git commands to generate.