Projects
Multimedia
nordlicht
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 23
View file
nordlicht.spec
Changed
@@ -1,5 +1,3 @@ -%define soname 0 - Name: nordlicht Version: 0.4.5 Release: 0 @@ -8,6 +6,8 @@ Url: https://nordlicht.github.io Group: Productivity/Multimedia/Editors and Convertors Source0: %{name}-%{version}.tar.xz +Obsoletes: libnordlicht0 < %{version}-%{release} +Obsoletes: libnordlicht0-debuginfo < %{version}-%{release} BuildRequires: cmake BuildRequires: help2man @@ -18,7 +18,6 @@ BuildRequires: pkgconfig(libswscale) BuildRequires: popt-devel -Requires: lib%{name}%{soname} = %{version}-%{release} ExclusiveArch: %ix86 x86_64 %description @@ -31,21 +30,9 @@ This package provides a command line tool, which you can use to generate your own barcodes easily. -%package -n lib%{name}%{soname} -Summary: Creates colorful barcodes from video files -Group: System/Libraries - -%description -n lib%{name}%{soname} -C library for converting video files into colorful -barcodes. It is inspired by the Moviebarcode Tumblr, but -aims at the next logical step: Integrating these barcodes -into video players to make navigation faster and more -precise. - %package devel Summary: Development files for nordlicht Group: Development/Libraries/C and C++ -Requires: lib%{name}%{soname} = %{version}-%{release} %description devel This package contains all necessary include files and @@ -56,26 +43,25 @@ %setup -q %build +sed -i~ ' +s@-static@@ +' CMakeLists.txt +diff -u "$_"~ "$_" && exit 1 CFLAGS='%{optflags} -Wno-deprecated-declarations' -%cmake +%cmake \ + -DBUILD_SHARED_LIBS=OFF \ + %{nil} %cmake_build %install %cmake_install -%post -n lib%{name}%{soname} -p /sbin/ldconfig -%postun -n lib%{name}%{soname} -p /sbin/ldconfig - %files %{_mandir}/man1/%{name}.1%{ext_man} %{_bindir}/%{name} -%files -n lib%{name}%{soname} -%{_libdir}/lib%{name}.so.%{version} - %files devel -%{_libdir}/lib%{name}.so -%{_libdir}/lib%{name}.so.%{soname} +%{_libdir}/lib%{name}.a %{_libdir}/pkgconfig/%{name}.pc %{_includedir}/%{name}.h
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.