summaryrefslogtreecommitdiffstats
path: root/niepce.spec
blob: 97db25b7e66219b409ac73254e47061180316837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Name:		niepce
Version:	0.0.1
Release:	1%{?dist}
Summary:	FIXME

Group:		Applications/Multimedia
License:	GPLv3+ and GPLv2+
# News also on http://www.figuiere.net/hub/blog/?Niepce-digital
URL:		http://live.gnome.org/Niepce
Source0:	%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	gettext

BuildRequires:	glibmm24-devel >= 2.18.1
BuildRequires:	boost-devel >= 1.33.1
BuildRequires:	gtkmm24-devel >= 2.10.0
BuildRequires:	libglademm24-devel >= 2.6.0
BuildRequires:	GConf2-devel >= 2.0.0
BuildRequires:	sqlite-devel >= 3.0
BuildRequires:	gnome-vfs2-devel >= 2.12
BuildRequires:	exempi-devel >= 2.0.0
BuildRequires:	libxml2-devel >= 2.5.0
BuildRequires:	babl-devel
BuildRequires:	libopenraw-gnome-devel >= 0.0.5
BuildRequires:	gegl-devel >= 0.0.22
BuildRequires:	geglmm-devel >= 0.0.22
BuildRequires:	goocanvasmm-devel >= 0.6.0

%description
FIXME


%prep
%setup -q


%build
%configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog NEWS README
%{_bindir}/niepce
%{_datadir}/%{name}/glade/importdialog.glade
%{_datadir}/%{name}/glade/preferences.glade
%{_datadir}/%{name}/pixmaps/niepce-img-fmt.png
%{_datadir}/%{name}/pixmaps/niepce-jpg-fmt.png
%{_datadir}/%{name}/pixmaps/niepce-png-fmt.png
%{_datadir}/%{name}/pixmaps/niepce-raw-fmt.png
%{_datadir}/%{name}/pixmaps/niepce-rawjpeg-fmt.png
%{_datadir}/%{name}/pixmaps/niepce-rotate-left.png
%{_datadir}/%{name}/pixmaps/niepce-rotate-right.png
%{_datadir}/%{name}/pixmaps/niepce-set-star.png
%{_datadir}/%{name}/pixmaps/niepce-tiff-fmt.png
%{_datadir}/%{name}/pixmaps/niepce-unknown-fmt.png
%{_datadir}/%{name}/pixmaps/niepce-unset-star.png
%{_datadir}/%{name}/pixmaps/niepce-video-fmt.png
%{_datadir}/%{name}/themes/niepce-dark.gtkrc


%changelog
* Thu Feb 12 2009 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.0.1-1
- Initial package