7 License: - (enter GPL/LGPL/BSD/BSD-like/other license name here)
9 Source0: %{name}-%{version}.tar.gz
11 #Patch0: %{name}-what.patch
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Summary: Header files for FOO library
30 Summary(pl): Pliki nag³ówkowe biblioteki FOO
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Header files for FOO library.
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki FOO.
41 Summary: Static FOO library
42 Summary(pl): Statyczna biblioteka FOO
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
49 %description static -l pl
50 Statyczna biblioteka FOO.
57 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
58 # appropriate BuildRequires
68 rm -rf $RPM_BUILD_ROOT
69 # create directories if necessary
70 #install -d $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 %defattr(644,root,root,755)
83 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
84 %attr(755,root,root) %{_bindir}/*
85 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
89 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/lib*.so
98 %defattr(644,root,root,755)