]>
Commit | Line | Data |
---|---|---|
12bfff55 JB |
1 | Summary: Library to pack up hard disk files and directories into a ISO 9660 disk image |
2 | Summary(pl.UTF-8): Biblioteka do pakowania plików i katalogów w obrazy ISO 9660 | |
3 | Name: libisofs | |
a3df9ea6 | 4 | Version: 1.4.6 |
e5253c41 | 5 | Release: 1 |
64a849cd | 6 | License: GPL v2+ |
12bfff55 JB |
7 | Group: Libraries |
8 | Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz | |
a3df9ea6 | 9 | # Source0-md5: 6ec515d9265fb75c48e8e73b3ea3f6c5 |
8e7a0427 | 10 | URL: http://libburnia-project.org/ |
64a849cd JB |
11 | BuildRequires: acl-devel |
12 | BuildRequires: attr-devel | |
4d81cb99 | 13 | BuildRequires: libjte-devel >= 1.0.0 |
64a849cd | 14 | BuildRequires: zlib-devel |
4d81cb99 | 15 | Requires: libjte >= 1.0.0 |
12bfff55 JB |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
6259584e | 18 | %undefine __cxx |
19 | ||
12bfff55 JB |
20 | %description |
21 | libisofs is the library to pack up hard disk files and directories | |
22 | into a ISO 9660 disk image. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | libisofs to biblioteka do pakowania plików i katalogów z twardego | |
26 | dysku w obrazy ISO 9660. | |
27 | ||
28 | %package devel | |
29 | Summary: Header files for libisofs library | |
30 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libisofs | |
31 | Group: Development/Libraries | |
32 | Requires: %{name} = %{version}-%{release} | |
64a849cd JB |
33 | Requires: acl-devel |
34 | Requires: attr-devel | |
4d81cb99 | 35 | Requires: libjte-devel >= 1.0.0 |
64a849cd | 36 | Requires: zlib-devel |
12bfff55 JB |
37 | |
38 | %description devel | |
39 | Header files for libisofs library. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Pliki nagłówkowe biblioteki libisofs. | |
43 | ||
44 | %package static | |
45 | Summary: Static libisofs library | |
46 | Summary(pl.UTF-8): Statyczna biblioteka libisofs | |
47 | Group: Development/Libraries | |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | Static libisofs library. | |
52 | ||
53 | %description static -l pl.UTF-8 | |
54 | Statyczna biblioteka libisofs. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
60 | %configure | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
4d81cb99 JB |
69 | # *.la kept, dependencies are missing in .pc |
70 | ||
12bfff55 JB |
71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
8e7a0427 ŁK |
74 | %post -p /sbin/ldconfig |
75 | %postun -p /sbin/ldconfig | |
12bfff55 JB |
76 | |
77 | %files | |
78 | %defattr(644,root,root,755) | |
fe2c8f4d | 79 | %doc AUTHORS COPYRIGHT ChangeLog NEWS README Roadmap TODO |
12bfff55 | 80 | %attr(755,root,root) %{_libdir}/libisofs.so.*.*.* |
cebef538 | 81 | %attr(755,root,root) %ghost %{_libdir}/libisofs.so.6 |
12bfff55 JB |
82 | |
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
cebef538 | 85 | %doc doc/Tutorial |
12bfff55 JB |
86 | %attr(755,root,root) %{_libdir}/libisofs.so |
87 | %{_libdir}/libisofs.la | |
88 | %{_includedir}/libisofs | |
89 | %{_pkgconfigdir}/libisofs-1.pc | |
90 | ||
91 | %files static | |
92 | %defattr(644,root,root,755) | |
93 | %{_libdir}/libisofs.a |