]>
Commit | Line | Data |
---|---|---|
c8ccc9a4 CM |
1 | # TODO: |
2 | # - Add unpackaged man files? | |
3 | # | |
765e72d9 | 4 | Summary: A couple of command line utilities for working with desktop entries |
2c6071c7 | 5 | Summary(pl.UTF-8): Kilka narzędzi do pracy z elementami biurkowymi |
765e72d9 | 6 | Name: desktop-file-utils |
c8ccc9a4 | 7 | Version: 0.17 |
73787816 MB |
8 | Release: 1 |
9 | License: GPL v2+ | |
765e72d9 | 10 | Group: Applications |
c085a898 | 11 | Source0: http://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.bz2 |
c8ccc9a4 | 12 | # Source0-md5: 758fa842643d2e592d2fccba6e69a991 |
f7d742d5 | 13 | URL: http://www.freedesktop.org/wiki/Software/desktop-file-utils |
418b0ad5 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
e90f4e1b | 16 | BuildRequires: glib2-devel >= 1:2.8.0 |
418b0ad5 | 17 | BuildRequires: libtool |
e576cb68 | 18 | BuildRequires: pkgconfig |
765e72d9 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | desktop-file-utils contains a couple of command line utilities for | |
23 | working with desktop entries. | |
24 | ||
437866bb JR |
25 | %description -l pl.UTF-8 |
26 | desktop-file-utils zawiera kilka narzędzi uruchamianych z linii | |
27 | poleceń, służących do pracy z elementami biurkowymi. | |
765e72d9 | 28 | |
29 | %prep | |
5d9b2ef0 | 30 | %setup -q |
765e72d9 | 31 | |
32 | %build | |
bcbce630 MK |
33 | %{__libtoolize} |
34 | %{__aclocal} | |
bcbce630 | 35 | %{__automake} |
73787816 | 36 | %{__autoheader} |
bcbce630 | 37 | %{__autoconf} |
93a5ae29 JB |
38 | %configure \ |
39 | --disable-static | |
765e72d9 | 40 | %{__make} |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
73787816 | 44 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
765e72d9 | 45 | |
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
f7d742d5 ER |
49 | touch $RPM_BUILD_ROOT%{_desktopdir}/mimeinfo.cache |
50 | ||
765e72d9 | 51 | %clean |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
56 | %doc AUTHORS ChangeLog README | |
73787816 MB |
57 | %attr(755,root,root) %{_bindir}/desktop-file-install |
58 | %attr(755,root,root) %{_bindir}/desktop-file-validate | |
59 | %attr(755,root,root) %{_bindir}/update-desktop-database | |
f7d742d5 | 60 | %ghost %{_desktopdir}/mimeinfo.cache |