]> git.pld-linux.org Git - SPECS.git/blob - movmetaedit.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / movmetaedit.spec
1 # TODO: system libzen
2 Summary:        Embed and edit MOV files metadata
3 Summary(pl.UTF-8):      Osadzanie i modyfikowanie metadanych w plikach MOV
4 Name:           movmetaedit
5 Version:        17.10.1
6 Release:        1
7 License:        MIT
8 Group:          Applications/Multimedia
9 Source0:        https://mediaarea.net/download/source/movmetaedit/%{version}/%{name}_%{version}.tar.xz
10 # Source0-md5:  f18e979052a8e52bc8e350cedf5db4b3
11 URL:            https://mediaarea.net/MOVMetaEdit
12 BuildRequires:  Qt5Gui-devel >= 5
13 BuildRequires:  Qt5Widgets-devel >= 5
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  libtool >= 2:1.5
18 BuildRequires:  pkgconfig
19 BuildRequires:  qt5-build >= 5
20 BuildRequires:  qt5-qmake >= 5
21 BuildRequires:  rpmbuild(macros) >= 1.566
22 BuildRequires:  sed >= 4.0
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  xz
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 MOV MetaEdit is a tool that supports the embedding and editing of
29 metadata in MOV (Apple QuickTime) or MP4 (ISO/IEC 14496-14 a.k.a.
30 MPEG-4 Part 14) files. It is currently focused on Universal Ad ID
31 metadata but could be expanded on request.
32
33 %description -l pl.UTF-8
34 MOV MetaEdit to narzędzie obsługujące osadzanie i modyfikowanie
35 metadanych w plikach MOV (Apple QuickTime) lub MP4 (ISO/IEC 14496-14,
36 znanych także jako MPEG-4 Part 14). Obecnie skupia się na metadanych
37 Universal Ad ID, ale w razie potrzeby może być rozszerzone.
38
39 %package gui
40 Summary:        GUI to embed and edit MOV files metadata
41 Summary(pl.UTF-8):      Graficzny interfejs do osadzania i modyfikowania metadanych w plikach MOV
42 Group:          X11/Applications/Multimedia
43
44 %description gui
45 MOV MetaEdit is a tool that supports the embedding and editing of
46 metadata in MOV (Apple QuickTime) or MP4 (ISO/IEC 14496-14 a.k.a.
47 MPEG-4 Part 14) files. It is currently focused on Universal Ad ID
48 metadata but could be expanded on request.
49
50 %description gui -l pl.UTF-8
51 MOV MetaEdit to narzędzie obsługujące osadzanie i modyfikowanie
52 metadanych w plikach MOV (Apple QuickTime) lub MP4 (ISO/IEC 14496-14,
53 znanych także jako MPEG-4 Part 14). Obecnie skupia się na metadanych
54 Universal Ad ID, ale w razie potrzeby może być rozszerzone.
55
56 %prep
57 %setup -q -n movmetaedit
58 %undos *.html *.txt
59 chmod 644 *.html *.txt
60
61 %build
62 # build CLI
63 cd Project/GNU/CLI
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__automake}
68 %configure
69 %{__make}
70
71 # now build GUI
72 cd ../../../Project/Qt
73 qmake-qt5 \
74         QMAKE_CXX="%{__cxx}" \
75         QMAKE_CXXFLAGS_RELEASE="%{rpmcxxflags}" \
76         QMAKE_LFLAGS_RELEASE="%{rpmldflags}"
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} -C Project/GNU/CLI install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_iconsdir}/hicolor/128x128/apps}
87 install Project/Qt/movmetaedit-gui $RPM_BUILD_ROOT%{_bindir}
88 cp -p Project/Qt/movmetaedit-gui.desktop $RPM_BUILD_ROOT%{_desktopdir}
89 cp -p Source/Resource/Image/Icon.png $RPM_BUILD_ROOT%{_iconsdir}/hicolor/128x128/apps/movmetaedit.png
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc License.html History_CLI.txt LICENSE License.html README.md
97 %attr(755,root,root) %{_bindir}/movmetaedit
98
99 %files gui
100 %defattr(644,root,root,755)
101 %doc License.html History_GUI.txt LICENSE License.html README.md
102 %attr(755,root,root) %{_bindir}/movmetaedit-gui
103 %{_desktopdir}/movmetaedit-gui.desktop
104 %{_iconsdir}/hicolor/128x128/apps/movmetaedit.png
This page took 0.190358 seconds and 3 git commands to generate.