]> git.pld-linux.org Git - projects/template-specs.git/blame_incremental - desktop.spec
dokuwiki-plugin.spec: Fix packaging languages with rpm 4.12
[projects/template-specs.git] / desktop.spec
... / ...
CommitLineData
1Summary: -
2Name: -
3Version: -
4Release: -
5License: LGPL (GPL/GPL v2/GPL v2+... choose one)
6Group: X11/Applications
7Source0: -
8# Source0-md5: -
9#Patch0:
10#URL: http://
11BuildRequires: rpmbuild(macros) >= 1.596
12Requires: desktop-file-utils
13Requires: gtk-update-icon-cache
14Requires: hicolor-icon-theme
15Requires: shared-mime-info
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19
20%prep
21%setup -q
22#%patch0 -p1
23
24%build
25%configure
26%{__make}
27
28%install
29rm -rf $RPM_BUILD_ROOT
30
31%{__make} install \
32 DESTDIR=$RPM_BUILD_ROOT
33
34%find_lang %{name}.lang
35
36desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%post
42%update_desktop_database
43%update_icon_cache hicolor
44%update_mime_database
45
46# Compile GSettings schemas
47# requires: glib2 >= 1:2.26.0
48%glib_compile_schemas
49
50%postun
51%update_desktop_database
52%update_icon_cache hicolor
53%update_mime_database
54
55# Compile GSettings schemas
56# requires: glib2 >= 1:2.26.0
57%glib_compile_schemas
58
59%files -f %{name}.lang
60%defattr(644,root,root,755)
61%doc AUTHORS ChangeLog NEWS README TODO
62%attr(755,root,root) %{_bindir}/%{name}
63%{_datadir}/%{name}
64%{_desktopdir}/%{name}.desktop
65%{_pixmapsdir}/%{name}.*
66%{_mandir}/man1/%{name}.1*
This page took 0.047974 seconds and 5 git commands to generate.