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