]> git.pld-linux.org Git - packages/TalkSoup.git/blob - TalkSoup.spec
- avoid defining default %attr
[packages/TalkSoup.git] / TalkSoup.spec
1 Summary:        IRC for GNUstep
2 Summary(pl):    Program do IRC dla GNUstepa
3 Name:           TalkSoup
4 Version:        0.81
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://www.linuks.mine.nu/andy/files/talksoup/%{name}-%{version}.tar.gz
9 # Source0-md5:  5b0671a5d6ea227ba0ccef495052763e
10 Patch0:         %{name}-initializeWithArguments.patch
11 URL:            http://www.linuks.mine.nu/andy/talksoup/
12 BuildRequires:  gnustep-gui-devel >= 0.8.7
13 Requires:       gnustep-gui >= 0.8.7
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         libcombo        gnu-gnu-gnu
17 %define         gsos            linux-gnu
18 %ifarch %{ix86}
19 %define         gscpu           ix86
20 %else
21 # also s/alpha.*/alpha/, but we use only "alpha" arch for now
22 %define         gscpu           %{_target_cpu}
23 %endif
24 %define         gstriple        %{gscpu}/%{gsos}/%{libcombo}
25 %define         appdir          %{_libdir}/GNUstep/System/Applications/%{name}.app
26 %define         supportdir      %{_libdir}/GNUstep/System/Library/ApplicationSupport/%{name}
27
28 %description
29 TalkSoup is a simple IRC client for GNUstep.
30
31 %description -l pl
32 TalkSoup jest prostym klientem IRC dla GNUstepa.
33
34 %package devel
35 Summary:        Headers and framework for IRC apps
36 Summary(pl):    Pliki nag³ówkowe i struktura dla aplikacji IRC
37 Group:          Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description devel
41 TalkSoup framework and headers for IRC apps.
42
43 %description devel -l pl
44 Struktura i pliki nag³ówkowe TalkSoup dla aplikacji IRC.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49
50 %build
51 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
52 %{__make} \
53         OPTFLAG="%{rpmcflags}" \
54         messages=yes
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 . %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
59
60 %{__make} install \
61         GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_libdir}/GNUstep/System
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README
69 %dir %{appdir}
70 %dir %{supportdir}
71 %attr(755,root,root) %{supportdir}/*/*/%{gstriple}/*
72 %{supportdir}/*/*/Resources/*
73 %attr(755,root,root) %{appdir}/%{name}
74 %dir %{appdir}/Resources
75 %{appdir}/Resources/*.desktop
76 %{appdir}/Resources/*.plist
77 %{appdir}/Resources/English.lproj
78 #%{appdir}/Resources/Scripts
79 %dir %{appdir}/%{gscpu}
80 %dir %{appdir}/%{gscpu}/%{gsos}
81 %dir %{appdir}/%{gscpu}/%{gsos}/%{libcombo}
82 %attr(755,root,root) %{appdir}/%{gstriple}/%{name}
83 %{appdir}/%{gstriple}/*.openapp
84 %attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/%{gstriple}/*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %{_libdir}/GNUstep/System/Library/Headers/*
89 %{_libdir}/GNUstep/System/Library/Frameworks/*
This page took 0.074103 seconds and 3 git commands to generate.