]>
Commit | Line | Data |
---|---|---|
f9986cd5 | 1 | Summary: - |
ce39d734 | 2 | Summary(pl.UTF-8): - |
f9986cd5 JB |
3 | Name: - |
4 | Version: - | |
5 | Release: - | |
6 | Epoch: - | |
7 | License: - (enter GPL/LGPL/BSD/BSD-like/other license name here) | |
8 | Group: Libraries | |
9 | Source0: %{name}-%{version}.tar.gz | |
10 | # Source0-md5: - | |
1c854c4b | 11 | #Patch0: %{name}-what.patch |
f9986cd5 JB |
12 | URL: - |
13 | BuildRequires: - | |
f9986cd5 JB |
14 | Requires: - |
15 | Requires(pre,post): - | |
16 | Requires(preun): - | |
17 | Requires(postun): - | |
18 | Provides: - | |
19 | Obsoletes: - | |
20 | Conflicts: - | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | ||
9be49f18 | 25 | %description -l pl.UTF-8 |
f9986cd5 JB |
26 | |
27 | %package devel | |
28 | Summary: Header files for FOO library | |
ce39d734 | 29 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FOO |
f9986cd5 | 30 | Group: Development/Libraries |
d7dd7729 | 31 | Requires: %{name} = %{version}-%{release} |
f9986cd5 JB |
32 | |
33 | %description devel | |
34 | Header files for FOO library. | |
35 | ||
9be49f18 JR |
36 | %description devel -l pl.UTF-8 |
37 | Pliki nagłówkowe biblioteki FOO. | |
f9986cd5 JB |
38 | |
39 | %package static | |
40 | Summary: Static FOO library | |
ce39d734 | 41 | Summary(pl.UTF-8): Statyczna biblioteka FOO |
f9986cd5 | 42 | Group: Development/Libraries |
d7dd7729 | 43 | Requires: %{name}-devel = %{version}-%{release} |
f9986cd5 JB |
44 | |
45 | %description static | |
46 | Static FOO library. | |
47 | ||
9be49f18 | 48 | %description static -l pl.UTF-8 |
f9986cd5 JB |
49 | Statyczna biblioteka FOO. |
50 | ||
51 | %prep | |
52 | %setup -q | |
1c854c4b | 53 | #%patch0 -p1 |
f9986cd5 JB |
54 | |
55 | %build | |
c42a30cf JB |
56 | # if ac/am/lt/* rebuilding is necessary, do it in this order and add |
57 | # appropriate BuildRequires | |
58 | #%{__libtoolize} | |
59 | #%{__aclocal} | |
60 | #%{__autoconf} | |
61 | #%{__autoheader} | |
62 | #%{__automake} | |
f9986cd5 JB |
63 | %configure |
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | # create directories if necessary | |
69 | #install -d $RPM_BUILD_ROOT | |
70 | ||
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %post -p /sbin/ldconfig | |
78 | %postun -p /sbin/ldconfig | |
79 | ||
80 | %files | |
81 | %defattr(644,root,root,755) | |
82 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO | |
83 | %attr(755,root,root) %{_bindir}/* | |
84 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
85 | %{_datadir}/%{name} | |
86 | ||
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %doc devel-doc/* | |
90 | %attr(755,root,root) %{_libdir}/lib*.so | |
91 | %{_libdir}/lib*.la | |
92 | %{_includedir}/foo | |
93 | %{_aclocaldir}/*.m4 | |
94 | %{_pkgconfigdir}/*.pc | |
95 | ||
96 | %files static | |
97 | %defattr(644,root,root,755) | |
98 | %{_libdir}/lib*.a |