]> git.pld-linux.org Git - packages/GiGi.git/blame - GiGi.spec
- updated file location,
[packages/GiGi.git] / GiGi.spec
CommitLineData
ffb5ddb6 1#
2
3Summary: GiGi
4Summary(pl.UTF-8): GiGi
5Name: GG
6Version: 0.6.0
7Release: 0.1
8License: GPL
9Group: Applications
b1326fee 10Source0: http://downloads.sourceforge.net/gigi/%{name}-%{version}.tgz
11# Source0-md5: e100bad1c0713b3167a4fdc1cb8898c9
ffb5ddb6 12Patch0: gg-boots-include-location-fix.patch
13URL: -
14BuildRequires: scons
15BuildRequires: boost-devel >= 1.32
16BuildRequires: boost-signals >= 1.32
17BuildRequires: boost-filesystem >= 1.32
18BuildRequires: freetype-devel
19BuildRequires: DevIL-devel >= 1.6.1
20BuildRequires: SDL-devel >= 1.2.7
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24
25%description -l pl.UTF-8
26
27%package libs
28Summary: -
29Summary(pl.UTF-8): -
30Group: Libraries
31
32%description libs
33
34%description libs -l pl.UTF-8
35
36%package devel
37Summary: Header files for ... library
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ...
39Group: Development/Libraries
40# if base package contains shared library for which these headers are
41#Requires: %{name} = %{version}-%{release}
42# if -libs package contains shared library for which these headers are
43#Requires: %{name}-libs = %{version}-%{release}
44
45%description devel
46Header files for ... library.
47
48%description devel -l pl.UTF-8
49Pliki nagłówkowe biblioteki ....
50
51%package static
52Summary: Static ... library
53Summary(pl.UTF-8): Statyczna biblioteka ...
54Group: Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58Static ... library.
59
60%description static -l pl.UTF-8
61Statyczna biblioteka ....
62
63%prep
64%setup -q -n %{name}
65%patch0
66
67%build
68scons
69
70%install
71rm -rf $RPM_BUILD_ROOT
72# create directories if necessary
73#install -d $RPM_BUILD_ROOT
74#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
75
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT
78
79%clean
80rm -rf $RPM_BUILD_ROOT
81
82%pre
83%groupadd -g xxx %{name}
84%useradd -u xxx -d /var/lib/%{name} -g %{name} -c "XXX User" %{name}
85
86%post
87
88%preun
89
90%postun
91if [ "$1" = "0" ]; then
92 %userremove %{name}
93 %groupremove %{name}
94fi
95
96%if %{with ldconfig}
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99%endif
100
101%if %{with initscript}
102%post init
103/sbin/chkconfig --add %{name}
104%service %{name} restart
105
106%preun init
107if [ "$1" = "0" ]; then
108 %service -q %{name} stop
109 /sbin/chkconfig --del %{name}
110fi
111%endif
112
113%files
114%defattr(644,root,root,755)
115%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
116
117%if 0
118# if _sysconfdir != /etc:
119#%%dir %{_sysconfdir}
120%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
121%attr(755,root,root) %{_bindir}/*
122%{_datadir}/%{name}
123%endif
124
125# initscript and its config
126%if %{with initscript}
127%attr(754,root,root) /etc/rc.d/init.d/%{name}
128%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
129%endif
130
131#%{_examplesdir}/%{name}-%{version}
132
133%if %{with subpackage}
134%files subpackage
135%defattr(644,root,root,755)
136#%doc extras/*.gz
137#%{_datadir}/%{name}-ext
138%endif
This page took 0.180072 seconds and 4 git commands to generate.