]> git.pld-linux.org Git - SPECS.git/blob - gourmet.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / gourmet.spec
1 Summary:        Gourmet Recipe Manager is a simple but powerful recipe-managing application
2 Summary(hu.UTF-8):      Gourmet Recipe Manager egy egyszerű, de hatékony recept-nyilvántartó alkalmazás
3 Name:           gourmet
4 Version:        0.15.9
5 Release:        4
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://downloads.sourceforge.net/grecipe-manager/%{name}-%{version}.tar.gz
9 # Source0-md5:  7bef5569fb4523747973d83ab69a9a79
10 URL:            http://grecipe-manager.sourceforge.net/
11 BuildRequires:  intltool
12 BuildRequires:  libglade2-devel
13 BuildRequires:  python-PIL-devel
14 BuildRequires:  python-ReportLab
15 BuildRequires:  python-gnome-desktop-print
16 BuildRequires:  python-pygtk-devel
17 BuildRequires:  python-sqlite
18 BuildRequires:  rpm-pythonprov
19 Requires:       python-%{name} = %{version}-%{release}
20 Requires:       python-sqlite
21 Suggests:       python-gnome-extras-gtkspell
22 #Suggests:      python-poppler
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Gourmet Recipe Manager is a simple but powerful recipe-managing
28 application. Gourmet allows you to collect, search and organize your
29 recipes, and to automatically generate shopping lists from your
30 collection.
31
32 %description -l hu.UTF-8
33 Gourmet Recipe Manager egy egyszerű, de hatékony recept-nyilvántartó
34 alkalmazás. A Gourmet-tal össze tudod gyűjteni, keresni és
35 rendszerezni a receptjeidet és automatikusan elkészíteni a
36 bevásárlólistát a gyűjteményed alapján.
37
38 %package -n python-%{name}
39 Summary:        Gourmet Python modules
40 Summary(hu.UTF-8):      Gourmet Python modulok
41 Summary(pl.UTF-8):      Moduły Pythona Gourmet
42 Group:          Development/Languages/Python
43 Requires:       python-ReportLab
44 Requires:       python-sqlalchemy-migrate
45 %pyrequires_eq  python-modules
46
47 %description -n python-%{name}
48 This package provides Gourmet Recipe Manager Python modules.
49
50 %description -n python-%{name} -l hu.UTF-8
51 Ez a csomag tartalmazza a Gourmet Recipe Manager Python moduljait.
52
53 %description -n python-%{name} -l pl.UTF-8
54 Moduły Pythona z Gourmet Recipe Manager.
55
56 %prep
57 %setup -q
58
59 %build
60 cd i18n
61 mv nl_NL.po nl.po
62 mv pt_PT.po pt.po
63 mv zh.po zh_CN.po
64 rm de.po
65 rm sv.po
66 rm sv_SE.po
67 for file in *.po; do
68         lang=$(echo $file | cut -f 1 -d .)
69         mkdir -p $lang/LC_MESSAGES
70         msgfmt -o $lang/LC_MESSAGES/gourmet.mo $file
71 done
72 cd ..
73 %py_build
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %py_install
79 %py_postclean
80
81 mv $RPM_BUILD_ROOT%{_localedir}/{sv_SE,sv}
82 mv $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
83
84 # what is the other Spanish?
85 rm -r $RPM_BUILD_ROOT%{_localedir}/es_ES
86 %find_lang %{name}
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc CHANGES FAQ README TODO
94 %attr(755,root,root) %{_bindir}/gourmet
95 %{_desktopdir}/%{name}.desktop
96 %{_pixmapsdir}/recbox.png
97 %dir %{_datadir}/%{name}
98 %{_datadir}/%{name}/*
99
100 %files -n python-%{name}
101 %defattr(644,root,root,755)
102 %{py_sitescriptdir}/%{name}
103 %{py_sitescriptdir}/%{name}-%{version}*.egg-info
This page took 0.938183 seconds and 3 git commands to generate.