source: projects/specs/trunk/e/edgar/edgar-vl.spec @ 7533

Revision 7533, 2.8 KB checked in by munepi, 11 years ago (diff)

added edgar-vl.spec

Line 
1%define pkgrel 1
2
3%define with_my_japo 0
4
5Summary:        The Legend of Edgar - 2D Platform Game
6Name:           edgar
7Version:        1.07
8Release:        1%{?_dist_release}
9Source:         %{name}-%{version}-%{pkgrel}.tar.gz
10
11## vine
12%if %{with_my_japo}
13Source100:      edgar-0.46-ja.po
14%endif
15
16Patch:          edgar-0.93-build-failure.patch
17
18URL:            http://www.parallelrealities.co.uk/projects/edgar.php
19Group:          Applications/Games
20License:        GPLv2
21
22BuildRequires:  SDL-devel
23BuildRequires:  SDL_image-devel
24BuildRequires:  SDL_mixer-devel
25BuildRequires:  SDL_ttf-devel
26BuildRequires:  zlib-devel
27
28BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
29Packager:       munepi
30
31%description
32The Legend of Edgar. When his father fails to return home after venturing
33out one stormy night, Edgar sets off on a quest to rescue him.
34
35%prep
36[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
37
38%setup -q
39#%patch -p1 -b .vine
40
41%if %{with_my_japo}
42## vine
43%__install -m644 %{SOURCE100} locale/ja.po
44%endif
45
46
47%build
48%__make BIN_DIR=%{_bindir}
49
50%install
51[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
52
53%__make install \
54    DESTDIR=%{buildroot} \
55    BIN_DIR=%{buildroot}%{_bindir}/
56
57## remove unpackaged files
58%__rm -rf %{buildroot}%{_datadir}/doc
59
60%find_lang %{name}
61
62%clean
63[ -d "%{buildroot}" -a "%{buildroot}" != "" ] && %__rm -rf "%{buildroot}"
64
65
66%files -f %{name}.lang
67%defattr(-,root,root,-)
68%doc doc/*
69%dir %{_datadir}/games/edgar
70%{_bindir}/edgar
71%{_datadir}/applications/edgar.desktop
72%{_datadir}/games/edgar/edgar.pak
73%{_datadir}/icons/hicolor/*/apps/edgar.png
74
75%changelog
76* Sun Mar 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.07-1
77- new upstream release
78
79* Sun Feb 10 2013 Munehiro Yamamoto <munepi@vinelinux.org> 1.06.2
80- new upstream release
81
82* Sun Jun 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 1.02-1
83- new upstream release
84
85* Sun Apr 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.99-1
86- new upstream release
87
88* Thu Mar 22 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.98-1
89- new upstream release
90
91* Sat Mar  3 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.97-1
92- new upstream release
93
94* Sat Jan 21 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.96-1
95- new upstream release
96- dropped BuildRequires: SDL_net-devel
97
98* Wed Nov 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.93-1
99- new upstream release
100- applied edgar-0.93-build-failure.patch
101
102* Thu Jul 21 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.92-1
103- new upstream release
104
105* Fri Jun 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.87-1
106- new upstream release
107
108* Tue Mar 29 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.80-1
109- new upstream release
110
111* Mon Jan 03 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.73-1
112- new upstream release
113
114* Sat Oct 02 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.71-1
115- new upstream release
116
117* Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.46-1
118- initial build
Note: See TracBrowser for help on using the repository browser.