7 License: - (enter GPL/LGPL/BSD/BSD-like/other license name here)
9 Source0: %{name}-%{version}.tar.gz
11 #Patch0: %{name}-what.patch
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %description -l pl.UTF-8
28 Summary: Header files for FOO library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FOO
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 Header files for FOO library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki FOO.
40 Summary: Static FOO library
41 Summary(pl.UTF-8): Statyczna biblioteka FOO
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{version}-%{release}
48 %description static -l pl.UTF-8
49 Statyczna biblioteka FOO.
56 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
57 # appropriate BuildRequires
67 rm -rf $RPM_BUILD_ROOT
68 # create directories if necessary
69 #install -d $RPM_BUILD_ROOT
72 DESTDIR=$RPM_BUILD_ROOT
75 rm -rf $RPM_BUILD_ROOT
77 %post -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
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.*.*.*
88 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/lib*.so
97 %defattr(644,root,root,755)