2 Summary: An Objective-C framework for regular expressions
3 Summary(pl.UTF-8): Biblioteka Objective-C do wyrażeń regularnych
9 Source0: http://dl.sourceforge.net/regexkit/%{name}_%{version}_source.tar.bz2
10 # Source0-md5: 75118aec7b4879efe148c0772e834919
11 Patch0: %{name}-Linux.patch
12 URL: http://regexkit.sourceforge.net/
13 BuildRequires: gnustep-base-devel >= 1.13.0
14 BuildRequires: pcre-devel >= 7.6
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 RegexKit is an Objective-C framework for regular expressions.
20 %description -l pl.UTF-8
21 RegexKit to biblioteka (framework) Objective-C do wyrażeń regularnych.
24 Summary: Header files for RegexKit library
25 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki RegexKit
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
28 Requires: pcre-devel >= 7.6
31 Header files for RegexKit library.
33 %description devel -l pl.UTF-8
34 Pliki nagłówkowe biblioteki RegexKit.
37 %setup -q -n %{name}_%{version}_source
41 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
42 export GNUSTEP_FLATTENED=yes
44 %{__make} -C GNUstep \
48 # CFLAGS="%{rpmcflags}" \
49 # LDFLAGS="%{rpmldflags}"
52 rm -rf $RPM_BUILD_ROOT
53 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
54 export GNUSTEP_FLATTENED=yes
57 %{__make} -C GNUstep install \
59 GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/libRegexKit.so.0.0.1
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/libRegexKit.so
76 %dir %{_includedir}/RegexKit
77 %{_includedir}/RegexKit/*.h