]> git.pld-linux.org Git - packages/RegexKit.git/blob - RegexKit.spec
- pl, partial cleanup
[packages/RegexKit.git] / RegexKit.spec
1 Summary:        An Objective-C framework for regular expressions
2 Summary(pl.UTF-8):      Biblioteka Objective-C do wyrażeń regularnych
3 Name:           RegexKit
4 Version:        0.6.0
5 Release:        0.1
6 License:        BSD
7 Group:          Applications
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)
15
16 %description
17 RegexKit is an Objective-C framework for regular expressions.
18
19 %description -l pl.UTF-8
20 RegexKit to biblioteka (framework) Objective-C do wyrażeń regularnych.
21
22 %package devel
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
28
29 %description devel
30 Header files for RegexKit library.
31
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki RegexKit.
34
35 %prep
36 %setup -q -n %{name}_%{version}_source
37 %patch0 -p1
38
39 %build
40 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
41 export GNUSTEP_FLATTENED=yes
42
43 %{__make} -C GNUstep \
44         messages=yes
45
46 #%{__make} \
47 #       CFLAGS="%{rpmcflags}" \
48 #       LDFLAGS="%{rpmldflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
53 export GNUSTEP_FLATTENED=yes
54
55 cd GNUstep
56 %{__make} -C GNUstep install \
57         messages=yes \
58         GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %post   -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
66
67 %files
68 %defattr(644,root,root,755)
69 %doc ChangeLog README
70 %attr(755,root,root) %{_libdir}/libRegexKit.so.0.0.1
71
72 %files devel
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_libdir}/libRegexKit.so
75 %dir %{_includedir}/RegexKit
76 %{_includedir}/RegexKit/*.h
This page took 0.064144 seconds and 3 git commands to generate.