Projet

Général

Profil

Révision 5acb71ae

Voir les différences:

debian/changelog
1
ryxeo-webphotoalbum (0.9.9~ryxeo1) lucid; urgency=low
2

  
3
  * Premiere version
4

  
5
 -- Eric Seigne <eric.seigne@ryxeo.com>  Sun, 10 Jun 2012 15:34:11 +0200
debian/control
1
Source: ryxeo-webphotoalbum
2
Section: office
3
Priority: extra
4
Maintainer: Eric Seigne <eric.seigne@ryxeo.com>
5
Build-Depends: cdbs, qt4-qmake, libqt4-dev, libexiv2-dev
6
Standards-Version: 3.8.3
7
Homepage: http://www.ryxeo.com
8

  
9
Package: ryxeo-webphotoalbum
10
Architecture: any
11
Depends: ${shlibs:Depends}, ${misc:Depends}
12
Description: RyXeo WebPhotoAlbum
13
 Un petit outil pour creer des albums photos sur internet
debian/copyright
1
Copyright (C) 2011 Eric Seigne <eric.seigne@ryxeo.com>
2

  
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
6

  
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
GNU General Public License for more details.
11

  
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
15

  
16
see /usr/share/common-licenses/GPL-2 for the complete text of the license.
debian/postinst
1
#!/bin/bash
2

  
3
case $1 in
4
    configure)
5
	xdg-desktop-menu install --novendor /usr/share/applications/ryxeo-webphotoalbum.desktop
6

  
7
	;;
8
    *)
9
	true
10
	;;
11
esac
12

  
13
#DEBHELPER#
debian/prerm
1
#!/bin/bash
2

  
3
xdg-desktop-menu uninstall /usr/share/applications/ryxeo-webphotoalbum.desktop
4

  
5
#DEBHELPER#
debian/rules
1
#!/usr/bin/make -f
2

  
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
include /usr/share/cdbs/1/class/qmake.mk
5

  
6
# Add here any variable or target overrides you need.
7
QMAKE=qmake-qt4
8
CFLAGS=-O3
9
CXXFLAGS=-O3
10
DEST=/usr/share/ryxeo-webphotoalbum
11
EXECDEST=/usr/lib/ryxeo-webphotoalbum
12
BUILDTEMP=$(CURDIR)/debian/ryxeo-webphotoalbum
13

  
14
install/ryxeo-webphotoalbum::
15
	mkdir -p $(BUILDTEMP)/usr/bin/
16
	mkdir -p $(BUILDTEMP)/$(EXECDEST)
17
	mkdir -p $(BUILDTEMP)/$(EXECDEST)/lang
18
	#mkdir -p $(BUILDTEMP)/$(DEST)/conf
19
	#mkdir -p $(BUILDTEMP)/$(DEST)/data
20
	mkdir -p $(BUILDTEMP)/usr/share/applications
21
	cp -a $(BUILDTEMP).wrapper $(BUILDTEMP)/usr/bin/ryxeo-webphotoalbum
22
	cp -a $(CURDIR)/debian/*.desktop $(BUILDTEMP)/usr/share/applications/
23
	cp -a $(CURDIR)/images/ryxeo-webphotoalbum-48.png $(BUILDTEMP)/$(DEST)
24
	#cp -a $(CURDIR)/lang/*.qm $(BUILDTEMP)/$(EXECDEST)/lang
25
	#cp -a $(CURDIR)/data/* $(BUILDTEMP)/$(DEST)/data
26
	cp -a $(CURDIR)/ryxeo-webphotoalbum $(BUILDTEMP)/$(EXECDEST)/
debian/ryxeo-webphotoalbum.desktop
1
[Desktop Entry]
2
Name=RyXeo Web Photo Album
3
Comment=Un outil pour créer des albums photos sur internet
4
Exec=ryxeo-webphotoalbum
5
Icon=/usr/share/ryxeo-webphotoalbum/ryxeo-webphotoalbum-48.png
6
Terminal=false
7
Type=Application
8
Categories=Internet
debian/ryxeo-webphotoalbum.wrapper
1
#!/bin/bash
2
# application launcher
3
APPNAME=ryxeo-webphotoalbum
4
EXENAME=ryxeo-webphotoalbum
5
(
6
    if [ -d /usr/share/${APPNAME} ]; then
7
	cd /usr/share/${APPNAME}
8
    fi
9
    if [ -f /usr/lib/${APPNAME}/libQtCore.so.4 ]; then
10
	export LD_LIBRARY_PATH=/usr/lib/${APPNAME}
11
    fi
12
    exec /usr/lib/${APPNAME}/${EXENAME}
13
)

Formats disponibles : Unified diff

Redmine Appliance - Powered by TurnKey Linux