]> git.pld-linux.org Git - packages/RegexKit.git/blob - RegexKit.spec
- added
[packages/RegexKit.git] / RegexKit.spec
1 #
2 Summary:        An Objective-C framework for regular expressions
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 %package devel
20 Summary:        Header files for RegexKit library
21 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki RegexKit
22 Group:          Development/Libraries
23 Requires:       %{name} = %{version}-%{release}
24 Requires:       pcre-devel >= 7.6
25
26 %description devel
27 Header files for RegexKit library.
28
29 %description devel -l pl.UTF-8
30 Pliki nagłówkowe biblioteki RegexKit.
31
32 %prep
33 %setup -q -n %{name}_%{version}_source
34 %patch0 -p1
35
36 %build
37 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
38 export GNUSTEP_FLATTENED=yes
39 cd GNUstep
40 %{__make} \
41         messages=yes
42
43 #%{__make} \
44 #       CFLAGS="%{rpmcflags}" \
45 #       LDFLAGS="%{rpmldflags}"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 export GNUSTEP_MAKEFILES=%{_datadir}/GNUstep/Makefiles
50 export GNUSTEP_FLATTENED=yes
51 rm -rf $RPM_BUILD_ROOT
52
53 cd GNUstep
54 %{__make} install \
55         messages=yes \
56         GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %post   -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc ChangeLog README
68 %attr(755,root,root) %{_libdir}/libRegexKit.so.0.0.1
69
70 %files devel
71 %defattr(644,root,root,755)
72 %dir %{_includedir}/RegexKit
73 %{_includedir}/RegexKit/*.h
74 %{_libdir}/libRegexKit.so
This page took 0.093113 seconds and 4 git commands to generate.