1 Summary: An Objective-C framework for regular expressions
2 Summary(pl.UTF-8): Biblioteka Objective-C do wyrażeń regularnych
8 Source0: http://dl.sourceforge.net/regexkit/%{name}_%{version}_source.tar.bz2
9 # Source0-md5: 75118aec7b4879efe148c0772e834919
10 Patch0: %{name}-Linux.patch
11 URL: http://regexkit.sourceforge.net/
12 BuildRequires: gnustep-base-devel >= 1.13.0
13 BuildRequires: pcre-devel >= 7.6
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 RegexKit is an Objective-C framework for regular expressions.
19 %description -l pl.UTF-8
20 RegexKit to biblioteka (framework) Objective-C do wyrażeń regularnych.
23 Summary: Header files for RegexKit library
24 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki RegexKit
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
27 Requires: pcre-devel >= 7.6
30 Header files for RegexKit library.
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki RegexKit.
36 %setup -q -n %{name}_%{version}_source
40 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
41 export GNUSTEP_FLATTENED=yes
43 %{__make} -C GNUstep \
47 # CFLAGS="%{rpmcflags}" \
48 # LDFLAGS="%{rpmldflags}"
51 rm -rf $RPM_BUILD_ROOT
52 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
53 export GNUSTEP_FLATTENED=yes
56 %{__make} -C GNUstep install \
58 GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
64 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
68 %defattr(644,root,root,755)
70 %attr(755,root,root) %{_libdir}/libRegexKit.so.0.0.1
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/libRegexKit.so
75 %dir %{_includedir}/RegexKit
76 %{_includedir}/RegexKit/*.h