-#
Summary: An Objective-C framework for regular expressions
+Summary(pl.UTF-8): Biblioteka Objective-C do wyrażeń regularnych
Name: RegexKit
Version: 0.6.0
Release: 0.1
%description
RegexKit is an Objective-C framework for regular expressions.
+%description -l pl.UTF-8
+RegexKit to biblioteka (framework) Objective-C do wyrażeń regularnych.
+
%package devel
Summary: Header files for RegexKit library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki RegexKit
%build
export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
export GNUSTEP_FLATTENED=yes
-cd GNUstep
-%{__make} \
+
+%{__make} -C GNUstep \
messages=yes
#%{__make} \
rm -rf $RPM_BUILD_ROOT
export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
export GNUSTEP_FLATTENED=yes
-rm -rf $RPM_BUILD_ROOT
cd GNUstep
-%{__make} install \
+%{__make} -C GNUstep install \
messages=yes \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
DESTDIR=$RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc ChangeLog README
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libRegexKit.so
%dir %{_includedir}/RegexKit
%{_includedir}/RegexKit/*.h
-%{_libdir}/libRegexKit.so