[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/agistudio/FC-6 agistudio.desktop, NONE, 1.1 agistudio.spec, NONE, 1.1 sources, 1.1, 1.2



Author: limb

Update of /cvs/pkgs/rpms/agistudio/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8565

Modified Files:
	sources 
Added Files:
	agistudio.desktop agistudio.spec 
Log Message:
Initial import.



--- NEW FILE agistudio.desktop ---
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=AGIStudio
Comment=Create and edit AGI games
Exec=agistudio
Icon=agistudio.xpm
Terminal=false
Categories=Game;AdventureGame;


--- NEW FILE agistudio.spec ---
Name: agistudio
Version: 1.2.3
Release: 3%{?dist}
Summary: AGI integrated development environment
License: GPL
Group: Amusements/Games
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
URL: http://agistudio.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: qt-devel desktop-file-utils
Requires: hicolor-icon-theme

%description
AGI (Adventure Game Interpreter) is the adventure game engine used by
Sierra On-Line(tm) to create some of their early games. QT AGI Studio
is a program which allows you to view, create and edit AGI games.

%prep

%setup -q

%build
cd src
qmake
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/agistudio
install -m 755 src/agistudio %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/agistudio/template
mkdir -p %{buildroot}%{_datadir}/agistudio/help
install -p -m 0644 help/* %{buildroot}%{_datadir}/agistudio/help
#install -p -Dm 0644 template/* %{buildroot}%{_datadir}/%{name}/template 
cp -pr template/* %{buildroot}%{_datadir}/%{name}/template 

# icon
install -d %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -p -m 0644  src/app_icon.xpm %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm

# desktop file
desktop-file-install --vendor fedora \
        --dir $RPM_BUILD_ROOT%{_datadir}/applications \
        %{SOURCE1}

%post
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

%postun
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING README relnotes help/*
%{_bindir}/agistudio
%{_datadir}/agistudio/
%{_datadir}/applications/fedora-agistudio.desktop
%{_datadir}/icons/hicolor/32x32/apps/agistudio.xpm

%changelog
* Tue May 29 2007 Jon Ciesla <limb jcomserv net> - 1.2.3-3
- Added disttag.

* Thu May 24 2007 Jon Ciesla <limb jcomserv net> - 1.2.3-2
- Preserved timestamps where possible.
- Added help to docs.

* Fri Apr 27 2007 Jon Ciesla <limb jcomserv net> - 1.2.3-1
- Initial packaging very loosely based on .spec provided in upstream tarball.

Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/agistudio/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	29 May 2007 15:43:18 -0000	1.1
+++ sources	29 May 2007 16:47:34 -0000	1.2
@@ -0,0 +1 @@
+b262d55b1285967923598e53fb93fe62  agistudio-1.2.3.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]