]>
Commit | Line | Data |
---|---|---|
09ce71e9 | 1 | Summary: Bruce Guenter's Libraries Collection |
a7aae9c3 | 2 | Summary(pl.UTF-8): Zestaw bibliotek Bruce'a Guentera |
09ce71e9 | 3 | Name: bglibs |
5bf3f6e0 | 4 | Version: 1.106 |
09ce71e9 JB |
5 | Release: 1 |
6 | License: GPL | |
36af4c39 | 7 | Group: Libraries |
35f306de | 8 | Source0: http://untroubled.org/bglibs/%{name}-%{version}.tar.gz |
5bf3f6e0 | 9 | # Source0-md5: 99bf5936456c7661c329beab63d2b520 |
09ce71e9 | 10 | URL: http://untroubled.org/bglibs/ |
7ef7d8b3 | 11 | BuildRequires: libtool |
09ce71e9 JB |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
13 | ||
09ce71e9 JB |
14 | %description |
15 | Bruce Guenter's Libraries Collection. | |
16 | ||
0a1e68be | 17 | %description -l pl.UTF-8 |
09ce71e9 JB |
18 | Zestaw bibliotek Bruce'a Guentera. |
19 | ||
7ef7d8b3 | 20 | %package devel |
21 | Summary: bglibs header files | |
a7aae9c3 | 22 | Summary(pl.UTF-8): Pliki nagłówkowe bglibs |
7ef7d8b3 | 23 | Group: Development/Libraries |
24 | Requires: %{name} = %{version}-%{release} | |
25 | ||
26 | %description devel | |
27 | Header files for bglibs. | |
28 | ||
0a1e68be JR |
29 | %description devel -l pl.UTF-8 |
30 | Pliki nagłówkowe dla bglibs. | |
7ef7d8b3 | 31 | |
36af4c39 JB |
32 | %package static |
33 | Summary: Static version of bglibs | |
a7aae9c3 | 34 | Summary(pl.UTF-8): Statyczne wersje bglibs |
36af4c39 JB |
35 | Group: Development/Libraries |
36 | Requires: %{name}-devel = %{version}-%{release} | |
37 | ||
38 | %description static | |
39 | Static version of bglibs with shared equivalents. | |
40 | ||
0a1e68be JR |
41 | %description static -l pl.UTF-8 |
42 | Statyczne wersje bglibs mających odpowiedniki współdzielone. | |
36af4c39 | 43 | |
09ce71e9 JB |
44 | %prep |
45 | %setup -q | |
09ce71e9 JB |
46 | |
47 | %build | |
48 | echo '%{__cc} %{rpmcflags} -Wall' > conf-cc | |
09ce71e9 | 49 | echo '%{__cc} %{rpmldflags}' > conf-ld |
7ef7d8b3 | 50 | echo '%{_prefix}' > conf-home |
51 | echo "%{_bindir}" > conf-bin | |
52 | echo "%{_mandir}" > conf-man | |
53 | echo "%{_includedir}/%{name}" > conf-include | |
54 | echo "%{_libdir}/%{name}" > conf-lib | |
09ce71e9 JB |
55 | |
56 | %{__make} | |
57 | ||
09ce71e9 JB |
58 | %install |
59 | rm -rf $RPM_BUILD_ROOT | |
09ce71e9 | 60 | |
7ef7d8b3 | 61 | echo "$RPM_BUILD_ROOT%{_prefix}" > conf-home |
98c58996 | 62 | echo "$RPM_BUILD_ROOT%{_bindir}" > conf-bin |
7ef7d8b3 | 63 | echo "$RPM_BUILD_ROOT%{_mandir}" > conf-man |
64 | echo "$RPM_BUILD_ROOT%{_includedir}/%{name}" > conf-include | |
65 | echo "$RPM_BUILD_ROOT%{_libdir}/%{name}" > conf-lib | |
98c58996 JB |
66 | |
67 | %{__make} install | |
09ce71e9 JB |
68 | |
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc ChangeLog NEWS README TODO | |
36af4c39 JB |
75 | %dir %{_libdir}/%{name} |
76 | %attr(755,root,root) %{_libdir}/%{name}/libbg.so.* | |
77 | %attr(755,root,root) %{_libdir}/%{name}/libbg-sysdeps.so.* | |
7ef7d8b3 | 78 | |
79 | %files devel | |
80 | %defattr(644,root,root,755) | |
36af4c39 JB |
81 | %attr(755,root,root) %{_bindir}/bg-installer |
82 | %attr(755,root,root) %{_bindir}/cli-generate | |
83 | %attr(755,root,root) %{_bindir}/crc-gentab | |
84 | %attr(755,root,root) %{_libdir}/%{name}/libbg.so | |
85 | %attr(755,root,root) %{_libdir}/%{name}/libbg-sysdeps.so | |
86 | %{_libdir}/%{name}/libbg.la | |
87 | %{_libdir}/%{name}/libbg-sysdeps.la | |
88 | # static-only | |
89 | %{_libdir}/%{name}/libbg-adt.a | |
90 | %{_libdir}/%{name}/libbg-base64.a | |
91 | %{_libdir}/%{name}/libbg-cdb.a | |
92 | %{_libdir}/%{name}/libbg-cli.a | |
93 | %{_libdir}/%{name}/libbg-crc.a | |
94 | %{_libdir}/%{name}/libbg-crypto.a | |
95 | %{_libdir}/%{name}/libbg-dict.a | |
96 | %{_libdir}/%{name}/libbg-fmt.a | |
97 | %{_libdir}/%{name}/libbg-installer.a | |
98 | %{_libdir}/%{name}/libbg-instcheck.a | |
99 | %{_libdir}/%{name}/libbg-instshow.a | |
100 | %{_libdir}/%{name}/libbg-iobuf.a | |
101 | %{_libdir}/%{name}/libbg-misc.a | |
102 | %{_libdir}/%{name}/libbg-msg.a | |
103 | %{_libdir}/%{name}/libbg-net.a | |
104 | %{_libdir}/%{name}/libbg-path.a | |
105 | %{_libdir}/%{name}/libbg-str.a | |
106 | %{_libdir}/%{name}/libbg-unix.a | |
107 | %{_libdir}/%{name}/libpwcmp-module.a | |
108 | %{_libdir}/%{name}/libpwcmp.a | |
109 | %{_libdir}/%{name}/libvmailmgr.a | |
110 | # symlinks | |
111 | %{_libdir}/%{name}/libinstaller.a | |
112 | %{_libdir}/%{name}/libinstcheck.a | |
113 | %{_libdir}/%{name}/libinstshow.a | |
114 | # dirs with symlinks to libbg-*.a | |
115 | %{_libdir}/%{name}/base64 | |
116 | %{_libdir}/%{name}/cdb | |
117 | %{_libdir}/%{name}/cli | |
118 | %{_libdir}/%{name}/crypto | |
119 | %{_libdir}/%{name}/dict | |
120 | %{_libdir}/%{name}/iobuf | |
121 | %{_libdir}/%{name}/misc | |
122 | %{_libdir}/%{name}/msg | |
123 | %{_libdir}/%{name}/net | |
124 | %{_libdir}/%{name}/path | |
125 | %{_libdir}/%{name}/pwcmp | |
126 | %{_libdir}/%{name}/str | |
127 | %{_libdir}/%{name}/unix | |
128 | %{_libdir}/%{name}/vmailmgr | |
129 | # linking "scripts" | |
130 | %{_libdir}/%{name}/crypt.lib | |
131 | %{_libdir}/%{name}/dl.lib | |
132 | %{_libdir}/%{name}/m.lib | |
133 | %{_libdir}/%{name}/net.lib | |
134 | %{_libdir}/%{name}/rt.lib | |
135 | %{_libdir}/%{name}/s.lib | |
136 | %{_libdir}/%{name}/shadow.lib | |
137 | %{_libdir}/%{name}/socket.lib | |
7ef7d8b3 | 138 | %{_includedir}/%{name} |
36af4c39 JB |
139 | %{_mandir}/man1/cli-generate.1* |
140 | ||
141 | %files static | |
142 | %defattr(644,root,root,755) | |
143 | %{_libdir}/%{name}/libbg.a | |
144 | %{_libdir}/%{name}/libbg-sysdeps.a | |
b2ea0b03 JB |
145 | # symlinks |
146 | %{_libdir}/%{name}/libsysdeps.a |