2 # - build examples and add them to main package
11 Source0: http://dfn.dl.sourceforge.net/sourceforge/fudgefont/%{name}-%{version}-src.7z
12 # Source0-md5: 57bbe9b92d4f25210f803db481eb0939
13 Patch0: %{name}-paths.patch
14 URL: http://fudgefont.sourceforge.net/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %description -l pl.UTF-8
24 Summary: Header files for fudgefont library
25 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki fudgefont
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 Header files for fudgefont library.
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki fudgefont.
36 rm -rf fudgefont-1.2-src
37 7z x ../SOURCES/%{name}-%{version}-src.7z
38 cd %{name}-%{version}-src
42 cd %{name}-%{version}-src
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
49 cd %{name}-%{version}-src
50 install libfudgefont.so $RPM_BUILD_ROOT%{_libdir}
51 install src/fudgefont.h $RPM_BUILD_ROOT%{_includedir}
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_libdir}/libfudgefont.so
61 %defattr(644,root,root,755)
62 %{_includedir}/fudgefont.h