forked from pool/gtkam
This commit is contained in:
parent
bb8105c8d8
commit
397c0976ca
@ -1,20 +0,0 @@
|
|||||||
--- gexif-0.5/gexif/Makefile.am.xx 2004-04-30 10:31:53.000000000 +0200
|
|
||||||
+++ gexif-0.5/gexif/Makefile.am 2004-04-30 10:32:03.000000000 +0200
|
|
||||||
@@ -1,7 +1,6 @@
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/intl \
|
|
||||||
- -DGTK_DISABLE_DEPRECATED \
|
|
||||||
-DGEXIF_LOCALEDIR="\"$(datadir)/locale\"" \
|
|
||||||
$(GEXIF_CFLAGS)
|
|
||||||
|
|
||||||
--- gexif-0.5/gexif/Makefile.in.xx 2004-04-30 10:31:56.000000000 +0200
|
|
||||||
+++ gexif-0.5/gexif/Makefile.in 2004-04-30 10:32:05.000000000 +0200
|
|
||||||
@@ -163,7 +163,6 @@
|
|
||||||
INCLUDES = \
|
|
||||||
-I$(top_srcdir) \
|
|
||||||
-I$(top_srcdir)/intl \
|
|
||||||
- -DGTK_DISABLE_DEPRECATED \
|
|
||||||
-DGEXIF_LOCALEDIR="\"$(datadir)/locale\"" \
|
|
||||||
$(GEXIF_CFLAGS)
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:39975650e413f6778fe56533f7e53c9ae48eb0a98e167cb3c5fc1b8dbd399432
|
|
||||||
size 326193
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 6 17:44:27 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Spec file cleanup.
|
||||||
|
- Package gexif in a separate package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 12 14:04:13 CET 2007 - meissner@suse.de
|
Fri Jan 12 14:04:13 CET 2007 - meissner@suse.de
|
||||||
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=gtkam
|
|
||||||
Exec=gtkam
|
|
82
gtkam.spec
82
gtkam.spec
@ -11,19 +11,17 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: gtkam
|
Name: gtkam
|
||||||
BuildRequires: docbook-xsl-stylesheets gdk-pixbuf-devel gimp-devel gnutls-devel libexif-gtk libglade2-devel libgnomeprintui-devel libgnomeui-devel libgphoto2-devel libwnck-devel mDNSResponder-devel scrollkeeper sgml-skel update-desktop-files
|
BuildRequires: gimp-devel libexif-gtk libgnomeui-devel libgphoto2-devel update-desktop-files
|
||||||
|
# FIXME: Only for /usr/share/omf directory ownership
|
||||||
|
BuildRequires: scrollkeeper
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Summary: A GTK Digital Camera Tool
|
Summary: A GTK Digital Camera Tool
|
||||||
Version: 0.1.14.0.trunk
|
Version: 0.1.14.0.trunk
|
||||||
Release: 1
|
Release: 2
|
||||||
Source: gtkam-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: gexif-0.5.tar.bz2
|
|
||||||
Source2: %name.desktop
|
|
||||||
Patch0: gexif-0.5-xx.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
URL: http://gphoto.org
|
URL: http://gphoto.org
|
||||||
%define prefix /usr
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GTKam is a GTK and GNOME based tool for accessing a digital camera,
|
GTKam is a GTK and GNOME based tool for accessing a digital camera,
|
||||||
@ -38,68 +36,44 @@ Authors:
|
|||||||
Colin Marquardt <colin@marquardt-home.de>
|
Colin Marquardt <colin@marquardt-home.de>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1
|
%setup -q
|
||||||
%patch0 -p0
|
|
||||||
%{?suse_update_config:%{suse_update_config}}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --libdir=%{prefix}/%{_lib} --mandir=%{prefix}/share/man
|
%configure
|
||||||
# cd po ; make -f Makefile.in Makefile top_builddir=../ ; cd ..
|
make %{?jobs:-j%jobs}
|
||||||
make top_builddir=`pwd`
|
|
||||||
cd gexif-*
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
|
|
||||||
make
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
%makeinstall
|
||||||
mkdir -p $RPM_BUILD_ROOT%{prefix}
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
cd gexif-*
|
|
||||||
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
||||||
cd ..
|
|
||||||
# cleanup
|
# cleanup
|
||||||
rm -rf $RPM_BUILD_ROOT%{prefix}/share/doc/gtkam
|
rm -r $RPM_BUILD_ROOT%{_datadir}/doc/gtkam
|
||||||
gzip -9nf $RPM_BUILD_ROOT%{prefix}/share/man/man?/*.?
|
|
||||||
%find_lang %name
|
|
||||||
%find_lang gexif
|
|
||||||
cat gexif.lang >> %{name}.lang
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%prefix/share/applications/
|
|
||||||
install -m 0644 %SOURCE2 \
|
|
||||||
$RPM_BUILD_ROOT/%prefix/share/applications/
|
|
||||||
%if %suse_version > 1000
|
%if %suse_version > 1000
|
||||||
%suse_update_desktop_file %name Graphics Photography
|
%suse_update_desktop_file %{name} Graphics Photography
|
||||||
%else
|
%else
|
||||||
%suse_update_desktop_file %name Graphics Photograph
|
%suse_update_desktop_file %{name} Graphics Photograph
|
||||||
%endif
|
%endif
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT;
|
rm -rf $RPM_BUILD_ROOT;
|
||||||
|
|
||||||
%post
|
%files -f %{name}.lang
|
||||||
touch var/adm/SuSEconfig/run-scrollkeeper-update
|
|
||||||
|
|
||||||
%postun
|
|
||||||
touch var/adm/SuSEconfig/run-scrollkeeper-update
|
|
||||||
|
|
||||||
%files -f %name.lang
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS README COPYING ChangeLog
|
%doc AUTHORS ChangeLog CHANGES COPYING NEWS README TODO
|
||||||
%attr(755,root,root) %{prefix}/bin/gtkam
|
%{_bindir}/gtkam
|
||||||
%attr(755,root,root) %{prefix}/bin/gexif
|
%{_datadir}/applications/*.desktop
|
||||||
%doc %{prefix}/share/man/man1/*
|
%{_datadir}/gtkam
|
||||||
%{prefix}/share/gtkam
|
# FIXME: There is no generic %{_datadir}/images. Better would be %{_datadir}/pixmaps (upstream problem).
|
||||||
%{prefix}/share/applications/%name.desktop
|
%dir %{_datadir}/images
|
||||||
%{prefix}/share/pixmaps/gtkam.png
|
%{_datadir}/images/gtkam
|
||||||
%{prefix}/share/omf/gtkam
|
%{_datadir}/omf/gtkam
|
||||||
%dir %{prefix}/share/images
|
%{_datadir}/pixmaps/gtkam.png
|
||||||
%{prefix}/share/images/gtkam
|
%{_libdir}/gimp/2.0/plug-ins/gtkam-gimp
|
||||||
%dir %{prefix}/%_lib/gimp/
|
%doc %{_mandir}/man1/*.*
|
||||||
%dir %{prefix}/%_lib/gimp/2.0
|
|
||||||
%dir %{prefix}/%_lib/gimp/2.0/plug-ins
|
|
||||||
%{prefix}/%_lib/gimp/2.0/plug-ins/gtkam-gimp
|
|
||||||
|
|
||||||
%changelog -n gtkam
|
%changelog -n gtkam
|
||||||
|
* Tue Feb 06 2007 - sbrabec@suse.cz
|
||||||
|
- Spec file cleanup.
|
||||||
|
- Package gexif in a separate package.
|
||||||
* Fri Jan 12 2007 - meissner@suse.de
|
* Fri Jan 12 2007 - meissner@suse.de
|
||||||
- upgraded to 0.1.14.0.trunk
|
- upgraded to 0.1.14.0.trunk
|
||||||
- some capture fixes
|
- some capture fixes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user