2 %bcond_without apidocs # do not build and package API docs
9 License: - (enter GPL/LGPL/BSD/BSD-like/other license name here)
11 Source0: %{name}-%{version}.tar.gz
13 #Patch0: %{name}-what.patch
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %description -l pl.UTF-8
30 Summary: Header files for FOO library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki FOO
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for FOO library.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki FOO.
42 Summary: Static FOO library
43 Summary(pl.UTF-8): Statyczna biblioteka FOO
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
50 %description static -l pl.UTF-8
51 Statyczna biblioteka FOO.
54 Summary: FOO API documentation
55 Summary(pl.UTF-8): Dokumentacja API biblioteki FOO
59 API and internal documentation for FOO library.
66 # if ac/am/lt/* rebuilding is necessary, do it in this order and add
67 # appropriate BuildRequires
77 rm -rf $RPM_BUILD_ROOT
78 # create directories if necessary
79 #install -d $RPM_BUILD_ROOT
82 DESTDIR=$RPM_BUILD_ROOT
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
93 %attr(755,root,root) %{_bindir}/*
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
98 %defattr(644,root,root,755)
104 %{_pkgconfigdir}/*.pc
107 %defattr(644,root,root,755)
111 %defattr(644,root,root,755)