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