Changes of Revision 49

obs-studio.changes Changed
x
 
1
@@ -1,4 +1,13 @@
2
 -------------------------------------------------------------------
3
+Sun Oct  8 14:08:31 UTC 2017 - hillwood@opensuse.org
4
+
5
+- Use %suse_update_desktop_file.
6
+- Fix wrong Group tag.
7
+- Update %post and %postun.
8
+- Use URL in Source tag.
9
+- Remove %clean tag, it's not necessary now.
10
+
11
+-------------------------------------------------------------------
12
 Fri Aug 11 18:43:29 UTC 2017 - jimmy@boombatower.com
13
 
14
 - Update to version 20.0.1:
15
obs-studio.spec Changed
64
 
1
@@ -2,13 +2,12 @@
2
 Version:        20.0.1
3
 Release:        0
4
 Summary:        A recording/broadcasting program
5
-
6
-Group:          Multimedia
7
+Group:          Productivity/Multimedia/Video/Editors and Convertors
8
 License:        GPL-2.0
9
 URL:            https://obsproject.com/
10
-Source:         %{name}-%{version}.tar.xz
11
+Source:         https://github.com/jp9000/obs-studio/archive/%{version}/%{name}-%{version}.tar.gz
12
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
13
-
14
+BuildRequires:  update-desktop-files
15
 BuildRequires:  cmake >= 2.8.12
16
 BuildRequires:  fontconfig-devel
17
 BuildRequires:  freetype2-devel
18
@@ -60,8 +59,7 @@
19
   ..
20
 
21
 %install
22
-cd build
23
-%make_install
24
+%cmake_install
25
 
26
 # fix lib package locations which are inconsistent since they are 64bit libs, but placed in lib/
27
 %ifarch x86_64
28
@@ -71,17 +69,21 @@
29
 mv %{buildroot}/usr/lib/libobs*.so* %{buildroot}%{_libdir}
30
 %endif
31
 
32
-%post   -n %{name} -p /sbin/ldconfig
33
-%postun -n %{name} -p /sbin/ldconfig
34
+%suse_update_desktop_file obs
35
+
36
+%post
37
+/sbin/ldconfig
38
+%icon_theme_cache_postun
39
 
40
-%clean
41
-rm -rf %{buildroot}
42
+%postun
43
+/sbin/ldconfig
44
+%icon_theme_cache_postun
45
 
46
 %files
47
 %defattr(-, root, root)
48
 %{_bindir}/obs
49
 # needs obs-plugins in lib/ even though 64bit
50
-%{_usr}/lib/obs-plugins
51
+%{_libexecdir}/obs-plugins
52
 %{_libdir}/libobs.so.0
53
 %{_libdir}/libobs-frontend-api.so.*
54
 %{_libdir}/libobs-opengl.so.*
55
@@ -92,7 +94,7 @@
56
 
57
 %files devel
58
 %defattr(-, root, root)
59
-%{_usr}/lib/cmake
60
+%{_libexecdir}/cmake
61
 %{_libdir}/libobs.so
62
 %{_libdir}/libobs-frontend-api.so
63
 %{_libdir}/libobs-opengl.so
64
_service Deleted
16
 
1
@@ -1,14 +0,0 @@
2
-<services>
3
-  <service name="tar_scm" mode="disabled">
4
-    <param name="versionformat">@PARENT_TAG@</param>
5
-    <param name="revision">refs/tags/20.0.1</param>
6
-    <param name="url">git://github.com/jp9000/obs-studio.git</param>
7
-    <param name="scm">git</param>
8
-    <param name="changesgenerate">enable</param>
9
-  </service>
10
-  <service name="recompress" mode="disabled">
11
-    <param name="compression">xz</param>
12
-    <param name="file">*.tar</param>
13
-  </service>
14
-  <service name="set_version" mode="disabled"/>
15
-</services>
16
_servicedata Deleted
8
 
1
@@ -1,6 +0,0 @@
2
-<servicedata>
3
-  <service name="tar_scm">
4
-    <param name="url">git://github.com/jp9000/obs-studio.git</param>
5
-    <param name="changesrevision">d3c163b77510359f4b2b6fb31a201141ea726c30</param>
6
-  </service>
7
-</servicedata>
8
obs-studio-20.0.1.tar.xz -> obs-studio-20.0.1.tar.gz Changed