6 License: - (enter GPL/LGPL/BSD/BSD-like/other license name here)
8 Source0: %{name}-%{version}.tar.gz
10 #Patch0: %{name}-what.patch
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %description -l pl.UTF-8
27 Summary: Header files for FOO library
28 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FOO
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
33 Header files for FOO library.
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe biblioteki FOO.
39 Summary: Static FOO library
40 Summary(pl.UTF-8): Statyczna biblioteka FOO
41 Group: Development/Libraries
42 Requires: %{name}-devel = %{version}-%{release}
47 %description static -l pl.UTF-8
48 Statyczna biblioteka FOO.
55 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
56 # appropriate BuildRequires
66 rm -rf $RPM_BUILD_ROOT
67 # create directories if necessary
68 #install -d $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
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.*.*.*
87 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so
96 %defattr(644,root,root,755)