3 # - make dynamic/static library
6 Summary(pl.UTF-8): elfio
10 License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
12 Source0: http://dl.sourceforge.net/elfio/ELFIO-%{version}.tar.gz
13 # Source0-md5: fd6fca12c7b43f6c01d30b23d22aaefe
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %description -l pl.UTF-8
25 %description subpackage
27 %description subpackage -l pl.UTF-8
36 %description libs -l pl.UTF-8
39 Summary: Header files for ... library
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ...
41 Group: Development/Libraries
42 # if base package contains shared library for which these headers are
43 #Requires: %{name} = %{version}-%{release}
44 # if -libs package contains shared library for which these headers are
45 #Requires: %{name}-libs = %{version}-%{release}
48 Header files for ... library.
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe biblioteki ....
54 Summary: Static ... library
55 Summary(pl.UTF-8): Statyczna biblioteka ...
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
62 %description static -l pl.UTF-8
63 Statyczna biblioteka ....
66 %setup -q -n ELFIO-%{version}
74 #cp -f /usr/share/automake/config.sub .
79 # CFLAGS="%{rpmcflags}" \
80 # LDFLAGS="%{rpmldflags}"
83 rm -rf $RPM_BUILD_ROOT
84 # create directories if necessary
85 #install -d $RPM_BUILD_ROOT
86 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
89 DESTDIR=$RPM_BUILD_ROOT
92 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
112 # if _sysconfdir != /etc:
113 #%%dir %{_sysconfdir}
114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
115 %attr(755,root,root) %{_bindir}/*
119 #%{_examplesdir}/%{name}-%{version}
121 %if %{with subpackage}
123 %defattr(644,root,root,755)
125 #%{_datadir}/%{name}-ext